]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ZDC/AliZDCReco.h
Signal for spectator protons in ZDC
[u/mrichter/AliRoot.git] / ZDC / AliZDCReco.h
1 #ifndef ALIZDCRECO_H
2 #define ALIZDCRECO_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 ////////////////////////////////////////////////
7 //  Classe for ZDC RecPoints                  //
8 ////////////////////////////////////////////////
9
10 #include "TObject.h"
11
12 class AliZDCReco : public TObject {
13
14 public:
15   AliZDCReco() {}
16   AliZDCReco(Float_t ezn, Float_t ezp, Float_t ezdc, Float_t ezem, Int_t detspn, 
17              Int_t detspp, Int_t trspn, Int_t trspp, Int_t trsp, Int_t part, Float_t b);
18   AliZDCReco(AliZDCReco* oldreco) {*this=*oldreco;}
19   virtual ~AliZDCReco() {}
20
21   // Getters 
22   virtual Float_t GetZNenergy()      {return fZNenergy;}
23   virtual Float_t GetZPenergy()      {return fZPenergy;}
24   virtual Float_t GetZDCenergy()     {return fZDCenergy;}
25   virtual Float_t GetZEMenergy()     {return fZEMenergy;}
26   virtual Int_t   GetNDetSpecN()     {return fNDetSpecN;}
27   virtual Int_t   GetNDetSpecP()     {return fNDetSpecP;}
28   virtual Int_t   GetNTrueSpecN()    {return fNTrueSpecN;}
29   virtual Int_t   GetNTrueSpecP()    {return fNTrueSpecP;}
30   virtual Int_t   GetNTrueSpec()     {return fNTrueSpec;}
31   virtual Int_t   GetNPart()         {return fNPart;}
32   virtual Float_t GetImpPar()        {return fImpPar;}
33
34   // Data members
35   Float_t fZNenergy;    // Energy detected in neutron ZDC
36   Float_t fZPenergy;    // Energy detected in proton ZDC
37   Float_t fZDCenergy;   // Total hadronic energy detcted in ZDCs
38   Float_t fZEMenergy;   // Energy detected in EM ZDC
39   Int_t   fNDetSpecN;   // Number of spectator neutrons detected
40   Int_t   fNDetSpecP;   // Number of spectator protons detected
41   Int_t   fNTrueSpecN;  // Estimate of the number of spectator neutrons generated
42   Int_t   fNTrueSpecP;  // Estimate of the number of spectator protons generated
43   Int_t   fNTrueSpec ;  // Estimate of the total number of spectators
44   Int_t   fNPart;       // Estimate of the number of participants for 1 nucleus
45   Float_t fImpPar;      // Estimate of the impact parameter
46
47   // Print method
48   virtual void Print(Option_t *) const {
49      printf("   ---   Reconstruction -> EZN = %f TeV, EZP = %f TeV, EZDC = %f TeV,"
50             " EZEM = %f GeV \n          NDetSpecN = %d, NDetSpecP = %d, Nspecn = %d,"
51             " Nspecp = %d, Npart = %d, b = %f fm.\n ", 
52             fZNenergy,fZPenergy,fZDCenergy,fZEMenergy,fNDetSpecN,fNDetSpecP,
53             fNTrueSpecN,fNTrueSpecP,fNPart,fImpPar);
54   }
55
56   ClassDef(AliZDCReco,1)  // RecPoints for the Zero Degree Calorimeters
57 };
58  
59 #endif