]>
Commit | Line | Data |
---|---|---|
56c41dea | 1 | // Example macro to select TRD tracks |
2 | // The macro selects for displaying only the tracks | |
3 | // with less than 60 clusters | |
4 | // | |
5 | // Authors: | |
6 | // B.Hess <Hess@Stud.Uni-Heidelberg.de> | |
7 | // A.Bercuci <A.Bercuci@gsi.de> | |
8 | // | |
aa2bafcc | 9 | |
b2bb5db0 | 10 | #if !defined(__CINT__) || defined(__MAKECINT__) |
11 | #include <TRD/AliTRDtrackV1.h> | |
aa2bafcc | 12 | #endif |
13 | ||
b2bb5db0 | 14 | Bool_t clusterSelection(const AliTRDtrackV1 *track) |
56c41dea | 15 | { |
aa2bafcc | 16 | if(!track) return kFALSE; |
56c41dea | 17 | if (track->GetNumberOfClusters() > 60) return kFALSE; |
18 | return kTRUE; | |
19 | } |