#include <EcalABAnalyzer.h>
Public Types | |
enum | VarCol { iBlue, iRed, nColor } |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Public Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) override |
void | beginJob () override |
EcalABAnalyzer (const edm::ParameterSet &iConfig) | |
void | endJob () override |
~EcalABAnalyzer () override | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
~EDAnalyzer () override | |
Public Member Functions inherited from edm::EDConsumerBase | |
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 |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Attributes | |
double | _alpha |
double | _beta |
double | _chi2cut |
int | _debug |
std::string | _ecalPart |
int | _fedid |
unsigned int | _firstsample |
bool | _fitab |
unsigned int | _lastsample |
unsigned int | _nevtmax |
unsigned int | _niter |
double | _noise |
unsigned int | _nsamples |
unsigned int | _presample |
double | _presamplecut |
double | _qualpercent |
double | _ratiomaxcutlow |
double | _ratiomincuthigh |
double | _ratiomincutlow |
unsigned int | _timingcuthigh |
unsigned int | _timingcutlow |
unsigned int | _timingqualhigh |
unsigned int | _timingquallow |
double | adc [10] |
int | adcG [10] |
std::string | alphafile |
std::string | alphainitfile |
TAPDPulse * | APDPulse |
int | channelIteratorEE |
std::map< int, int > | channelMapEE |
int | color |
std::vector< int > | colors |
int | dccID |
std::vector< int > | dccMEM |
TMom * | Delta01 |
TMom * | Delta12 |
std::string | digiCollection_ |
std::string | digiProducer_ |
bool | doesABTreeExist |
int | eta |
int | event |
std::string | eventHeaderCollection_ |
std::string | eventHeaderProducer_ |
int | fedID |
int | iChannelID [1700] |
int | idccID [1700] |
int | iEta [1700] |
int | iEvent |
int | iPhi [1700] |
bool | isGainOK |
int | iside [1700] |
bool | isTimingOK |
int | iTowerID [1700] |
int | iZ |
int | lightside |
std::vector< int > | modules |
unsigned int | nCrys |
unsigned int | nevtAB [1700] |
int | nEvtBadGain [1700] |
int | nEvtBadTiming [1700] |
int | nEvtTot [1700] |
int | phi |
std::string | resdir_ |
int | runNum |
int | runType |
TShapeAnalysis * | shapana |
int | side |
bool | wasGainOK [1700] |
bool | wasTimingOK [1700] |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::EDConsumerBase | |
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) |
Definition at line 35 of file EcalABAnalyzer.h.
Enumerator | |
---|---|
iBlue | |
iRed | |
nColor |
Definition at line 48 of file EcalABAnalyzer.h.
|
explicit |
Definition at line 53 of file EcalABAnalyzer.cc.
References _ecalPart, _fedid, _firstsample, _fitab, _lastsample, _nsamples, _presample, _ratiomaxcutlow, _ratiomincuthigh, _ratiomincutlow, _timingcuthigh, _timingcutlow, _timingqualhigh, _timingquallow, APDPulse, Delta01, Delta12, digiCollection_, digiProducer_, eventHeaderCollection_, eventHeaderProducer_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), iChannelID, idccID, iEta, iPhi, isGainOK, iside, isTimingOK, iTowerID, iZ, nCrys, NCRYSEB, NCRYSEE, nevtAB, resdir_, AlCaHLTBitMon_QueryRunRegistry::string, wasGainOK, and wasTimingOK.
|
override |
Definition at line 146 of file EcalABAnalyzer.cc.
|
override |
Definition at line 229 of file EcalABAnalyzer.cc.
References _ecalPart, _fedid, _fitab, _nevtmax, adc, adcG, TMom::addEntry(), APDPulse, edm::SortedCollection< T, SORT >::begin(), edm::DataFrameContainer::begin(), MessageLogger_cfi::cerr, EcalElectronicsId::channelId(), channelIteratorEE, channelMapEE, color, gather_cfg::cout, dccID, Delta01, Delta12, digiCollection_, digiProducer_, doesABTreeExist, MEEBGeom::electronic_channel(), edm::SortedCollection< T, SORT >::end(), edm::DataFrameContainer::end(), eta, eventHeaderCollection_, eventHeaderProducer_, cppFunctionSkipper::exception, fedID, spr::find(), edm::EventSetup::get(), edm::Event::getByLabel(), TAPDPulse::getDelta(), EcalElectronicsMapping::getElectronicsId(), ecalpyutils::hashedIndex(), mps_fire::i, iChannelID, idccID, iEta, iEvent, iPhi, iside, TAPDPulse::isPulseOK(), TAPDPulse::isTimingQualOK(), iTowerID, iZ, EcalDCCHeaderBlock::LASER_DELAY_SCAN, EcalDCCHeaderBlock::LASER_GAP, EcalDCCHeaderBlock::LASER_POWER_SCAN, EcalDCCHeaderBlock::LASER_STD, lightside, MEEBGeom::localCoord(), Max(), nCrys, nevtAB, nEvtBadGain, nEvtBadTiming, nEvtTot, phi, edm::Handle< T >::product(), edm::ESHandle< T >::product(), runNum, runType, TAPDPulse::setPulse(), shapana, MEEBGeom::side(), MEEEGeom::side(), side, digi_MixPreMix_cfi::strip, EcalElectronicsId::stripId(), ecaldqm::towerID(), EcalElectronicsId::towerId(), EcalDCCHeaderBlock::EcalDCCEventSettings::wavelength, and EcalElectronicsId::xtalId().
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 158 of file EcalABAnalyzer.cc.
References _alpha, _beta, _chi2cut, _firstsample, _fitab, _lastsample, _nevtmax, _noise, _nsamples, _presample, alphafile, alphainitfile, doesABTreeExist, resdir_, shapana, and PFTauMVAInputDiscriminatorTranslator_cfi::test.
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 514 of file EcalABAnalyzer.cc.
References _ecalPart, _fitab, _presample, _presamplecut, _qualpercent, alphafile, alphainitfile, APDPulse, channelMapEE, TShapeAnalysis::computeShape(), gather_cfg::cout, DEFINE_FWK_MODULE, Delta01, Delta12, doesABTreeExist, TMom::getMean(), mps_fire::i, isGainOK, isTimingOK, nCrys, nEvtBadGain, nEvtBadTiming, nEvtTot, TShapeAnalysis::set_nch(), TShapeAnalysis::set_presample(), TAPDPulse::setPresamples(), shapana, wasGainOK, and wasTimingOK.
Referenced by o2olib.O2ORunMgr::executeJob().
|
private |
Definition at line 70 of file EcalABAnalyzer.h.
Referenced by beginJob().
|
private |
Definition at line 71 of file EcalABAnalyzer.h.
Referenced by beginJob().
|
private |
Definition at line 74 of file EcalABAnalyzer.h.
Referenced by beginJob().
|
private |
Definition at line 78 of file EcalABAnalyzer.h.
Referenced by FrontierCondition_GT_autoExpress_cfi.Tier0Handler::_queryTier0DataSvc(), tier0.Tier0Handler::_queryTier0DataSvc(), uploads.uploader::check_response_for_error_key(), cmsPerfSuite.PerfSuite::optionParse(), cmsPerfSuite.PerfSuite::runCmsReport(), FrontierCondition_GT_autoExpress_cfi.Tier0Handler::setDebug(), tier0.Tier0Handler::setDebug(), FrontierCondition_GT_autoExpress_cfi.Tier0Handler::unsetDebug(), and tier0.Tier0Handler::unsetDebug().
|
private |
Definition at line 75 of file EcalABAnalyzer.h.
Referenced by analyze(), EcalABAnalyzer(), and endJob().
|
private |
Definition at line 76 of file EcalABAnalyzer.h.
Referenced by analyze(), and EcalABAnalyzer().
|
private |
Definition at line 59 of file EcalABAnalyzer.h.
Referenced by beginJob(), and EcalABAnalyzer().
|
private |
Definition at line 104 of file EcalABAnalyzer.h.
Referenced by analyze(), beginJob(), EcalABAnalyzer(), and endJob().
|
private |
Definition at line 60 of file EcalABAnalyzer.h.
Referenced by beginJob(), and EcalABAnalyzer().
|
private |
Definition at line 72 of file EcalABAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 69 of file EcalABAnalyzer.h.
|
private |
Definition at line 73 of file EcalABAnalyzer.h.
Referenced by beginJob().
|
private |
Definition at line 57 of file EcalABAnalyzer.h.
Referenced by beginJob(), and EcalABAnalyzer().
|
private |
Definition at line 58 of file EcalABAnalyzer.h.
Referenced by beginJob(), EcalABAnalyzer(), and endJob().
|
private |
Definition at line 68 of file EcalABAnalyzer.h.
Referenced by endJob().
|
private |
Definition at line 77 of file EcalABAnalyzer.h.
Referenced by endJob().
|
private |
Definition at line 67 of file EcalABAnalyzer.h.
Referenced by EcalABAnalyzer().
|
private |
Definition at line 66 of file EcalABAnalyzer.h.
Referenced by EcalABAnalyzer().
|
private |
Definition at line 65 of file EcalABAnalyzer.h.
Referenced by EcalABAnalyzer().
|
private |
Definition at line 62 of file EcalABAnalyzer.h.
Referenced by EcalABAnalyzer().
|
private |
Definition at line 61 of file EcalABAnalyzer.h.
Referenced by EcalABAnalyzer().
|
private |
Definition at line 64 of file EcalABAnalyzer.h.
Referenced by EcalABAnalyzer().
|
private |
Definition at line 63 of file EcalABAnalyzer.h.
Referenced by EcalABAnalyzer().
|
private |
Definition at line 129 of file EcalABAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 130 of file EcalABAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 92 of file EcalABAnalyzer.h.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 93 of file EcalABAnalyzer.h.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 80 of file EcalABAnalyzer.h.
Referenced by analyze(), EcalABAnalyzer(), and endJob().
|
private |
Definition at line 131 of file EcalABAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 119 of file EcalABAnalyzer.h.
|
private |
Definition at line 128 of file EcalABAnalyzer.h.
Referenced by analyze(), and edmStreamStallGrapher.StreamInfoElement::unpack().
|
private |
Definition at line 118 of file EcalABAnalyzer.h.
|
private |
Definition at line 110 of file EcalABAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 120 of file EcalABAnalyzer.h.
|
private |
Definition at line 81 of file EcalABAnalyzer.h.
Referenced by analyze(), EcalABAnalyzer(), and endJob().
|
private |
Definition at line 82 of file EcalABAnalyzer.h.
Referenced by analyze(), EcalABAnalyzer(), and endJob().
|
private |
Definition at line 85 of file EcalABAnalyzer.h.
Referenced by analyze(), and EcalABAnalyzer().
|
private |
Definition at line 86 of file EcalABAnalyzer.h.
Referenced by analyze(), and EcalABAnalyzer().
|
private |
Definition at line 102 of file EcalABAnalyzer.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 126 of file EcalABAnalyzer.h.
Referenced by Particle.Particle::__str__(), analyze(), Jet.Jet::jetID(), and Jet.Jet::puJetId().
|
private |
Definition at line 127 of file EcalABAnalyzer.h.
Referenced by Types.EventID::cppID(), looper.Looper::process(), and core.AutoHandle.AutoHandle::product().
|
private |
Definition at line 87 of file EcalABAnalyzer.h.
Referenced by analyze(), and EcalABAnalyzer().
|
private |
Definition at line 88 of file EcalABAnalyzer.h.
Referenced by analyze(), and EcalABAnalyzer().
|
private |
Definition at line 109 of file EcalABAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 135 of file EcalABAnalyzer.h.
Referenced by analyze(), and EcalABAnalyzer().
|
private |
Definition at line 135 of file EcalABAnalyzer.h.
Referenced by analyze(), and EcalABAnalyzer().
|
private |
Definition at line 134 of file EcalABAnalyzer.h.
Referenced by analyze(), and EcalABAnalyzer().
|
private |
Definition at line 52 of file EcalABAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 134 of file EcalABAnalyzer.h.
Referenced by analyze(), and EcalABAnalyzer().
|
private |
Definition at line 146 of file EcalABAnalyzer.h.
Referenced by EcalABAnalyzer(), and endJob().
|
private |
Definition at line 135 of file EcalABAnalyzer.h.
Referenced by analyze(), and EcalABAnalyzer().
|
private |
Definition at line 147 of file EcalABAnalyzer.h.
Referenced by EcalABAnalyzer(), and endJob().
|
private |
Definition at line 135 of file EcalABAnalyzer.h.
Referenced by analyze(), and EcalABAnalyzer().
|
private |
Definition at line 113 of file EcalABAnalyzer.h.
Referenced by analyze(), and EcalABAnalyzer().
|
private |
Definition at line 112 of file EcalABAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 121 of file EcalABAnalyzer.h.
|
private |
Definition at line 101 of file EcalABAnalyzer.h.
Referenced by analyze(), EcalABAnalyzer(), and endJob().
|
private |
Definition at line 96 of file EcalABAnalyzer.h.
Referenced by analyze(), and EcalABAnalyzer().
|
private |
Definition at line 139 of file EcalABAnalyzer.h.
|
private |
Definition at line 140 of file EcalABAnalyzer.h.
|
private |
Definition at line 141 of file EcalABAnalyzer.h.
|
private |
Definition at line 126 of file EcalABAnalyzer.h.
Referenced by Particle.Particle::__str__(), analyze(), and ntupleDataFormat.Track::phiPull().
|
private |
Definition at line 84 of file EcalABAnalyzer.h.
Referenced by beginJob(), and EcalABAnalyzer().
|
private |
Definition at line 108 of file EcalABAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 107 of file EcalABAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 95 of file EcalABAnalyzer.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 111 of file EcalABAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 143 of file EcalABAnalyzer.h.
Referenced by EcalABAnalyzer(), and endJob().
|
private |
Definition at line 144 of file EcalABAnalyzer.h.
Referenced by EcalABAnalyzer(), and endJob().