|
void | analyze (const edm::Event &evt, const edm::EventSetup &evtSetup) override |
|
| EcalPFRecHitThresholdsMaker (const edm::ParameterSet &iConfig) |
|
| ~EcalPFRecHitThresholdsMaker () override |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzer () |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () |
|
SerialTaskQueue * | globalRunsQueue () |
|
ModuleDescription const & | moduleDescription () const |
|
std::string | workerType () const |
|
| ~EDAnalyzer () override |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
void | convertCurrentProcessAlias (std::string const &processName) |
| Convert "@currentProcess" in InputTag process names to the actual current process name. More...
|
|
| EDConsumerBase () |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
| EDConsumerBase (EDConsumerBase &&)=default |
|
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
|
typedef EDAnalyzer | ModuleType |
|
typedef ProductLabels | Labels |
|
static const std::string & | baseType () |
|
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
|
static void | prevalidate (ConfigurationDescriptions &) |
|
static bool | wantsGlobalLuminosityBlocks () |
|
static bool | wantsGlobalRuns () |
|
static bool | wantsStreamLuminosityBlocks () |
|
static bool | wantsStreamRuns () |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
|
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
|
template<BranchType B> |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
|
ConsumesCollector | consumesCollector () |
| Use a ConsumesCollector to gather consumes information from helper functions. More...
|
|
template<typename ProductType , BranchType B = InEvent> |
void | consumesMany () |
|
void | consumesMany (const TypeToGet &id) |
|
template<BranchType B> |
void | consumesMany (const TypeToGet &id) |
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes () |
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag const &tag) |
|
template<typename ESProduct , Transition Tr = Transition::Event> |
auto | esConsumes (eventsetup::EventSetupRecordKey const &, ESInputTag const &tag) |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
|
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
template<BranchType B> |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
Definition at line 113 of file EcalPFRecHitThresholdsMaker.cc.
References cond::service::PoolDBOutputService::beginOfTime(), gather_cfg::cout, cond::service::PoolDBOutputService::createNewIOV(), cond::service::PoolDBOutputService::endOfTime(), EBDetId::ETAPHIMODE, Exception, EcalCondObjectContainer< T >::find(), objects.autophobj::float, edm::EventSetup::get(), EcalADCToGeVConstant::getEBValue(), EcalADCToGeVConstant::getEEValue(), EcalLaserDbService::getLaserCorrection(), EcalCondObjectContainer< T >::insert(), edm::Service< T >::isAvailable(), EEDetId::IX_MAX, EEDetId::IX_MIN, EEDetId::IY_MAX, EEDetId::IY_MIN, m_nsigma, EBDetId::MAX_IETA, EBDetId::MAX_IPHI, EBDetId::MIN_IPHI, edm::ESHandle< T >::product(), DetId::rawId(), EcalPedestal::rms_x12, scrapingFilter_cfi::thresh, edm::EventBase::time(), EBDetId::validDetId(), and EEDetId::validDetId().
125 std::cout <<
"ped pointer is: "<< ped_db<< std::endl;
131 std::cout <<
"adc pointer is: "<< adc_db<< std::endl;
136 std::cout <<
"inter pointer is: "<< ical_db<< std::endl;
156 if(iEta==0)
continue;
165 float calib = (*itc);
168 float lasercalib = 1.;
173 if(iPhi==100)
std::cout<<
"Thresh(GeV)="<<thresh<<std::endl;
175 pfthresh->
insert(std::make_pair(ebdetid.rawId(),
thresh));
190 float calib = (*itc);
193 float lasercalib = 1.;
197 pfthresh->
insert(std::make_pair(eedetid.rawId(),
thresh));
207 float calib = (*itc);
210 float lasercalib = 1.;
214 pfthresh->
insert(std::make_pair(eedetid.rawId(),
thresh));
216 if(iX==50)
std::cout<<
"Thresh(GeV)="<<thresh<<std::endl;
231 std::cout<<
"EcalPFRecHitThresholdsMaker wrote it " << std::endl;
static const int MIN_IPHI
EcalPFRecHitThresholdsMap EcalPFRecHitThresholds
float getLaserCorrection(DetId const &xid, edm::Timestamp const &iTime) const
static bool validDetId(int i, int j)
check if a valid index combination
float EcalPFRecHitThreshold
cond::Time_t beginOfTime() const
static const int ETAPHIMODE
void createNewIOV(T *firstPayloadObj, cond::Time_t firstSinceTime, cond::Time_t firstTillTime, const std::string &recordName, bool withlogging=false)
void insert(std::pair< uint32_t, Item > const &a)
static const int MAX_IPHI
static bool validDetId(int crystal_ix, int crystal_iy, int iz)
std::vector< Item >::const_iterator const_iterator
static const int MAX_IETA
cond::Time_t endOfTime() const
const_iterator find(uint32_t rawId) const
T const * product() const
edm::Timestamp time() const