AliPhysics  58ae0ed (58ae0ed)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HighPtTracks::AliReducedHighPtEvent Class Reference

Event structure for high-pt analysis. More...

#include <AliReducedHighPtEvent.h>

Inheritance diagram for HighPtTracks::AliReducedHighPtEvent:

Public Member Functions

 AliReducedHighPtEvent (Bool_t doAlloc=kFALSE)
 
 AliReducedHighPtEvent (const AliReducedHighPtEvent &ref)
 
AliReducedHighPtEventoperator= (const AliReducedHighPtEvent &ref)
 
virtual ~AliReducedHighPtEvent ()
 
void Copy (TObject &target) const
 
TObjArrayGetClusterContainer ()
 
std::vector
< HighPtTracks::AliReducedEmcalCluster * > 
GetClusterVector () const
 
TObjArrayGetParticleContainer ()
 
std::vector
< HighPtTracks::AliReducedGeneratedParticle * > 
GetParticleVector () const
 
TObjArrayGetTrackContainer ()
 
std::vector
< HighPtTracks::AliReducedReconstructedTrack * > 
GetTrackVector () const
 
AliReducedEmcalClusterGetClusterForIndex (Int_t index)
 
AliReducedGeneratedParticleGetParticleForIndex (Int_t index)
 
AliReducedPatchContainerGetPatchContainer ()
 
Float_t GetCentralityPercentile () const
 
Float_t GetVertexZ () const
 
AliReducedMCHeaderGetMonteCarloHeader ()
 
Bool_t IsMinBias () const
 
Bool_t IsGammaLowFromString () const
 
Bool_t IsGammaHighFromString () const
 
Bool_t IsJetLowFromString () const
 
Bool_t IsJetHighFromString () const
 
Int_t GetRunNumber () const
 
void AddReducedCluster (AliReducedEmcalCluster *cluster)
 
void AddReducedGeneratedParticle (AliReducedGeneratedParticle *part)
 
void AddReducedReconstructedParticle (AliReducedReconstructedTrack *trk)
 
void SetVertexZ (Float_t vz)
 
void SetCentralityPercentile (Float_t cent)
 
void SetDecisionFromTriggerString (Bool_t isGammaLow, Bool_t isGammaHigh, Bool_t isJetLow, Bool_t isJetHigh)
 
void SetMinBiasEvent (Bool_t isMinBias)
 
void SetMonteCarloHeader (AliReducedMCHeader *header)
 
void SetRunNumber (Int_t runnumber)
 

Protected Attributes

Int_t fRunNumber
 Run number. More...
 
Float_t fCentralityPercentile
 Centrality percentile. More...
 
Float_t fVertexZ
 z-position of the primary vertex More...
 
AliReducedMCHeaderfMCHeader
 Reduced Monte-Carlo header. More...
 
Bool_t fJetTriggerString [2]
 jet trigger selection from trigger string More...
 
Bool_t fGammaTriggerString [2]
 gamma trigger selection from trigger string More...
 
Bool_t fIsMinBias
 Flag event as min. bias event. More...
 
AliReducedPatchContainerfReducedPatchInfo
 Container for reduced trigger patches. More...
 
TObjArrayfReducedClusterInfo
 Container for reduced EMCAL clusters. More...
 
TObjArrayfReducedParticleInfo
 Container for reduced true particles. More...
 
TObjArrayfReducedTrackInfo
 Container for reduced reconstructed tracks. More...
 

Detailed Description

Event structure for high-pt analysis.

Definition at line 53 of file AliReducedHighPtEvent.h.

Constructor & Destructor Documentation

HighPtTracks::AliReducedHighPtEvent::AliReducedHighPtEvent ( Bool_t  doAlloc = kFALSE)

Constructor. If doAlloc is true, then the containers are allocated. Otherwise the constructor becomes the ROOT dummy constructor needed for I/O

Parameters
doAllocif true then the containers are allocated

Definition at line 37 of file AliReducedHighPtEvent.cxx.

HighPtTracks::AliReducedHighPtEvent::AliReducedHighPtEvent ( const AliReducedHighPtEvent ref)

