AliPhysics  vAN-20150630 (513c479)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliEMCalTriggerEventData.h
Go to the documentation of this file.
1 
7 #ifndef ALIEMCALTRIGGEREVENTDATA_H
8 #define ALIEMCALTRIGGEREVENTDATA_H
9 /* Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
10  * See cxx source for full Copyright notice */
11 
12 // Author: Markus Fasel
13 #include <TObject.h>
14 
15 class TClonesArray;
16 class AliJetContainer;
17 class AliMCEvent;
18 class AliVEvent;
19 
27 namespace EMCalTriggerPtAnalysis {
28 
36 class AliEMCalTriggerEventData : public TObject {
37 public:
45 
50  AliVEvent * GetRecEvent() const { return fRecEvent; }
55  UInt_t GetTriggerBitSelection() const { return fTriggerBitSelection; }
60  AliMCEvent * GetMCEvent() const { return fMCEvent; }
65  const TClonesArray * GetClusterContainer() const { return fClusterContainer; }
70  const TClonesArray * GetMatchedTrackContainer() const { return fTrackContainer; }
75  const TClonesArray * GetParticleContainer() const { return fParticleContainer; }
80  const TClonesArray * GetTriggerPatchContainer() const { return fTriggerPatchContainer; }
85  AliJetContainer * GetJetContainerData() const { return fJetContainerData; }
90  AliJetContainer * GetJetContainerMC() const { return fJetContainerMC; }
91 
96  void SetRecEvent(AliVEvent * const ev) { fRecEvent = ev; }
101  void SetTriggerBitSelection(Int_t triggerbits) { fTriggerBitSelection = triggerbits; }
106  void SetMCEvent(AliMCEvent * const ev) { fMCEvent = ev; }
111  void SetClusterContainer(const TClonesArray *const cont) { fClusterContainer = cont; }
116  void SetTrackContainer(const TClonesArray * const cont) { fTrackContainer = cont; }
121  void SetParticleContainer(const TClonesArray * const cont) { fParticleContainer = cont ;}
126  void SetTriggerPatchContainer(const TClonesArray *const cont) { fTriggerPatchContainer = cont; }
131  void SetMCJetContainer(AliJetContainer * const cont) { fJetContainerMC = cont; }
136  void SetDataJetContainer(AliJetContainer * const cont) { fJetContainerData = cont; }
137 
138 protected:
139  AliVEvent *fRecEvent;
140  AliMCEvent *fMCEvent;
142  const TClonesArray *fClusterContainer;
143  const TClonesArray *fTrackContainer;
144  const TClonesArray *fParticleContainer;
145  const TClonesArray *fTriggerPatchContainer;
146  AliJetContainer *fJetContainerMC;
147  AliJetContainer *fJetContainerData;
148 
150  ClassDef(AliEMCalTriggerEventData, 1);
152 };
153 
154 } /* namespace EMCalTriggerPtAnalysis */
155 
156 #endif /* ALIEMCALTRIGGEREVENTDATA_H */
void SetClusterContainer(const TClonesArray *const cont)
const TClonesArray * fParticleContainer
Container with MC-true filtered particles.
AliJetContainer * fJetContainerMC
Container with reconstructed jets.
void SetTriggerPatchContainer(const TClonesArray *const cont)
AliJetContainer * fJetContainerData
Container with reconstructed jets.
const TClonesArray * fTriggerPatchContainer
Container with trigger patches.
void SetTrackContainer(const TClonesArray *const cont)
const TClonesArray * fTrackContainer
Container with matched tracks.
AliEMCalTriggerEventData & operator=(const AliEMCalTriggerEventData &ref)
const TClonesArray * fClusterContainer
Container with calibrated clusters.
Simple event container within the high- track analysis.
void SetParticleContainer(const TClonesArray *const cont)
Int_t fTriggerBitSelection
Event trigger bit selection.