AliPhysics  c7b8e89 (c7b8e89)
AliFilteredTreeEventCuts Class Reference

#include <AliFilteredTreeEventCuts.h>

Inheritance diagram for AliFilteredTreeEventCuts:

Public Types

enum  AnalysisMode {
  kInvalid = -1, kSPD = 0x1, kTPC = 0x2, kTPCITS = 0x4,
  kFieldOn = 0x8, kSPDOnlyL0 = 0x10, kTPCSPD = 0x20
}
 
enum  MCProcessType {
  kInvalidProcess = -1, kND = 0x1, kDD = 0x2, kSD = 0x4,
  kOnePart = 0x8
}
 
enum  DiffTreatment { kMCFlags = 0, kUA5Cuts = 1, kE710Cuts, kALICEHadronLevel }
 

Public Member Functions

 AliFilteredTreeEventCuts (const Char_t *name="AliFilteredTreeEventCuts", const Char_t *title="")
 
virtual ~AliFilteredTreeEventCuts ()
 
void SetTriggerRequired (Bool_t bFlag=kTRUE)
 
void SetRecVertexRequired (Bool_t bFlag=kTRUE)
 
void SetEventProcessType (MCProcessType type=kInvalidProcess)
 
void SetNContributorsRange (Float_t min=0., Float_t max=1e99)
 
void SetMaxR (Float_t max=1e99)
 
void SetZvRange (Float_t min=-1e99, Float_t max=1e99)
 
void SetMeanXYZv (Float_t xv=0.0, Float_t yv=0.0, Float_t zv=0.0)
 
void SetSigmaMeanXYZv (Float_t sxv=1.0, Float_t syv=1.0, Float_t szv=10.0)
 
void SetRedoTPCVertex (Bool_t redo=kTRUE)
 
void SetUseBeamSpotConstraint (Bool_t useConstr=kTRUE)
 
void SetEventSelectedRequired (Bool_t evtSel=kTRUE)
 
Bool_t IsEventSelectedRequired () const
 
Bool_t IsTriggerRequired () const
 
Bool_t IsRecVertexRequired () const
 
Int_t GetEventProcessType () const
 
Float_t GetMinNContributors () const
 
Float_t GetMaxNContributors () const
 
Float_t GetMaxR () const
 
Float_t GetMinZv () const
 
Float_t GetMaxZv () const
 
Float_t GetMeanXv () const
 
Float_t GetMeanYv () const
 
Float_t GetMeanZv () const
 
Float_t GetSigmaMeanXv () const
 
Float_t GetSigmaMeanYv () const
 
Float_t GetSigmaMeanZv () const
 
Bool_t IsRedoTPCVertex () const
 
Bool_t IsUseBeamSpotConstraint () const
 
void Init ()
 
Bool_t IsSelected (TObject *)
 
Bool_t IsSelected (TList *)
 
Bool_t AcceptEvent (AliESDEvent *event=0, AliMCEvent *mcEvent=0, const AliESDVertex *vtx=0)
 
Bool_t AcceptMCEvent (AliMCEvent *mcEvent=0)
 
virtual Long64_t Merge (TCollection *list)
 

Static Public Member Functions

static MCProcessType GetEventProcessType (AliESDEvent *esd, AliHeader *header, AliStack *stack, DiffTreatment diffTreatment)
 
static MCProcessType GetEventProcessType (AliHeader *aHeader, Bool_t adebug=kFALSE)
 
static MCProcessType GetPythiaEventProcessType (AliGenEventHeader *aHeader, Bool_t adebug=kFALSE)
 
static MCProcessType GetDPMjetEventProcessType (AliGenEventHeader *aHeader, Bool_t adebug=kFALSE)
 
static Bool_t IsHadronLevelSingleDiffractive (AliStack *stack, Float_t cms, Float_t xiMin, Float_t xiMax)
 
static Double_t Rapidity (Double_t pt, Double_t pz, Double_t m)
 

Static Protected Attributes

static Int_t fgLastProcessType = -1
 

Private Member Functions

 AliFilteredTreeEventCuts (const AliFilteredTreeEventCuts &)
 
AliFilteredTreeEventCutsoperator= (const AliFilteredTreeEventCuts &)
 

Private Attributes

Bool_t fTriggerRequired
 
Bool_t fRecVertexRequired
 
Int_t fEventProcessType
 
Float_t fMinNContributors
 
Float_t fMaxNContributors
 
Float_t fMaxR
 