Copy constructor, taking ownership over pointer members. For this a deep copy is performed. Copy functionality is implemented in the function Copy

Parameters
refThe reference for the copy

Definition at line 67 of file AliReducedHighPtEvent.cxx.

HighPtTracks::AliReducedHighPtEvent::~AliReducedHighPtEvent ( )
virtual

Destructor, cleaning up allocated memory

Definition at line 100 of file AliReducedHighPtEvent.cxx.

Referenced by operator=().

Member Function Documentation

void HighPtTracks::AliReducedHighPtEvent::AddReducedCluster ( AliReducedEmcalCluster cluster)

Add cluster information to the reduced event

Parameters
clusterThe reduced cluster to be added

Definition at line 183 of file AliReducedHighPtEvent.cxx.

void HighPtTracks::AliReducedHighPtEvent::AddReducedGeneratedParticle ( AliReducedGeneratedParticle part)

Add reduced generated particle to the list of particles

Parameters
partThe reduced particle to be added

Definition at line 195 of file AliReducedHighPtEvent.cxx.

void HighPtTracks::AliReducedHighPtEvent::AddReducedReconstructedParticle ( AliReducedReconstructedTrack trk)

Add reduced reconstructed particle to the list of tracks

Parameters
trkThe track to be added

Definition at line 207 of file AliReducedHighPtEvent.cxx.

void HighPtTracks::AliReducedHighPtEvent::Copy ( TObject target) const

Implementation of the copy functionality. Copies information from this object into the target object. Performs a deep copy.

Parameters
target

Definition at line 113 of file AliReducedHighPtEvent.cxx.

Referenced by AliReducedHighPtEvent(), and operator=().

Float_t HighPtTracks::AliReducedHighPtEvent::GetCentralityPercentile ( ) const
inline

Get the centrality percentile of the event

Returns
centrality percentile of the event

Definition at line 90 of file AliReducedHighPtEvent.h.

TObjArray* HighPtTracks::AliReducedHighPtEvent::GetClusterContainer ( )
inline

Get the cluster container

Returns
The cluster container

Definition at line 65 of file AliReducedHighPtEvent.h.

AliReducedEmcalCluster * HighPtTracks::AliReducedHighPtEvent::GetClusterForIndex ( Int_t  index)

Find EMCAL cluster by internal cluster ID

Parameters
indexID of the EMCAL cluster
Returns
The found EMCAL cluster

Definition at line 148 of file AliReducedHighPtEvent.cxx.

std::vector< HighPtTracks::AliReducedEmcalCluster * > HighPtTracks::AliReducedHighPtEvent::GetClusterVector ( ) const

Create a stl vector with reduced Emcal cluster information

Returns
vector with reduced Emcal clusters

Definition at line 219 of file AliReducedHighPtEvent.cxx.

AliReducedMCHeader* HighPtTracks::AliReducedHighPtEvent::GetMonteCarloHeader ( )
inline

Get the Monte-Carlo header

Returns
The Monte-Carlo header (NULL if not set)

Definition at line 100 of file AliReducedHighPtEvent.h.

TObjArray* HighPtTracks::AliReducedHighPtEvent::GetParticleContainer ( )
inline

Get the particle container (at generator level)

Returns
The particle container

Definition at line 71 of file AliReducedHighPtEvent.h.

AliReducedGeneratedParticle * HighPtTracks::AliReducedHighPtEvent::GetParticleForIndex ( Int_t  index)

Find generated particle in the event with a given unique ID

Parameters
indexunique ID of the particle
Returns
the matching particle at generator level (NULL if no particle is available or particle is not found)

Definition at line 166 of file AliReducedHighPtEvent.cxx.

std::vector< HighPtTracks::AliReducedGeneratedParticle * > HighPtTracks::AliReducedHighPtEvent::GetParticleVector ( ) const

Create a stl vector with reduced generated particle information

Returns
vector with reduced generated particles

Definition at line 231 of file AliReducedHighPtEvent.cxx.

