1 #ifndef ECALTPGPARAMBUILDER_H
2 #define ECALTPGPARAMBUILDER_H
76 uint & lowThreshold, uint & highThreshold, uint & lut) ;
83 std::pair < std::string, int >
getCrate(
int tcc) ;
std::map< int, std::vector< int > > phases_EB_
bool checkIfOK(const EcalPedestals::Item &item)
edm::ESHandle< EcalTrigTowerConstituentsMap > eTTmap_
double TTF_highThreshold_EB_
unsigned int SFGVB_Threshold_
std::pair< std::string, int > getCrate(int tcc)
int getGCTRegionPhi(int ttphi)
std::string TimingPhases_EE_
std::string getDet(int tcc)
Geom::Theta< T > theta() const
bool weight_unbias_recovery_
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_
void getCoeff(coeffStruc &coeff, const EcalIntercalibConstantMap &calibMap, uint rawId)
int SFGVB_SpikeKillingThreshold_
std::vector< unsigned int > computeWeights(EcalShapeBase &shape, TH1F *histo)
double TTF_lowThreshold_EE_
std::map< int, std::vector< int > > delays_EE_
std::string TimingDelays_EB_
const EcalElectronicsMapping * theMapping_
void computeLUT(int *lut, std::string det="EB")
bool useTransverseEnergy_
EcalTPGParamBuilder(edm::ParameterSet const &pSet)
virtual void analyze(const edm::Event &evt, const edm::EventSetup &evtSetup)
double LUT_stochastic_EE_
std::ofstream * geomFile_
void computeFineGrainEEParameters(uint &threshold, uint &lut_strip, uint &lut_tower)
bool realignBaseline(linStruc &lin, float forceBase12)
bool computeLinearizerParam(double theta, double gainRatio, double calibCoeff, std::string subdet, int &mult, int &shift)
unsigned int pedestal_offset_
const CaloSubdetectorGeometry * theBarrelGeometry_
bool useInterCalibration_
unsigned tccId(const DetId &)
double TTF_highThreshold_EE_
std::string TimingPhases_EB_
double LUT_stochastic_EB_
static unsigned int const shift
unsigned int complement2_
int getGCTRegionEta(int tteta)
unsigned int FG_lut_strip_EE_
int getEtaSlice(int tccId, int towerInTCC)
double FG_highThreshold_EB_
std::map< int, std::vector< int > > phases_EE_
double TTF_lowThreshold_EB_
void computeFineGrainEBParameters(uint &lowRatio, uint &highRatio, uint &lowThreshold, uint &highThreshold, uint &lut)
int uncodeWeight(double weight, int complement2=7)