]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG2/FEMTOSCOPY/AliFemto/AliFemtoEvent.h
Fix Gamma calculation^CliFemtoModelGausLCMSFreezeOutGenerator.cxx
[u/mrichter/AliRoot.git] / PWG2 / FEMTOSCOPY / AliFemto / AliFemtoEvent.h
CommitLineData
d0e92d9a 1///////////////////////////////////////////////////////////////////////////
2// //
3// AliFemtoEvent: hold the information specific to the event and a //
4// track list //
5// AliFemtoEvent is the "transient microDST" Objects of this class are //
6// generated from the input data by a Reader, and then presented to //
7// the Cuts of the various active Analyses. //
8// //
9///////////////////////////////////////////////////////////////////////////
10
11#ifndef ALIFEMTOEVENT_H
12#define ALIFEMTOEVENT_H
13
14#include "AliFemtoTypes.h"
15#include "AliFemtoTrackCollection.h"
16#include "AliFemtoV0Collection.h"
17#include "AliFemtoXiCollection.h"
18#include "AliFemtoKinkCollection.h"
19
20class AliFemtoTrackCut;
21class AliFemtoV0Cut;
22class AliFemtoXiCut;
23class AliFemtoKinkCut;
24
25
26#ifdef __ROOT__
27
28// the following encapsulation by malisa 21apr2006
29#ifndef __NO_STAR_DEPENDENCE_ALLOWED__
30class StMuDst;
31#endif
32
33#endif
34
35class AliFemtoEvent{
36public:
37 AliFemtoEvent();
38#ifdef __ROOT__
39#ifndef __NO_STAR_DEPENDENCE_ALLOWED__
40//
41#endif
42#endif
ea77036b 43 AliFemtoEvent(const AliFemtoEvent& ev, AliFemtoTrackCut* tCut=0, AliFemtoV0Cut* vCut=0, AliFemtoXiCut* xCut=0, AliFemtoKinkCut* kCut=0); // copy constructor with track and v0 cuts
44 AliFemtoEvent(const AliFemtoEvent& ev); // copy constructor
d0e92d9a 45 ~AliFemtoEvent();
46 AliFemtoEvent& operator=(const AliFemtoEvent& aEvent);
47
48 unsigned short EventNumber() const;
49 int RunNumber() const;
50 unsigned short NumberOfTracks() const;
51 AliFemtoThreeVector PrimVertPos() const;
63a5982a 52 const double* PrimVertCov() const;
d0e92d9a 53 AliFemtoV0Collection* V0Collection() const;
54 AliFemtoXiCollection* XiCollection() const;
55 AliFemtoKinkCollection* KinkCollection() const;
56 AliFemtoTrackCollection* TrackCollection() const;
57 double MagneticField() const;
73695088 58 bool IsCollisionCandidate() const;
d0e92d9a 59
60 //functions for alice variables
61 float ZDCN1Energy() const;
62 float ZDCP1Energy() const;
63 float ZDCN2Energy() const;
64 float ZDCP2Energy() const;
65 float ZDCEMEnergy() const;
66 unsigned int ZDCParticipants() const;
67
68 unsigned long int TriggerMask() const;
69 unsigned char TriggerCluster() const;
683877d2 70
71 float ReactionPlaneAngle() const;
d0e92d9a 72
73 void SetEventNumber(const unsigned short& s);
74 void SetRunNumber(const int& i);
75 void SetNumberOfTracks(const unsigned short& s);
03decc29 76 void SetNormalizedMult(const int& i);
d0e92d9a 77 void SetPrimVertPos(const AliFemtoThreeVector& v);
63a5982a 78 void SetPrimVertCov(const double* v);
d0e92d9a 79 void SetMagneticField(const double& x);
73695088 80 void SetIsCollisionCandidate(const bool& is);
81
d0e92d9a 82 //functions for alice variables
83 void SetZDCN1Energy(const float& x);
84 void SetZDCP1Energy(const float& x);
85 void SetZDCN2Energy(const float& x);
86 void SetZDCP2Energy(const float& x);
87 void SetZDCEMEnergy(const float& x);
88 void SetZDCParticipants(const unsigned int& i);
89
90 void SetTriggerMask(const unsigned long int& i);
91 void SetTriggerCluster(const unsigned char& c);
683877d2 92
93 void SetReactionPlaneAngle(const float& a);
d0e92d9a 94
95 double UncorrectedNumberOfNegativePrimaries() const;
96 double UncorrectedNumberOfPrimaries() const;
97
98private:
99 unsigned short fEventNumber; // Event number in file
100 unsigned short fRunNumber; // run number the event belong to
101 unsigned short fNumberOfTracks; // total number of TPC tracks
03decc29 102 int fNormalizedMult; // normalized multiplicity
d0e92d9a 103 double fMagneticField; // magnetic field in Z direction
73695088 104 bool fIsCollisionCandidate; // is collision candidate
105
d0e92d9a 106 AliFemtoThreeVector fPrimVertPos; // primary vertex position
63a5982a 107 double fPrimVertCov[6]; // primary vertex covariances
d0e92d9a 108 AliFemtoTrackCollection* fTrackCollection; // collection of tracks
109 AliFemtoV0Collection* fV0Collection; // collection of V0s
110 AliFemtoXiCollection* fXiCollection; // collection of Xis
111 AliFemtoKinkCollection* fKinkCollection; // collection of kinks
112
113 //for alice changed by Marek Chojnacki
114 float fZDCN1Energy; // reconstructed energy in the neutron ZDC
115 float fZDCP1Energy; // reconstructed energy in the proton ZDC
116 float fZDCN2Energy; // reconstructed energy in the neutron ZDC
117 float fZDCP2Energy; // reconstructed energy in the proton ZDC
118 float fZDCEMEnergy; // reconstructed energy in the electromagnetic ZDC
119 unsigned int fZDCParticipants; // number of participants estimated by the ZDC
120
121 unsigned long int fTriggerMask; // Trigger Type (mask)
122 unsigned char fTriggerCluster; // Trigger cluster (mask)
683877d2 123
124 float fReactionPlaneAngle; // reconstructed reaction plane angle
d0e92d9a 125};
126
127
128
129#endif