Float_t fMinZv
 
Float_t fMaxZv
 
Float_t fMeanXv
 
Float_t fMeanYv
 
Float_t fMeanZv
 
Float_t fSigmaMeanXv
 
Float_t fSigmaMeanYv
 
Float_t fSigmaMeanZv
 
Bool_t fRedoTPCVertex
 
Bool_t fUseBeamSpotConstraint
 
Bool_t fEventSelectedRequired
 

Detailed Description

Definition at line 19 of file AliFilteredTreeEventCuts.h.

Member Enumeration Documentation

Enumerator
kInvalid 
kSPD 
kTPC 
kTPCITS 
kFieldOn 
kSPDOnlyL0 
kTPCSPD 

Definition at line 26 of file AliFilteredTreeEventCuts.h.

Enumerator
kMCFlags 
kUA5Cuts 
kE710Cuts 
kALICEHadronLevel 

Definition at line 28 of file AliFilteredTreeEventCuts.h.

Enumerator
kInvalidProcess 
kND 
kDD 
kSD 
kOnePart 

Definition at line 27 of file AliFilteredTreeEventCuts.h.

Constructor & Destructor Documentation

AliFilteredTreeEventCuts::AliFilteredTreeEventCuts ( const Char_t name = "AliFilteredTreeEventCuts",
const Char_t title = "" 
)

Definition at line 40 of file AliFilteredTreeEventCuts.cxx.

AliFilteredTreeEventCuts::~AliFilteredTreeEventCuts ( )
virtual

Definition at line 67 of file AliFilteredTreeEventCuts.cxx.

AliFilteredTreeEventCuts::AliFilteredTreeEventCuts ( const AliFilteredTreeEventCuts )
private

Member Function Documentation

Bool_t AliFilteredTreeEventCuts::AcceptEvent ( AliESDEvent event = 0,
AliMCEvent *  mcEvent = 0,
const AliESDVertex *  vtx = 0 
)
Bool_t AliFilteredTreeEventCuts::AcceptMCEvent ( AliMCEvent *  mcEvent = 0)
AliFilteredTreeEventCuts::MCProcessType AliFilteredTreeEventCuts::GetDPMjetEventProcessType ( AliGenEventHeader *  aHeader,
Bool_t  adebug = kFALSE 
)
static

Definition at line 325 of file AliFilteredTreeEventCuts.cxx.

Referenced by IsSelected().

Int_t AliFilteredTreeEventCuts::GetEventProcessType ( ) const
inline

Definition at line 56 of file AliFilteredTreeEventCuts.h.

Referenced by IsSelected().

AliFilteredTreeEventCuts::MCProcessType AliFilteredTreeEventCuts::GetEventProcessType ( AliESDEvent esd,
AliHeader *  header,
AliStack *  stack,
DiffTreatment  diffTreatment 
)
static

Definition at line 240 of file AliFilteredTreeEventCuts.cxx.

AliFilteredTreeEventCuts::MCProcessType AliFilteredTreeEventCuts::GetEventProcessType ( AliHeader *  aHeader,
Bool_t  adebug = kFALSE 
)
static

Definition at line 192 of file AliFilteredTreeEventCuts.cxx.

Float_t AliFilteredTreeEventCuts::GetMaxNContributors ( ) const
inline

Definition at line 58 of file AliFilteredTreeEventCuts.h.

Float_t AliFilteredTreeEventCuts::GetMaxR ( ) const
inline

Definition at line 59 of file AliFilteredTreeEventCuts.h.

Float_t AliFilteredTreeEventCuts::GetMaxZv ( ) const
inline

Definition at line 61 of file AliFilteredTreeEventCuts.h.

Float_t AliFilteredTreeEventCuts::GetMeanXv ( ) const
inline

Definition at line 63 of file AliFilteredTreeEventCuts.h.

Float_t AliFilteredTreeEventCuts::GetMeanYv ( ) const
inline

Definition at line 64 of file AliFilteredTreeEventCuts.h.

Float_t AliFilteredTreeEventCuts::GetMeanZv ( ) const
inline

Definition at line 65 of file AliFilteredTreeEventCuts.h.

Float_t AliFilteredTreeEventCuts::GetMinNContributors ( ) const
inline

Definition at line 57 of file AliFilteredTreeEventCuts.h.

Float_t AliFilteredTreeEventCuts::GetMinZv ( ) const
inline

Definition at line 60 of file AliFilteredTreeEventCuts.h.

