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