![]() |
AliPhysics
fb6b143 (fb6b143)
|
Container structure for reduced trigger patches. More...
#include <AliReducedPatchContainer.h>
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) | |
AliReducedPatchContainer & | operator= (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) |
TObjArray * | GetTriggerPatches (Bool_t isOffline, PatchType_t patchtype) |
Protected Attributes | |
TObjArray * | fOnlinePatches [4] |
Trigger type dependent container for online patches. More... | |
TObjArray * | fOfflinePatches [4] |
Trigger type dependent container for offline patches. More... | |
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.
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.
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
doAlloc | If 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
ref | Reference for the copy |
Definition at line 51 of file AliReducedPatchContainer.cxx.
|
virtual |
Detructor, cleaning up containers
Definition at line 96 of file AliReducedPatchContainer.cxx.
Referenced by operator=().
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
isOffline | Online or offline patch |
patchtype | Type of the patch |
energy | Patch energy |
amplitude | Patch amplitude |
eta | Patch \( \eta \) |
phi | Patch \( \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.
target | Target 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
isOffline | Online or offline patches |
patchtype | Type of the trigger patch |
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.
ref | Reference for the assignment |
Definition at line 62 of file AliReducedPatchContainer.cxx.
|
protected |
Trigger type dependent container for offline patches.
Definition at line 64 of file AliReducedPatchContainer.h.
Referenced by AddTriggerPatch(), AliReducedPatchContainer(), Copy(), GetTriggerPatches(), and ~AliReducedPatchContainer().
|
protected |
Trigger type dependent container for online patches.
Definition at line 63 of file AliReducedPatchContainer.h.
Referenced by AddTriggerPatch(), AliReducedPatchContainer(), Copy(), GetTriggerPatches(), and ~AliReducedPatchContainer().