AliPhysics  vAN-20150427 (e6e7aad)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliReducedHighPtEvent.h
Go to the documentation of this file.
1 
17 #ifndef ALIREDUCEDHIGHPTEVENT_H
18 #define ALIREDUCEDHIGHPTEVENT_H
19 /* Copyright(c) 1998-2015, ALICE Experiment at CERN, All rights reserved. *
20  * See cxx source for full Copyright notice */
21 
22 #include <TObject.h>
24 
25 class TObjArray;
26 
41 namespace HighPtTracks {
42 
43 class AliReducedEmcalCluster;
44 class AliReducedGeneratedParticle;
45 class AliReducedReconstructedTrack;
46 class AliReducedMCHeader;
47 
52 class AliReducedHighPtEvent : public TObject {
53 public:
54  AliReducedHighPtEvent(Bool_t doAlloc = kFALSE);
57  virtual ~AliReducedHighPtEvent();
58  void Copy(TObject *target) const;
59 
64  TObjArray *GetClusterContainer() { return fReducedClusterInfo; }
69  TObjArray *GetParticleContainer() { return fReducedParticleInfo; }
74  TObjArray *GetTrackContainer() { return fReducedTrackInfo; }
86  Float_t GetCentralityPercentile() const { return fCentralityPercentile; }
91  Float_t GetVertexZ() const { return fVertexZ; }
101  Bool_t IsMinBias() const { return fIsMinBias; }
106  Bool_t IsGammaLowFromString() const { return fGammaTriggerString[0]; }
111  Bool_t IsGammaHighFromString() const { return fGammaTriggerString[1]; }
116  Bool_t IsJetLowFromString() const { return fJetTriggerString[0]; }
121  Bool_t IsJetHighFromString() const { return fJetTriggerString[1]; }
122 
123 
131  void SetVertexZ(Float_t vz) { fVertexZ = vz; }
136  void SetCentralityPercentile(Float_t cent) { fCentralityPercentile = cent; }
144  void SetDecisionFromTriggerString(Bool_t isGammaLow, Bool_t isGammaHigh, Bool_t isJetLow, Bool_t isJetHigh) {
145  fGammaTriggerString[0] = isGammaLow;
146  fGammaTriggerString[1] = isGammaHigh;
147  fJetTriggerString[0] = isJetLow;
148  fJetTriggerString[1] = isJetHigh;
149  }
154  void SetMinBiasEvent(Bool_t isMinBias) { fIsMinBias = isMinBias; }
160 
161 protected:
163  Float_t fVertexZ;
165  Bool_t fJetTriggerString[2];
167  Bool_t fIsMinBias;
169  TObjArray *fReducedClusterInfo;
170  TObjArray *fReducedParticleInfo;
171  TObjArray *fReducedTrackInfo;
172 
174  ClassDef(AliReducedHighPtEvent, 1);
176 };
177 
178 } /* namespace HighPtTracks */
179 
180 #endif /* ALIREDUCEDHIGHPTEVENT_H */
void SetMonteCarloHeader(AliReducedMCHeader *header)
Reduced EMCAL cluster information.
AliReducedGeneratedParticle * GetParticleForIndex(Int_t index)
void AddReducedCluster(AliReducedEmcalCluster *cluster)
Float_t fCentralityPercentile
Centrality percentile.
AliReducedPatchContainer * fReducedPatchInfo
Container for reduced trigger patches.
Container structure for reduced trigger patches.
void SetDecisionFromTriggerString(Bool_t isGammaLow, Bool_t isGammaHigh, Bool_t isJetLow, Bool_t isJetHigh)
Declaration of class AliReducedPatchContainer, a container for reduced trigger patches.
void AddReducedReconstructedParticle(AliReducedReconstructedTrack *trk)
AliReducedPatchContainer * GetPatchContainer()
Bool_t fGammaTriggerString[2]
gamma trigger selection from trigger string
void AddReducedGeneratedParticle(AliReducedGeneratedParticle *part)
AliReducedMCHeader * fMCHeader
Reduced Monte-Carlo header.
TObjArray * fReducedParticleInfo
Container for reduced true particles.
Structure for reduced particle information at generator level.
Event structure for high-pt analysis.
AliReducedHighPtEvent & operator=(const AliReducedHighPtEvent &ref)
Bool_t fIsMinBias
Flag event as min. bias event.
Float_t fVertexZ
z-position of the primary vertex
Structure for reconstructed track information.
A reduced event header with MC information for the reduced event structure.
TObjArray * fReducedClusterInfo
Container for reduced EMCAL clusters.
AliReducedEmcalCluster * GetClusterForIndex(Int_t index)
TObjArray * fReducedTrackInfo
Container for reduced reconstructed tracks.
Bool_t fJetTriggerString[2]
jet trigger selection from trigger string