Go to the documentation of this file.
4 #ifndef ECALDCCWEIGHTBUILDER_CC
5 #define ECALDCCWEIGHTBUILDER_CC
69 std::vector<double>&
result);
90 void dbId(
const DetId& detId,
int&
fedId,
int& smId,
int& ruId,
int& xtalId)
const;
99 void sort(
const std::vector<T>&
a, std::vector<int>&
s,
bool decreasingOrder =
false);
139 #endif //ECALDCCWEIGHTBUILDER_CC not defined
const EcalElectronicsMapping * ecalElectronicsMap_
std::vector< double > inputWeights_
void unbiasWeights(std::vector< double > &weights, std::vector< int32_t > *encodedWeigths)
void computeWeights(const EcalShapeBase &shape, int binOfMax, double timePhase, int iFirst0, int nWeights, int iSkip0, std::vector< double > &result)
static const int ecalDccFedIdMin
void writeWeightToAsciiFile()
EcalIntercalibConstantMap & calibMap_
static const double weightScale_
~EcalDccWeightBuilder() override
bool dccWeightsWithIntercalib_
void dbId(const DetId &detId, int &fedId, int &smId, int &ruId, int &xtalId) const
std::string asciiOutputFileName_
std::map< DetId, std::vector< int > > encodedWeights_
double decodeWeight(int W)
double intercalib(const DetId &detId)
edm::ESHandle< CaloGeometry > geom_
std::string rootOutputFileName_
void writeWeightToRootFile()
void sort(const std::vector< T > &a, std::vector< int > &s, bool decreasingOrder=false)
static const int ecalDccFedIdMax
int encodeWeight(double w)
EcalDccWeightBuilder(edm::ParameterSet const &ps)
EcalIntercalibConstantMap emptyCalibMap_
void analyze(const edm::Event &event, const edm::EventSetup &es) override
void computeAllWeights(bool withIntercalib, const edm::EventSetup &es)