|
| ESTimingTask (const edm::ParameterSet &ps) |
|
| ~ESTimingTask () override |
|
void | accumulate (edm::Event const &ev, edm::EventSetup const &es) final |
|
virtual void | analyze (edm::Event const &, edm::EventSetup const &) |
|
void | beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) override |
|
void | beginRun (edm::Run const &run, edm::EventSetup const &setup) final |
|
virtual void | dqmBeginRun (edm::Run const &, edm::EventSetup const &) |
|
| DQMEDAnalyzer () |
|
| DQMEDAnalyzer (DQMEDAnalyzer const &)=delete |
|
| DQMEDAnalyzer (DQMEDAnalyzer &&)=delete |
|
void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override |
|
void | endLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup) final |
|
void | endRun (edm::Run const &run, edm::EventSetup const &setup) override |
|
void | endRunProduce (edm::Run &run, edm::EventSetup const &setup) override |
|
| ~DQMEDAnalyzer () override=default |
|
| EDProducer ()=default |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () final |
|
SerialTaskQueue * | globalRunsQueue () final |
|
bool | hasAbilityToProduceInLumis () const final |
|
bool | hasAbilityToProduceInRuns () const final |
|
bool | wantsGlobalLuminosityBlocks () const final |
|
bool | wantsGlobalRuns () const final |
|
| EDProducerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
bool | wantsStreamLuminosityBlocks () const |
|
bool | wantsStreamRuns () const |
|
| ~EDProducerBase () override |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
|
| ProducerBase () |
|
std::vector< edm::ProductResolverIndex > const & | putTokenIndexToProductResolverIndex () const |
|
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
|
std::function< void(BranchDescription const &)> | registrationCallback () const |
| used by the fwk to register list of products More...
|
|
void | resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel) |
|
| ~ProducerBase () 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 EDProducerBase | ModuleType |
|
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
|
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
|
typedef ProductLabels | Labels |
|
static const std::string & | baseType () |
|
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
|
static void | prevalidate (ConfigurationDescriptions &descriptions) |
|
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 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) |
|
edm::EDPutTokenT< DQMToken > | lumiToken_ |
|
edm::EDPutTokenT< DQMToken > | runToken_ |
|
Definition at line 22 of file ESTimingTask.h.
Definition at line 87 of file ESTimingTask.cc.
References ecalMGPA::adc(), ESSample::adc(), edm::DataFrameContainer::begin(), edm::DataFrameContainer::end(), JetChargeProducer_cfi::exp, edm::Event::getByToken(), mps_fire::i, ESDataFrame::id(), edm::EventBase::id(), gen::k, cmsBatch::log, edm::EventID::run(), ESDataFrame::sample(), ESDataFrame::size(), mps_update::status, cscNeutronWriter_cfi::t0, ESDetId::zside(), and ecaldqm::zside().
98 int zside, plane, ix, iy, is;
117 if (zside==1 && plane==1 && ix==7 && iy==28)
continue;
118 if (zside==1 && plane==1 && ix==24 && iy==9 && is==21)
continue;
119 if (zside==-1 && plane==2 && ix==35 && iy==17 && is==23)
continue;
121 int i = (zside==1)? 0:1;
124 for (
int k=0;
k<dataframe.
size(); ++
k)
128 if (adc[1] < 200) status = 1;
129 if (fabs(adc[0]) > 10) status = 1;
130 if (adc[1] < 0 || adc[2] < 0) status = 1;
131 if (adc[0] > adc[1] || adc[0] > adc[2]) status = 1;
132 if (adc[2] > adc[1]) status = 1;
134 if (
int(status) == 0) {
139 double aaa = (A2 > 0 && A1 > 0) ?
log(A2/A1)/
n_ : 20.;
140 double bbb =
wc_/
n_*DeltaT;
141 double ccc=
exp(aaa+bbb);
143 double t0 = (2.-ccc)/(1.-ccc) * DeltaT - 5;
159 if (zside == 1)
htESP_->Fill(t0);
160 else if (zside == -1)
htESM_->Fill(t0);
165 LogWarning(
"ESTimingTask") <<
"DigiCollection not available";
168 if (
htESP_->GetEntries() > 0 &&
htESM_->GetEntries() > 0)
int adc(sample_type sample)
get the ADC sample (12 bits)
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
bool getByToken(EDGetToken token, Handle< PROD > &result) const
const ESDetId & id() const
const_iterator begin() const
const ESSample & sample(int i) const
edm::EDGetTokenT< ESDigiCollection > digilabel_
MonitorElement * h2DTiming_
const_iterator end() const
MonitorElement * hTiming_[2][2]
int adc() const
get the ADC sample (singed 16 bits)