AliReducedPatchContainer* HighPtTracks::AliReducedHighPtEvent::GetPatchContainer ( )
inline

Get the container with trigger patches

Returns
container with trigger patches

Definition at line 85 of file AliReducedHighPtEvent.h.

Int_t HighPtTracks::AliReducedHighPtEvent::GetRunNumber ( ) const
inline

Get the run number

Returns
Run number

Definition at line 130 of file AliReducedHighPtEvent.h.

TObjArray* HighPtTracks::AliReducedHighPtEvent::GetTrackContainer ( )
inline

Get the container with reconstructed tracks

Returns
Container with reconstructed tracks

Definition at line 77 of file AliReducedHighPtEvent.h.

std::vector< HighPtTracks::AliReducedReconstructedTrack * > HighPtTracks::AliReducedHighPtEvent::GetTrackVector ( ) const

Create a stl vector with reduced reconstructed

Returns
vector with reduced reconstructed tracks

Definition at line 243 of file AliReducedHighPtEvent.cxx.

Float_t HighPtTracks::AliReducedHighPtEvent::GetVertexZ ( ) const
inline

Get the z-position of the primary vertex

Returns
z-position of the primary vertex

Definition at line 95 of file AliReducedHighPtEvent.h.

Bool_t HighPtTracks::AliReducedHighPtEvent::IsGammaHighFromString ( ) const
inline

Check if event is triggered as Gamma high

Returns
true if event is a gamma high event, false otherwise

Definition at line 115 of file AliReducedHighPtEvent.h.

Bool_t HighPtTracks::AliReducedHighPtEvent::IsGammaLowFromString ( ) const
inline

Check if event is triggered as Gamma low

Returns
true if event is a gamma low event, false otherwise

Definition at line 110 of file AliReducedHighPtEvent.h.

Bool_t HighPtTracks::AliReducedHighPtEvent::IsJetHighFromString ( ) const
inline

Check if event is triggered as Jet high

Returns
true if event is a jet high event, false otherwise

Definition at line 125 of file AliReducedHighPtEvent.h.

Bool_t HighPtTracks::AliReducedHighPtEvent::IsJetLowFromString ( ) const
inline

Check if event is triggered as Jet low

Returns
true if event is a jet low event, false otherwise

Definition at line 120 of file AliReducedHighPtEvent.h.

Bool_t HighPtTracks::AliReducedHighPtEvent::IsMinBias ( ) const
inline

Check if event is a min. bias event

Returns
true if event is a min. bias event, false otherwise

Definition at line 105 of file AliReducedHighPtEvent.h.

AliReducedHighPtEvent & HighPtTracks::AliReducedHighPtEvent::operator= ( const AliReducedHighPtEvent ref)

Assignment operator, taking ownership over pointer members. For this a deep copy is performed. Copy functionality is implemented in the function Copy

Parameters
refThe reference for the copy

Definition at line 87 of file AliReducedHighPtEvent.cxx.

void HighPtTracks::AliReducedHighPtEvent::SetCentralityPercentile ( Float_t  cent)
inline

Set the event centrality percentile

Parameters
centEvent centrality percentile

Definition at line 144 of file AliReducedHighPtEvent.h.

void HighPtTracks::AliReducedHighPtEvent::SetDecisionFromTriggerString ( Bool_t  isGammaLow,
Bool_t  isGammaHigh,
Bool_t  isJetLow,
Bool_t  isJetHigh 
)
inline

Set the trigger decision from the trigger string

Parameters
isGammaLowIf true event is triggered as gamma low event
isGammaHighIf true event is triggered as gamma high event
isJetLowIf true event is triggered as jet low event
isJetHighIf true event is triggered as jet high event

Definition at line 152 of file AliReducedHighPtEvent.h.

void HighPtTracks::AliReducedHighPtEvent::SetMinBiasEvent ( Bool_t  isMinBias)
inline

Flag event as min. bias event

Parameters
isMinBiasIf true evnet is a min. bias event

Definition at line 162 of file AliReducedHighPtEvent.h.

