| 14 | #include <CalibCalPedEvent.h> | #include <CalibCalPedEvent.h> | 
| 15 | // | // | 
| 16 | #include <CaloCore.h> | #include <CaloCore.h> | 
| 17 |  | #include <CaloLevel1.h> | 
| 18 | #include <CaloLevel2.h> | #include <CaloLevel2.h> | 
| 19 |  |  | 
| 20 | /** | /** | 
| 65 | // Energy vector | // Energy vector | 
| 66 | // | // | 
| 67 | Int_t istrip; ///< number of strip above threshold | Int_t istrip; ///< number of strip above threshold | 
| 68 | Float_t svstrip[4224]; ///< saved calibrated energy | Int_t svstrip[4224]; ///< saved calibrated energy | 
| 69 | // | // | 
| 70 | // Variables needed to handle parameters files | // Variables needed to handle parameters files | 
| 71 | // | // | 
| 72 | Bool_t calopar1; ///< boolean, is true if parameter set number 1 has already been loaded | Bool_t calopar1; ///< boolean, is true if parameter set number 101 has already been loaded | 
| 73 | Bool_t calopar2; ///< boolean, is true if parameter set number 2 has already been loaded | Bool_t calopar2; ///< boolean, is true if parameter set number 102 has already been loaded | 
| 74 | UInt_t ftcalopar1; ///< parameter set 1 lower limit validity | Bool_t calopar3; ///< boolean, is true if parameter set number 103 has already been loaded | 
| 75 | UInt_t ttcalopar1; ///< parameter set 1 upper limit validity | UInt_t ftcalopar1; ///< parameter set 101 lower limit validity | 
| 76 | UInt_t ftcalopar2; ///< parameter set 2 lower limit validity | UInt_t ttcalopar1; ///< parameter set 101 upper limit validity | 
| 77 | UInt_t ttcalopar2; ///< parameter set 2 upper limit validity | UInt_t ftcalopar2; ///< parameter set 102 lower limit validity | 
| 78 |  | UInt_t ttcalopar2; ///< parameter set 102 upper limit validity | 
| 79 |  | UInt_t ftcalopar3; ///< parameter set 103 lower limit validity | 
| 80 |  | UInt_t ttcalopar3; ///< parameter set 103 upper limit validity | 
| 81 | // | // | 
| 82 | // private methods | // private methods | 
| 83 | // | // | 
| 96 | // ADC to MIP conversion values | // ADC to MIP conversion values | 
| 97 | // | // | 
| 98 | Float_t mip[2][22][96]; ///< ADC to MIP conversion values | Float_t mip[2][22][96]; ///< ADC to MIP conversion values | 
| 99 |  | Int_t obadmask[2][22][96]; ///< Offline mask of bad strips (not used to calculate baselines and calorimeter variables) | 
| 100 | Float_t emin; ///< Offline threshold to separate noise from signal | Float_t emin; ///< Offline threshold to separate noise from signal | 
| 101 | // | // | 
| 102 | // Structures to pass data from/to F77 | // Structures to pass data from/to F77 | 
| 116 | void GetCommonVar(); ///< call fortran common variables program | void GetCommonVar(); ///< call fortran common variables program | 
| 117 | void GetTrkVar(); ///< call fortran track-related variables program | void GetTrkVar(); ///< call fortran track-related variables program | 
| 118 | void ClearStructs(); ///< clear input and output structures | void ClearStructs(); ///< clear input and output structures | 
| 119 | void FillCommonVar(CaloLevel2 *ca); ///< copy common variables from structure to class | void FillCommonVar(CaloLevel1 *c1, CaloLevel2 *ca); ///< copy common variables from structure to class | 
| 120 | void FillTrkVar(CaloLevel2 *ca, Int_t nutrk); ///< copy track-related variables from structure to class | void FillTrkVar(CaloLevel2 *ca, Int_t nutrk); ///< copy track-related variables from structure to class | 
| 121 | void RunClose(); ///< clear variables which could change from one run to another | void RunClose(); ///< clear variables which could change from one run to another | 
| 122 | // | // |