]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ZDC/AliZDCReco.h
Monalisa configuration added: host and table name
[u/mrichter/AliRoot.git] / ZDC / AliZDCReco.h
CommitLineData
1450a7cd 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
12class AliZDCReco : public TObject {
13
14public:
cc2abffd 15 AliZDCReco();
646f1679 16 AliZDCReco(Float_t ezn1, Float_t ezp1, Float_t ezn2, Float_t ezp2,
17 Float_t* ezn1tow, Float_t* ezp1tow,
18 Float_t* ezn2tow, Float_t* ezp2tow,
84d6255e 19 Float_t* ezn1siglr, Float_t* ezp1siglr,
20 Float_t* ezn2siglr, Float_t* ezp2siglr,
a85132e7 21 Float_t ezem1, Float_t ezem2,
646f1679 22 //
23 Int_t detspnLeft, Int_t detsppLeft, Int_t detspnRight, Int_t detsppRight,
24 Int_t trspnLeft, Int_t trsppLeft, Int_t trspLeft,
25 Int_t trspnRight, Int_t trsppRight, Int_t trspRight,
26 Int_t partLeft, Int_t partRight,
27 Float_t b);
28
cc2abffd 29 AliZDCReco(const AliZDCReco &oldreco);
1450a7cd 30 virtual ~AliZDCReco() {}
31
32 // Getters
646f1679 33 virtual Float_t GetZN1Energy() const {return fZN1Energy;}
34 virtual Float_t GetZP1Energy() const {return fZP1Energy;}
35 virtual Float_t GetZN2Energy() const {return fZN2Energy;}
36 virtual Float_t GetZP2Energy() const {return fZP2Energy;}
37 //
38 virtual Float_t GetZN1EnTow(Int_t tow) const {return fZN1EnTow[tow];}
39 virtual Float_t GetZP1EnTow(Int_t tow) const {return fZP1EnTow[tow];}
40 virtual Float_t GetZN2EnTow(Int_t tow) const {return fZN2EnTow[tow];}
41 virtual Float_t GetZP2EnTow(Int_t tow) const {return fZP2EnTow[tow];}
42 //
84d6255e 43 virtual Float_t GetZN1SigLowRes(Int_t tow) const {return fZN1SigLowRes[tow];}
44 virtual Float_t GetZP1SigLowRes(Int_t tow) const {return fZP1SigLowRes[tow];}
45 virtual Float_t GetZN2SigLowRes(Int_t tow) const {return fZN2SigLowRes[tow];}
46 virtual Float_t GetZP2SigLowRes(Int_t tow) const {return fZP2SigLowRes[tow];}
47 //
a85132e7 48 virtual Float_t GetZEM1signal() const {return fZEM1signal;}
49 virtual Float_t GetZEM2signal() const {return fZEM2signal;}
646f1679 50 //
51 virtual Int_t GetNDetSpecNLeft() const {return fNDetSpecNLeft;}
52 virtual Int_t GetNDetSpecPLeft() const {return fNDetSpecPLeft;}
53 virtual Int_t GetNDetSpecNRight() const {return fNDetSpecNRight;}
54 virtual Int_t GetNDetSpecPRight() const {return fNDetSpecPRight;}
55 virtual Int_t GetNTrueSpecNLeft() const {return fNTrueSpecNLeft;}
56 virtual Int_t GetNTrueSpecPLeft() const {return fNTrueSpecPLeft;}
57 virtual Int_t GetNTrueSpecLeft() const {return fNTrueSpecLeft;}
58 virtual Int_t GetNTrueSpecNRight() const {return fNTrueSpecNRight;}
59 virtual Int_t GetNTrueSpecPRight() const {return fNTrueSpecPRight;}
60 virtual Int_t GetNTrueSpecRight() const {return fNTrueSpecRight;}
61 virtual Int_t GetNPartLeft() const {return fNPartLeft;}
62 virtual Int_t GetNPartRight() const {return fNPartRight;}
63 virtual Float_t GetImpPar() const {return fImpPar;}
1450a7cd 64
93f80a6f 65 // Print method
66 virtual void Print(Option_t *) const;
67
68private:
1450a7cd 69 // Data members
646f1679 70 Float_t fZN1Energy; // Energy detected in ZN1 (sum of 5 tower signals)
71 Float_t fZP1Energy; // Energy detected in ZP1 (sum of 5 tower signals)
72 Float_t fZN2Energy; // Energy detected in ZN2 (sum of 5 tower signals)
73 Float_t fZP2Energy; // Energy detected in ZP2 (sum of 5 tower signals)
74 //
75 Float_t fZN1EnTow[5]; // Energy in ZN1 towers
76 Float_t fZP1EnTow[5]; // Energy in ZP1 towers
77 Float_t fZN2EnTow[5]; // Energy in ZN2 towers
78 Float_t fZP2EnTow[5]; // Energy in ZP2 towers
79 //
84d6255e 80 Float_t fZN1SigLowRes[5]; // Energy in ZN1 towers - low res ch.
81 Float_t fZP1SigLowRes[5]; // Energy in ZP1 towers - low res ch.
82 Float_t fZN2SigLowRes[5]; // Energy in ZN2 towers - low res ch.
83 Float_t fZP2SigLowRes[5]; // Energy in ZP2 towers - low res ch.
84 //
a85132e7 85 Float_t fZEM1signal; // Signal in EM1 ZDC
86 Float_t fZEM2signal; // Signal in EM2 ZDC
646f1679 87 //
980685f2 88 Int_t fNDetSpecNLeft; // Number of spectator neutrons detected
89 Int_t fNDetSpecPLeft; // Number of spectator protons detected
90 Int_t fNDetSpecNRight; // Number of spectator neutrons detected
91 Int_t fNDetSpecPRight; // Number of spectator protons detected
646f1679 92 Int_t fNTrueSpecNLeft; // Estimate of the number of spectator neutrons generated
93 Int_t fNTrueSpecPLeft; // Estimate of the number of spectator protons generated
94 Int_t fNTrueSpecLeft; // Estimate of the total number of spectators
95 Int_t fNTrueSpecNRight;// Estimate of the number of spectator neutrons generated
96 Int_t fNTrueSpecPRight;// Estimate of the number of spectator protons generated
97 Int_t fNTrueSpecRight; // Estimate of the total number of spectators
98 Int_t fNPartLeft; // Estimate of the number of participants for 1 nucleus
99 Int_t fNPartRight; // Estimate of the number of participants for 1 nucleus
1450a7cd 100 Float_t fImpPar; // Estimate of the impact parameter
101
1450a7cd 102
a85132e7 103 ClassDef(AliZDCReco,4) // RecPoints for the Zero Degree Calorimeters
1450a7cd 104};
105
106#endif