Go to the documentation of this file. 1 #ifndef CalibCalorimetry_EcalTPGTools_EcalTPGParamBuilder_h
2 #define CalibCalorimetry_EcalTPGTools_EcalTPGParamBuilder_h
105 std::pair<std::string, int>
getCrate(
int tcc);
std::string Transparency_Corr_
int getGCTRegionPhi(int ttphi)
std::ofstream * geomFile_
edm::ESGetToken< EcalElectronicsMapping, EcalMappingRcd > ecalmappingToken_
bool useInterCalibration_
const CaloSubdetectorGeometry * theEndcapGeometry_
edm::ESGetToken< CaloSubdetectorGeometry, EcalEndcapGeometryRecord > theEndcapGeometryToken_
std::map< int, std::vector< int > > phases_EE_
bool checkIfOK(EcalPedestals::Item item)
unsigned int SFGVB_Threshold_
int SFGVB_SpikeKillingThreshold_
unsigned int pedestal_offset_
double FG_highThreshold_EB_
const EcalTrigTowerConstituentsMap * eTTmap_
edm::ESGetToken< CaloSubdetectorGeometry, EcalBarrelGeometryRecord > theBarrelGeometryToken_
bool useTransverseEnergy_
edm::ESGetToken< EcalPedestals, EcalPedestalsRcd > ecalPedestalsToken_
EcalTPGParamBuilder(edm::ParameterSet const &pSet)
std::map< int, std::vector< int > > delays_EB_
int getGCTRegionEta(int tteta)
edm::ESGetToken< EcalTrigTowerConstituentsMap, IdealGeometryRecord > eTTmapToken_
int getEtaSlice(int tccId, int towerInTCC)
std::ofstream * out_file_
std::string TimingPhases_EE_
unsigned int complement2_
Geom::Theta< T > theta() const
bool useTransparencyCorr_
edm::ESGetToken< EcalLaserAPDPNRatios, EcalLaserAPDPNRatiosRcd > ecalLaserAPDPNRatiosToken_
edm::ESGetToken< EcalLaserAlphas, EcalLaserAlphasRcd > ecalLaserAlphasToken_
std::map< int, std::vector< int > > phases_EB_
double FG_lowThreshold_EB_
void computeFineGrainEBParameters(uint &lowRatio, uint &highRatio, uint &lowThreshold, uint &highThreshold, uint &lut)
std::map< int, std::vector< int > > delays_EE_
bool computeLinearizerParam(double theta, double gainRatio, double calibCoeff, std::string subdet, int &mult, int &shift)
edm::ESGetToken< EcalIntercalibConstants, EcalIntercalibConstantsRcd > ecalIntercalibConstantsToken_
edm::ESGetToken< EcalADCToGeVConstant, EcalADCToGeVConstantRcd > ecalADCToGeVConstantToken_
bool weight_unbias_recovery_
double TTF_highThreshold_EE_
int uncodeWeight(double weight, int complement2=7)
std::pair< std::string, int > getCrate(int tcc)
std::string TimingDelays_EB_
void analyze(const edm::Event &evt, const edm::EventSetup &evtSetup) override
std::vector< unsigned int > computeWeights(EcalShapeBase &shape, TH1F *histo)
double TTF_lowThreshold_EE_
double TTF_lowThreshold_EB_
~EcalTPGParamBuilder() override
unsigned int FG_lut_strip_EE_
static unsigned const int shift
std::map< int, double > Transparency_Correction_
bool realignBaseline(linStruc &lin, float forceBase12)
const CaloSubdetectorGeometry * theBarrelGeometry_
const EcalElectronicsMapping * theMapping_
std::string TimingPhases_EB_
double LUT_stochastic_EB_
unsigned tccId(DetId const &, EcalElectronicsMapping const *)
double LUT_stochastic_EE_
double TTF_highThreshold_EB_
edm::ESGetToken< EcalGainRatios, EcalGainRatiosRcd > ecalGainRatiosToken_
void computeFineGrainEEParameters(uint &threshold, uint &lut_strip, uint &lut_tower)
unsigned int FG_lut_tower_EE_
void computeLUT(int *lut, std::string det="EB")
std::string TimingDelays_EE_
std::string getDet(int tcc)
void getCoeff(coeffStruc &coeff, const EcalGainRatioMap &gainMap, uint rawId)