1 #ifndef ECALTPGPARAMBUILDER_H 2 #define ECALTPGPARAMBUILDER_H 69 bool computeLinearizerParam(
double theta,
double gainRatio,
double calibCoeff,
std::string subdet,
int & mult ,
int &
shift) ;
70 void create_header() ;
71 int uncodeWeight(
double weight,
int complement2 = 7) ;
72 double uncodeWeight(
int iweight,
int complement2 = 7) ;
78 void getCoeff(
coeffStruc & coeff,
const std::map<EcalLogicID, MonPedestalsDat> & pedMap,
const EcalLogicID & logicId) ;
83 void computeFineGrainEBParameters(uint & lowRatio, uint & highRatio,
84 uint & lowThreshold, uint & highThreshold, uint & lut) ;
85 void computeFineGrainEEParameters(uint &
threshold, uint & lut_strip, uint & lut_tower) ;
86 int getEtaSlice(
int tccId,
int towerInTCC) ;
87 bool realignBaseline(
linStruc & lin,
float forceBase12) ;
88 int getGCTRegionPhi(
int ttphi) ;
89 int getGCTRegionEta(
int tteta) ;
91 std::pair < std::string, int > getCrate(
int tcc) ;
174 Char_t ntupleDet_[10] ;
175 Char_t ntupleCrate_[10] ;
std::map< int, std::vector< int > > phases_EB_
bool useTransparencyCorr_
edm::ESHandle< EcalTrigTowerConstituentsMap > eTTmap_
def analyze(function, filename, filter=None)
unsigned int SFGVB_Threshold_
std::string TimingPhases_EE_
Geom::Theta< T > theta() const
unsigned tccId(DetId const &)
std::string Transparency_Corr_
bool weight_unbias_recovery_
std::map< int, double > Transparency_Correction_
unsigned int FG_lut_tower_EE_
std::string TimingDelays_EE_
const CaloSubdetectorGeometry * theEndcapGeometry_
double FG_lowThreshold_EB_
std::ofstream * out_file_
std::map< int, std::vector< int > > delays_EB_
int SFGVB_SpikeKillingThreshold_
double TTF_lowThreshold_EE_
std::map< int, std::vector< int > > delays_EE_
std::string TimingDelays_EB_
const EcalElectronicsMapping * theMapping_
bool useTransverseEnergy_
double LUT_stochastic_EE_
std::ofstream * geomFile_
const CaloSubdetectorGeometry * theBarrelGeometry_
bool useInterCalibration_
std::string TimingPhases_EB_
double LUT_stochastic_EB_
static unsigned int const shift
unsigned int complement2_
std::map< int, std::vector< int > > phases_EE_
double TTF_lowThreshold_EB_