void HighPtTracks::AliReducedHighPtEvent::SetMonteCarloHeader ( AliReducedMCHeader header)
inline

Set the reduced MC event header

Parameters
headerThe Monte-Carlo event header

Definition at line 167 of file AliReducedHighPtEvent.h.

void HighPtTracks::AliReducedHighPtEvent::SetRunNumber ( Int_t  runnumber)
inline

Set the run number

Parameters
runnumberThe run number

Definition at line 172 of file AliReducedHighPtEvent.h.

void HighPtTracks::AliReducedHighPtEvent::SetVertexZ ( Float_t  vz)
inline

Set the z-Position of the primary vertex

Parameters
vzz-Position of the primary vertex

Definition at line 139 of file AliReducedHighPtEvent.h.

Member Data Documentation

Float_t HighPtTracks::AliReducedHighPtEvent::fCentralityPercentile
protected

Centrality percentile.

Definition at line 176 of file AliReducedHighPtEvent.h.

Referenced by Copy(), GetCentralityPercentile(), and SetCentralityPercentile().

Bool_t HighPtTracks::AliReducedHighPtEvent::fGammaTriggerString[2]
protected

gamma trigger selection from trigger string

Definition at line 180 of file AliReducedHighPtEvent.h.

Referenced by AliReducedHighPtEvent(), Copy(), IsGammaHighFromString(), IsGammaLowFromString(), and SetDecisionFromTriggerString().

Bool_t HighPtTracks::AliReducedHighPtEvent::fIsMinBias
protected

Flag event as min. bias event.

Definition at line 181 of file AliReducedHighPtEvent.h.

Referenced by Copy(), IsMinBias(), and SetMinBiasEvent().

Bool_t HighPtTracks::AliReducedHighPtEvent::fJetTriggerString[2]
protected

jet trigger selection from trigger string

Definition at line 179 of file AliReducedHighPtEvent.h.

Referenced by AliReducedHighPtEvent(), Copy(), IsJetHighFromString(), IsJetLowFromString(), and SetDecisionFromTriggerString().

AliReducedMCHeader* HighPtTracks::AliReducedHighPtEvent::fMCHeader
protected

Reduced Monte-Carlo header.

Definition at line 178 of file AliReducedHighPtEvent.h.

Referenced by Copy(), GetMonteCarloHeader(), SetMonteCarloHeader(), and ~AliReducedHighPtEvent().

TObjArray* HighPtTracks::AliReducedHighPtEvent::fReducedClusterInfo
protected
TObjArray* HighPtTracks::AliReducedHighPtEvent::fReducedParticleInfo
protected

Container for reduced true particles.

Definition at line 184 of file AliReducedHighPtEvent.h.

Referenced by AddReducedGeneratedParticle(), Copy(), GetParticleContainer(), GetParticleForIndex(), GetParticleVector(), and ~AliReducedHighPtEvent().

AliReducedPatchContainer* HighPtTracks::AliReducedHighPtEvent::fReducedPatchInfo
protected

Container for reduced trigger patches.

Definition at line 182 of file AliReducedHighPtEvent.h.

Referenced by AliReducedHighPtEvent(), Copy(), GetPatchContainer(), and ~AliReducedHighPtEvent().

TObjArray* HighPtTracks::AliReducedHighPtEvent::fReducedTrackInfo
protected

Container for reduced reconstructed tracks.

Definition at line 185 of file AliReducedHighPtEvent.h.

Referenced by AddReducedReconstructedParticle(), AliReducedHighPtEvent(), Copy(), GetTrackContainer(), and ~AliReducedHighPtEvent().

Int_t HighPtTracks::AliReducedHighPtEvent::fRunNumber
protected

Run number.

Definition at line 175 of file AliReducedHighPtEvent.h.

Referenced by GetRunNumber(), and SetRunNumber().

Float_t HighPtTracks::AliReducedHighPtEvent::fVertexZ
protected

z-position of the primary vertex

Definition at line 177 of file AliReducedHighPtEvent.h.

Referenced by Copy(), GetVertexZ(), and SetVertexZ().


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