AliPhysics  41af4b0 (41af4b0)
AliEMCalTriggerExtraCuts.h
Go to the documentation of this file.
1 
11 #ifndef ALIEMCALTRIGGEREXTRACUTS_H
12 #define ALIEMCALTRIGGEREXTRACUTS_H
13 /* Copyright(c) 1998-2015, ALICE Experiment at CERN, All rights reserved. *
14  * See cxx source for full Copyright notice */
15 
16 #include <TBits.h>
17 #include "AliVCuts.h"
18 
19 class AliVTrack;
20 
21 namespace EMCalTriggerPtAnalysis {
22 
33 class AliEMCalTriggerExtraCuts: public AliVCuts {
34 public:
37 
42  void SetMinTPCCrossedRows(Int_t crossedRows){
43  fMinCrossedRowsTPC = crossedRows;
44  fRequestBitmap.SetBitNumber(kTPCCrossedRows);
45  }
46 
52  fRequestBitmap.SetBitNumber(kTPCTrackLength);
53  }
54 
55  virtual Bool_t IsSelected(TObject *o);
56 
57 protected:
62  enum CutType_t{
65  };
66 
67  Float_t GetTPCCrossedRows(const AliVTrack *const trk) const;
68  Double_t CalculateTPCTrackLength(AliVTrack *trk) const;
71 
73  ClassDef(AliEMCalTriggerExtraCuts, 1);
75 };
76 
77 } /* namespace EMCalTriggerPtAnalysis */
78 
79 #endif /* PWGJE_EMCALJETTASKS_TRACKS_ALIEMCALTRIGGEREXTRACUTS_H_ */
Int_t fMinCrossedRowsTPC
Min. number of crossed rows in the TPC.
double Double_t
Definition: External.C:58
Float_t GetTPCCrossedRows(const AliVTrack *const trk) const
Extra track selection cuts for the high- track analysis.
int Int_t
Definition: External.C:63
float Float_t
Definition: External.C:68
Analysis of high- tracks in triggered events.
CutType_t
Bit definition for different track selection bits.
bool Bool_t
Definition: External.C:53