Parent Directory | Revision Log
Merged from branch V8 (tag MergedToHEAD_1). Tag before the merge: BeforeMergingFromV8_1.
1 | pam-fi | 1.2 | /* |
2 | * TrkYSensCut.cpp | ||
3 | * | ||
4 | * Created on: 09-apr-2010 | ||
5 | * Author: S. Ricciarini | ||
6 | */ | ||
7 | |||
8 | /*! @file TrkYSensCut.cpp The TrkYSensCut class implementation file */ | ||
9 | |||
10 | #include "TrkYSensCut.h" | ||
11 | |||
12 | int TrkYSensCut::Check(PamLevel2 *event) { | ||
13 | |||
14 | TrkTrack *trkTrack = event->GetTrack(0)->GetTrkTrack(); | ||
15 | |||
16 | for (Int_t ip=0; ip<6; ip++) { | ||
17 | |||
18 | // cout << "iplane " << ip << " sensorId " << trkTrack->GetSensor(ip) << endl; | ||
19 | |||
20 | if ( ! (trkTrack->GetSensor(ip)==_sensorId) ) { | ||
21 | // cout << "KO!!" << endl; | ||
22 | return 0; | ||
23 | } | ||
24 | |||
25 | // cout << "OK" << endl; | ||
26 | |||
27 | } | ||
28 | |||
29 | return CUTOK; | ||
30 | } |
ViewVC Help | |
Powered by ViewVC 1.1.23 |