AliPhysics  vAN-20150507 (0645659)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliEMCalTriggerEventData.h
Go to the documentation of this file.
1 #ifndef ALIEMCALTRIGGEREVENTDATA_H
2 #define ALIEMCALTRIGGEREVENTDATA_H
3 /* Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice */
5 
6 // Author: Markus Fasel
7 #include <TObject.h>
8 
9 class TClonesArray;
10 class AliJetContainer;
11 class AliMCEvent;
12 class AliVEvent;
13 
21 namespace EMCalTriggerPtAnalysis {
22 
23 class AliEMCalTriggerEventData : public TObject {
24 public:
29 
30  AliVEvent * GetRecEvent() const { return fRecEvent; }
31  AliMCEvent * GetMCEvent() const { return fMCEvent; }
32  const TClonesArray * GetClusterContainer() const { return fClusterContainer; }
33  const TClonesArray * GetMatchedTrackContainer() const { return fTrackContainer; }
34  const TClonesArray * GetParticleContainer() const { return fParticleContainer; }
35  const TClonesArray * GetTriggerPatchContainer() const { return fTriggerPatchContainer; }
36  AliJetContainer * GetJetContainerData() const { return fJetContainerData; }
37  AliJetContainer * GetJetContainerMC() const { return fJetContainerMC; }
38 
39  void SetRecEvent(AliVEvent * const ev) { fRecEvent = ev; }
40  void SetMCEvent(AliMCEvent * const ev) { fMCEvent = ev; }
41  void SetClusterContainer(const TClonesArray *const cont) { fClusterContainer = cont; }
42  void SetTrackContainer(const TClonesArray * const cont) { fTrackContainer = cont; }
43  void SetParticleContainer(const TClonesArray * const cont) { fParticleContainer = cont ;}
44  void SetTriggerPatchContainer(const TClonesArray *const cont) { fTriggerPatchContainer = cont; }
45  void SetMCJetContainer(AliJetContainer * const cont) { fJetContainerMC = cont; }
46  void SetDataJetContainer(AliJetContainer * const cont) { fJetContainerData = cont; }
47 
48 protected:
49  AliVEvent *fRecEvent; // Reconstructed event
50  AliMCEvent *fMCEvent; // Monte-Carlo event
51  const TClonesArray *fClusterContainer; // Container with calibrated clusters
52  const TClonesArray *fTrackContainer; // Container with matched tracks
53  const TClonesArray *fParticleContainer; // Container with MC-true filtered particles
54  const TClonesArray *fTriggerPatchContainer; // Container with trigger patches
55  AliJetContainer *fJetContainerMC; // Container with reconstructed jets
56  AliJetContainer *fJetContainerData; // Container with reconstructed jets
57 
58  ClassDef(AliEMCalTriggerEventData, 1); // Data structure exchanged to trigger analysis components
59 };
60 
61 } /* namespace EMCalTriggerPtAnalysis */
62 
63 #endif /* ALIEMCALTRIGGEREVENTDATA_H */
void SetClusterContainer(const TClonesArray *const cont)
void SetTriggerPatchContainer(const TClonesArray *const cont)
void SetTrackContainer(const TClonesArray *const cont)
AliEMCalTriggerEventData & operator=(const AliEMCalTriggerEventData &ref)
void SetParticleContainer(const TClonesArray *const cont)