]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ZDC/AliZDCReco.h
Changes needed by the ZDC calibration (A.Colla)
[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:
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
93f80a6f 22 virtual Float_t GetZNenergy() const {return fZNenergy;}
23 virtual Float_t GetZPenergy() const {return fZPenergy;}
24 virtual Float_t GetZDCenergy() const {return fZDCenergy;}
25 virtual Float_t GetZEMenergy() const {return fZEMenergy;}
26 virtual Int_t GetNDetSpecN() const {return fNDetSpecN;}
27 virtual Int_t GetNDetSpecP() const {return fNDetSpecP;}
28 virtual Int_t GetNTrueSpecN() const {return fNTrueSpecN;}
29 virtual Int_t GetNTrueSpecP() const {return fNTrueSpecP;}
30 virtual Int_t GetNTrueSpec() const {return fNTrueSpec;}
31 virtual Int_t GetNPart() const {return fNPart;}
32 virtual Float_t GetImpPar() const {return fImpPar;}
1450a7cd 33
93f80a6f 34 // Print method
35 virtual void Print(Option_t *) const;
36
37private:
1450a7cd 38 // Data members
39 Float_t fZNenergy; // Energy detected in neutron ZDC
40 Float_t fZPenergy; // Energy detected in proton ZDC
41 Float_t fZDCenergy; // Total hadronic energy detcted in ZDCs
42 Float_t fZEMenergy; // Energy detected in EM ZDC
43 Int_t fNDetSpecN; // Number of spectator neutrons detected
44 Int_t fNDetSpecP; // Number of spectator protons detected
45 Int_t fNTrueSpecN; // Estimate of the number of spectator neutrons generated
46 Int_t fNTrueSpecP; // Estimate of the number of spectator protons generated
47 Int_t fNTrueSpec ; // Estimate of the total number of spectators
48 Int_t fNPart; // Estimate of the number of participants for 1 nucleus
49 Float_t fImpPar; // Estimate of the impact parameter
50
1450a7cd 51
52 ClassDef(AliZDCReco,1) // RecPoints for the Zero Degree Calorimeters
53};
54
55#endif