| 44 |
// |
// |
| 45 |
Float_t fM; |
Float_t fM; |
| 46 |
Float_t fM1; |
Float_t fM1; |
| 47 |
Float_t fPl; |
Int_t fPl; |
| 48 |
Float_t fConv_r; |
Float_t fConv_rxe; |
| 49 |
|
Float_t fConv_rxo; |
| 50 |
|
Float_t fConv_rye; |
| 51 |
|
Float_t fConv_ryo; |
| 52 |
Bool_t fLong; |
Bool_t fLong; |
| 53 |
// |
// |
| 54 |
|
Float_t fEnergyxe; |
| 55 |
|
Float_t fEnergyxo; |
| 56 |
|
Float_t fEnergyye; |
| 57 |
|
Float_t fEnergyyo; |
| 58 |
Float_t fEnergy; |
Float_t fEnergy; |
| 59 |
Float_t fCount; |
Float_t fCount; |
| 60 |
Int_t fMax_plane; |
Int_t fMax_planexe; |
| 61 |
|
Int_t fMax_planexo; |
| 62 |
|
Int_t fMax_planeyo; |
| 63 |
|
Int_t fMax_planeye; |
| 64 |
|
Float_t fMax_plane; |
| 65 |
// |
// |
| 66 |
Float_t xe1; |
Float_t xe1; |
| 67 |
Float_t xe2; |
Float_t xe2; |
| 96 |
Int_t view; |
Int_t view; |
| 97 |
Int_t plane; |
Int_t plane; |
| 98 |
Int_t strip; |
Int_t strip; |
| 99 |
|
Int_t fRad; |
| 100 |
Float_t energyxe; |
Float_t energyxe; |
| 101 |
Float_t energyyo; |
Float_t energyyo; |
| 102 |
Float_t energyxo; |
Float_t energyxo; |
| 112 |
Bool_t fYosel; |
Bool_t fYosel; |
| 113 |
Bool_t fYesel; |
Bool_t fYesel; |
| 114 |
Bool_t fSel; |
Bool_t fSel; |
| 115 |
|
Bool_t fPartsel; |
| 116 |
|
Int_t fXeout; |
| 117 |
|
Int_t fYeout; |
| 118 |
|
Int_t fXoout; |
| 119 |
|
Int_t fYoout; |
| 120 |
|
Int_t fXomin; |
| 121 |
|
Int_t fXemin; |
| 122 |
|
Int_t fYomin; |
| 123 |
|
Int_t fYemin; |
| 124 |
// |
// |
| 125 |
Bool_t fSimu; |
Bool_t fSimu; |
| 126 |
void DefineGeometry(); |
void DefineGeometry(); |
| 127 |
|
void Set(); |
| 128 |
|
|
| 129 |
public: |
public: |
| 130 |
// |
// |
| 146 |
void Print(Option_t *option){Print();}; |
void Print(Option_t *option){Print();}; |
| 147 |
// |
// |
| 148 |
Bool_t IsInsideAcceptance(TString section); |
Bool_t IsInsideAcceptance(TString section); |
| 149 |
Bool_t IsInsideAcceptance(TString section, Bool_t fast); |
Bool_t IsInsideReducedAcceptance(){return fPartsel;}; |
| 150 |
// |
// |
| 151 |
Bool_t IsInsideXE(){return(IsInsideAcceptance("XE"));}; |
Bool_t IsInsideXE(){return(IsInsideAcceptance("XE"));}; |
| 152 |
Bool_t InsideXEcheck(){return fXesel;}; |
Bool_t InsideXEcheck(){return fXesel;}; |
| 161 |
Float_t GetEnergy(TString section){ Process(section); return fEnergy;}; |
Float_t GetEnergy(TString section){ Process(section); return fEnergy;}; |
| 162 |
Float_t GetCount(){ return fCount;}; |
Float_t GetCount(){ return fCount;}; |
| 163 |
// |
// |
| 164 |
|
Float_t GetMaxplane(){ return fMax_plane;}; |
| 165 |
|
Float_t GetMaxEnergy(TString section){ return(this->GetEnergy(section)*this->GetConversionFactor(section));}; |
| 166 |
|
Int_t GetMaxplane(TString section); |
| 167 |
|
// |
| 168 |
void UseLongitudinalFitEnergy(){ fPl = 0; fLong = true;}; |
void UseLongitudinalFitEnergy(){ fPl = 0; fLong = true;}; |
| 169 |
void UseMeasuredEnergyUpToMax(){ fLong = false;}; |
void UseMeasuredEnergyUpToMax(){ fLong = false;}; |
| 170 |
void SetMargin(Float_t margin){fM = margin; fM1 = fM - 0.122 -0.096; if ( fM1 < 0. ) fM1 = 0.;}; |
void SetMargin(Float_t margin){fM = margin + 0.096; fM1 = margin - 0.122 - 0.096; if ( fM1 < 0. ) fM1 = 0.;}; |
| 171 |
|
void SetMarginStripDirection(Float_t margin){fM = margin + 0.096;}; |
| 172 |
|
void SetMarginStripReading(Float_t margin){fM1 = margin -0.122 - 0.096;}; |
| 173 |
|
void SetRadius(Int_t strip){fRad = strip;}; |
| 174 |
void SetMaxPlaneOffset(Int_t noplanes){fPl = noplanes;}; |
void SetMaxPlaneOffset(Int_t noplanes){fPl = noplanes;}; |
| 175 |
// |
// |
| 176 |
void SetConversionFactor(Float_t conv_r){ fConv_r = conv_r;}; |
void SetMinimumContainment(TString section, Int_t plane); |
| 177 |
|
Int_t GetMinimumContainment(TString section); |
| 178 |
|
void SetConversionFactor(TString section, Float_t conv_r); |
| 179 |
|
Float_t GetConversionFactor(TString section); |
| 180 |
// |
// |
| 181 |
ClassDef(CaloEnergy,1); |
ClassDef(CaloEnergy,1); |
| 182 |
}; |
}; |