AliFilteredTreeEventCuts::MCProcessType AliFilteredTreeEventCuts::GetPythiaEventProcessType ( AliGenEventHeader *  aHeader,
Bool_t  adebug = kFALSE 
)
static

Definition at line 291 of file AliFilteredTreeEventCuts.cxx.

Referenced by IsSelected().

Float_t AliFilteredTreeEventCuts::GetSigmaMeanXv ( ) const
inline

Definition at line 67 of file AliFilteredTreeEventCuts.h.

Float_t AliFilteredTreeEventCuts::GetSigmaMeanYv ( ) const
inline

Definition at line 68 of file AliFilteredTreeEventCuts.h.

Float_t AliFilteredTreeEventCuts::GetSigmaMeanZv ( ) const
inline

Definition at line 69 of file AliFilteredTreeEventCuts.h.

void AliFilteredTreeEventCuts::Init ( )

Definition at line 73 of file AliFilteredTreeEventCuts.cxx.

Referenced by IsUseBeamSpotConstraint().

Bool_t AliFilteredTreeEventCuts::IsEventSelectedRequired ( ) const
inline

Definition at line 53 of file AliFilteredTreeEventCuts.h.

Bool_t AliFilteredTreeEventCuts::IsHadronLevelSingleDiffractive ( AliStack *  stack,
Float_t  cms,
Float_t  xiMin,
Float_t  xiMax 
)
static

Definition at line 361 of file AliFilteredTreeEventCuts.cxx.

Referenced by IsSelected().

Bool_t AliFilteredTreeEventCuts::IsRecVertexRequired ( ) const
inline

Definition at line 55 of file AliFilteredTreeEventCuts.h.

Bool_t AliFilteredTreeEventCuts::IsRedoTPCVertex ( ) const
inline

Definition at line 71 of file AliFilteredTreeEventCuts.h.

Bool_t AliFilteredTreeEventCuts::IsSelected ( TObject )
inline

Definition at line 79 of file AliFilteredTreeEventCuts.h.

Bool_t AliFilteredTreeEventCuts::IsSelected ( TList )
inline

Definition at line 80 of file AliFilteredTreeEventCuts.h.

Bool_t AliFilteredTreeEventCuts::IsUseBeamSpotConstraint ( ) const
inline

Definition at line 72 of file AliFilteredTreeEventCuts.h.

Long64_t AliFilteredTreeEventCuts::Merge ( TCollection list)
virtual

Definition at line 166 of file AliFilteredTreeEventCuts.cxx.

Referenced by IsSelected().

AliFilteredTreeEventCuts& AliFilteredTreeEventCuts::operator= ( const AliFilteredTreeEventCuts )
private
Double_t AliFilteredTreeEventCuts::Rapidity ( Double_t  pt,
Double_t  pz,
Double_t  m 
)
static

Definition at line 462 of file AliFilteredTreeEventCuts.cxx.

Referenced by IsSelected().

void AliFilteredTreeEventCuts::SetEventProcessType ( MCProcessType  type = kInvalidProcess)
inline

Definition at line 33 of file AliFilteredTreeEventCuts.h.

void AliFilteredTreeEventCuts::SetEventSelectedRequired ( Bool_t  evtSel = kTRUE)
inline

Definition at line 49 of file AliFilteredTreeEventCuts.h.

void AliFilteredTreeEventCuts::SetMaxR ( Float_t  max = 1e99)
inline

Definition at line 35 of file AliFilteredTreeEventCuts.h.

void AliFilteredTreeEventCuts::SetMeanXYZv ( Float_t  xv = 0.0,
Float_t  yv = 0.0,
Float_t  zv = 0.0 
)
inline

Definition at line 38 of file AliFilteredTreeEventCuts.h.

void AliFilteredTreeEventCuts::SetNContributorsRange ( Float_t  min = 0.,
Float_t  max = 1e99 
)
inline

Definition at line 34 of file AliFilteredTreeEventCuts.h.

void AliFilteredTreeEventCuts::SetRecVertexRequired ( Bool_t  bFlag = kTRUE)
inline

Definition at line 32 of file AliFilteredTreeEventCuts.h.

void AliFilteredTreeEventCuts::SetRedoTPCVertex ( Bool_t  redo = kTRUE)
inline

Definition at line 47 of file AliFilteredTreeEventCuts.h.

