PandaRoot
PndEmcCorrection.h
Go to the documentation of this file.
1 //--------------------------------------------------------------------------
2 // File and Version Information:
3 // $Id:$
4 //
5 // Description:
6 // Class EmcCorrection
7 // Do an energy and theta corrections
8 // (at the moment for photons, 4.02.2010)
9 //
10 // Author List:
11 // A. Biegun
12 //------------------------------------------------------------------------
13 //#pragma once
14 #ifndef PNDEMCCORRECTION_H
15 #define PNDEMCCORRECTION_H
16 
17 //#include "FairTask.h"
18 #include "TObject.h"
19 
20 #include "PndEmcCluster.h"
21 
22 #include <TH2.h>
23 #include <TFile.h>
24 #include <TString.h>
25 
26 class TClonesArray;
27 class TObjectArray;
28 class PndEmcDigiPar;
29 class PndEmcRecoPar;
30 
31 class PndEmcCluster;
32 class PndEmcDigi;
33 
34 class PndEmcCorrection : public TObject {
35 
36  public:
37  // Constructors
39 
40  PndEmcCorrection(Int_t chosenModule, Double_t EnCorPhoton, Double_t EnCorElectron, Double_t EnCorPion, Double_t EnCorOther, Double_t ThCorPhoton, Double_t ThCorElectron,
41  Double_t ThCorPion, Double_t ThCorOther, Double_t valzEnPhoton, Double_t valzEnElectron, Double_t valzEnPion, Double_t valzEnOther, Double_t valzThPhoton,
42  Double_t valzThElectron, Double_t valzThPion, Double_t valzThOther);
43 
44  // Destructor
45  virtual ~PndEmcCorrection();
46 
47  Int_t Module();
48 
49  Double_t EnergyCorrPhoton();
50  Double_t EnergyCorrElectron();
51  Double_t EnergyCorrPion();
52  Double_t EnergyCorrOther();
53 
54  Double_t ThetaCorrPhoton();
55  Double_t ThetaCorrElectron();
56  Double_t ThetaCorrPion();
57  Double_t ThetaCorrOther();
58 
59  Double_t EnCorrFactorPhoton();
60  Double_t EnCorrFactorElectron();
61  Double_t EnCorrFactorPion();
62  Double_t EnCorrFactorOther();
63 
64  Double_t ThCorrFactorPhoton();
65  Double_t ThCorrFactorElectron();
66  Double_t ThCorrFactorPion();
67  Double_t ThCorrFactorOther();
68 
69  private:
70  // Copy const.
71  PndEmcCorrection(const PndEmcCorrection &) = delete;
72  // Assignment operator.
73  PndEmcCorrection &operator=(const PndEmcCorrection &) = delete;
74 
75  Int_t fChosenModule;
76 
77  Double_t fEnergyCorrPhoton;
78  Double_t fEnergyCorrElectron;
79  Double_t fEnergyCorrPion;
80  Double_t fEnergyCorrOther;
81 
82  Double_t fThetaCorrPhoton;
83  Double_t fThetaCorrElectron;
84  Double_t fThetaCorrPion;
85  Double_t fThetaCorrOther;
86 
87  Double_t fEnCorrFactorPhoton;
88  Double_t fEnCorrFactorElectron;
89  Double_t fEnCorrFactorPion;
90  Double_t fEnCorrFactorOther;
91 
92  Double_t fThCorrFactorPhoton;
93  Double_t fThCorrFactorElectron;
94  Double_t fThCorrFactorPion;
95  Double_t fThCorrFactorOther;
96 
97  ClassDef(PndEmcCorrection, 1)
98 };
99 #endif // PNDEMCCORRECTION_HH
Double_t EnergyCorrOther()
Double_t EnergyCorrPhoton()
Double_t EnergyCorrElectron()
Double_t ThetaCorrOther()
Double_t ThCorrFactorOther()
Double_t ThetaCorrElectron()
virtual ~PndEmcCorrection()
Double_t ThetaCorrPion()
Double_t EnCorrFactorPion()
Double_t EnergyCorrPion()
Double_t ThCorrFactorPion()
Double_t EnCorrFactorOther()
Double_t ThetaCorrPhoton()
Double_t EnCorrFactorElectron()
Double_t EnCorrFactorPhoton()
Double_t ThCorrFactorElectron()
parameter set of Emc digitisation
Definition: PndEmcDigiPar.h:12
Parameter set for Emc Reco.
Definition: PndEmcRecoPar.h:12
Double_t ThCorrFactorPhoton()