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

Container structure for reduced trigger patches. More...

#include <AliReducedPatchContainer.h>

Inheritance diagram for HighPtTracks::AliReducedPatchContainer:

Public Types

enum  PatchType_t { kEMCGammaLow = 0, kEMCGammaHigh = 1, kEMCJetLow = 2, kEMCJetHigh = 3 }
 

Public Member Functions

 AliReducedPatchContainer (Bool_t doAlloc=kFALSE)
 
 AliReducedPatchContainer (const AliReducedPatchContainer &cont)
 
AliReducedPatchContaineroperator= (const AliReducedPatchContainer &cont)
 
void Copy (TObject &target) const
 
virtual ~AliReducedPatchContainer ()
 
void AddTriggerPatch (Bool_t isOffline, PatchType_t patchtype, Float_t energy, Int_t amplitude, Float_t eta, Float_t phi)
 
TObjArrayGetTriggerPatches (Bool_t isOffline, PatchType_t patchtype)
 

Protected Attributes

TObjArrayfOnlinePatches [4]
 Trigger type dependent container for online patches. More...
 
TObjArrayfOfflinePatches [4]
 Trigger type dependent container for offline patches. More...
 

Detailed Description

Container structure for reduced trigger patches.

This class stores reduced trigger patch information, depending on whether they are online or offline patches, and depending on the trigger class

Definition at line 42 of file AliReducedPatchContainer.h.

Member Enumeration Documentation

Enumerator
kEMCGammaLow 

Gamma trigger, low threshold.

kEMCGammaHigh 

Gamma trigger, high threshold.

kEMCJetLow 

Jet trigger, low threshold.

kEMCJetHigh 

Jet trigger, high threshold.

Definition at line 47 of file AliReducedPatchContainer.h.

Constructor & Destructor Documentation

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

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

Parameters
doAllocIf true containers are allocated

Definition at line 31 of file AliReducedPatchContainer.cxx.

HighPtTracks::AliReducedPatchContainer::AliReducedPatchContainer ( const AliReducedPatchContainer ref)

Copy constructor, taking ownership over the objects

Parameters
refReference for the copy

Definition at line 51 of file AliReducedPatchContainer.cxx.

HighPtTracks::AliReducedPatchContainer::~AliReducedPatchContainer ( )
virtual

Detructor, cleaning up containers

Definition at line 96 of file AliReducedPatchContainer.cxx.

Referenced by operator=().

Member Function Documentation

void HighPtTracks::AliReducedPatchContainer::AddTriggerPatch ( Bool_t  isOffline,
PatchType_t  patchtype,
Float_t  energy,
Int_t  amplitude,
Float_t  eta,
Float_t  phi 
)

Add new patch to the trigger patch container

Parameters
isOfflineOnline or offline patch
patchtypeType of the patch
energyPatch energy
amplitudePatch amplitude
etaPatch \( \eta \)
phiPatch \( \phi \)

Definition at line 112 of file AliReducedPatchContainer.cxx.

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

Implementation of the copy functionality for the patch container. Called in assignment operator and in the copy constructor. Copies entries from this object into the target object.

Parameters
targetTarget where to copy to

Definition at line 76 of file AliReducedPatchContainer.cxx.

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

TObjArray * HighPtTracks::AliReducedPatchContainer::GetTriggerPatches ( Bool_t  isOffline,
PatchType_t  patchtype 
)

Get list of reconstructed patches of a given patch type

Parameters
isOfflineOnline or offline patches
patchtypeType of the trigger patch
Returns
list of reconstructed patches

Definition at line 123 of file AliReducedPatchContainer.cxx.

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

Assignment operator. First cleans memory assigns to this object, then performs a deep copy.

Parameters
refReference for the assignment
Returns
this object

Definition at line 62 of file AliReducedPatchContainer.cxx.

Member Data Documentation

TObjArray* HighPtTracks::AliReducedPatchContainer::fOfflinePatches[4]
protected

Trigger type dependent container for offline patches.

Definition at line 64 of file AliReducedPatchContainer.h.

Referenced by AddTriggerPatch(), AliReducedPatchContainer(), Copy(), GetTriggerPatches(), and ~AliReducedPatchContainer().

TObjArray* HighPtTracks::AliReducedPatchContainer::fOnlinePatches[4]
protected

Trigger type dependent container for online patches.

Definition at line 63 of file AliReducedPatchContainer.h.

Referenced by AddTriggerPatch(), AliReducedPatchContainer(), Copy(), GetTriggerPatches(), and ~AliReducedPatchContainer().


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