AliPhysics  vAN-20150425 (2dcf1b0)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
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 
28 namespace EMCalTriggerPtAnalysis {
29 
40 class AliEMCalTriggerExtraCuts: public AliVCuts {
41 public:
44 
49  void SetMinTPCCrossedRows(Int_t crossedRows){
50  fMinCrossedRowsTPC = crossedRows;
51  fRequestBitmap.SetBitNumber(kTPCCrossedRows);
52  }
53 
59  fRequestBitmap.SetBitNumber(kTPCTrackLength);
60  }
61 
62  virtual Bool_t IsSelected(TObject *o);
63 
64 protected:
69  enum CutType_t{
72  };
73 
74  Float_t GetTPCCrossedRows(const AliVTrack *const trk) const;
75  Double_t CalculateTPCTrackLength(AliVTrack *trk) const;
78 
80  ClassDef(AliEMCalTriggerExtraCuts, 1);
82 };
83 
84 } /* namespace EMCalTriggerPtAnalysis */
85 
86 #endif /* PWGJE_EMCALJETTASKS_TRACKS_ALIEMCALTRIGGEREXTRACUTS_H_ */
Int_t fMinCrossedRowsTPC
Min. number of crossed rows in the TPC.
Float_t GetTPCCrossedRows(const AliVTrack *const trk) const
Extra track selection cuts for the high- track analysis.
CutType_t
Bit definition for different track selection bits.