void AliFilteredTreeEventCuts::SetSigmaMeanXYZv ( Float_t  sxv = 1.0,
Float_t  syv = 1.0,
Float_t  szv = 10.0 
)
inline

Definition at line 42 of file AliFilteredTreeEventCuts.h.

void AliFilteredTreeEventCuts::SetTriggerRequired ( Bool_t  bFlag = kTRUE)
inline

Definition at line 31 of file AliFilteredTreeEventCuts.h.

void AliFilteredTreeEventCuts::SetUseBeamSpotConstraint ( Bool_t  useConstr = kTRUE)
inline

Definition at line 48 of file AliFilteredTreeEventCuts.h.

void AliFilteredTreeEventCuts::SetZvRange ( Float_t  min = -1e99,
Float_t  max = 1e99 
)
inline

Definition at line 36 of file AliFilteredTreeEventCuts.h.

Member Data Documentation

Int_t AliFilteredTreeEventCuts::fEventProcessType
private

Definition at line 103 of file AliFilteredTreeEventCuts.h.

Referenced by GetEventProcessType(), and SetEventProcessType().

Bool_t AliFilteredTreeEventCuts::fEventSelectedRequired
private
Int_t AliFilteredTreeEventCuts::fgLastProcessType = -1
staticprotected

Definition at line 97 of file AliFilteredTreeEventCuts.h.

Float_t AliFilteredTreeEventCuts::fMaxNContributors
private

Definition at line 105 of file AliFilteredTreeEventCuts.h.

Referenced by GetMaxNContributors(), and SetNContributorsRange().

Float_t AliFilteredTreeEventCuts::fMaxR
private

Definition at line 106 of file AliFilteredTreeEventCuts.h.

Referenced by GetMaxR(), and SetMaxR().

Float_t AliFilteredTreeEventCuts::fMaxZv
private

Definition at line 108 of file AliFilteredTreeEventCuts.h.

Referenced by GetMaxZv(), and SetZvRange().

Float_t AliFilteredTreeEventCuts::fMeanXv
private

Definition at line 111 of file AliFilteredTreeEventCuts.h.

Referenced by GetMeanXv(), and SetMeanXYZv().

Float_t AliFilteredTreeEventCuts::fMeanYv
private

Definition at line 112 of file AliFilteredTreeEventCuts.h.

Referenced by GetMeanYv(), and SetMeanXYZv().

Float_t AliFilteredTreeEventCuts::fMeanZv
private

Definition at line 113 of file AliFilteredTreeEventCuts.h.

Referenced by GetMeanZv(), and SetMeanXYZv().

Float_t AliFilteredTreeEventCuts::fMinNContributors
private

Definition at line 104 of file AliFilteredTreeEventCuts.h.

Referenced by GetMinNContributors(), and SetNContributorsRange().

Float_t AliFilteredTreeEventCuts::fMinZv
private

Definition at line 107 of file AliFilteredTreeEventCuts.h.

Referenced by GetMinZv(), and SetZvRange().

Bool_t AliFilteredTreeEventCuts::fRecVertexRequired
private

Definition at line 102 of file AliFilteredTreeEventCuts.h.

Referenced by IsRecVertexRequired(), and SetRecVertexRequired().

Bool_t AliFilteredTreeEventCuts::fRedoTPCVertex
private

Definition at line 119 of file AliFilteredTreeEventCuts.h.

Referenced by IsRedoTPCVertex(), and SetRedoTPCVertex().

Float_t AliFilteredTreeEventCuts::fSigmaMeanXv
private

Definition at line 115 of file AliFilteredTreeEventCuts.h.

Referenced by GetSigmaMeanXv(), and SetSigmaMeanXYZv().

Float_t AliFilteredTreeEventCuts::fSigmaMeanYv
private

Definition at line 116 of file AliFilteredTreeEventCuts.h.

Referenced by GetSigmaMeanYv(), and SetSigmaMeanXYZv().

Float_t AliFilteredTreeEventCuts::fSigmaMeanZv
private

Definition at line 117 of file AliFilteredTreeEventCuts.h.

Referenced by GetSigmaMeanZv(), and SetSigmaMeanXYZv().

Bool_t AliFilteredTreeEventCuts::fTriggerRequired
private

Definition at line 101 of file AliFilteredTreeEventCuts.h.

Referenced by IsTriggerRequired(), and SetTriggerRequired().

Bool_t AliFilteredTreeEventCuts::fUseBeamSpotConstraint
private

The documentation for this class was generated from the following files: