#include <EcalTestPulseAnalyzer.h>
Public Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) override |
void | beginJob () override |
EcalTestPulseAnalyzer (const edm::ParameterSet &iConfig) | |
void | endJob () override |
~EcalTestPulseAnalyzer () 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 | _chi2max |
std::string | _ecalPart |
int | _fedid |
unsigned int | _firstsample |
unsigned int | _firstsamplePN |
unsigned int | _lastsample |
unsigned int | _lastsamplePN |
unsigned int | _niter |
unsigned int | _nsamples |
unsigned int | _nsamplesPN |
unsigned int | _presample |
unsigned int | _presamplePN |
unsigned int | _samplemax |
unsigned int | _samplemin |
double | _timeofmax |
double | adc [10] |
double | APD [6] |
double | apdAmpl |
int | apdGain |
double | apdTime |
int | channelID |
int | channelIteratorEE |
std::map< int, int > | channelMapEE |
int | dccID |
std::vector< int > | dccMEM |
std::string | digiCollection_ |
std::string | digiPNCollection_ |
std::string | digiProducer_ |
int | eta |
int | event |
std::string | eventHeaderCollection_ |
std::string | eventHeaderProducer_ |
int | fedID |
unsigned int | firstChanMod [9] |
int | flag |
int | gain |
int | iChannelID [1700] |
int | idccID [1700] |
int | ieta |
int | iEta [1700] |
int | iEvent |
unsigned int | iModule [1700] |
int | iphi |
int | iPhi [1700] |
unsigned int | isFirstChanModFilled [9] |
int | iside [1700] |
int | iTowerID [1700] |
int | iZ |
int | moduleID |
std::vector< int > | modules |
unsigned int | nCrys |
unsigned int | nGainAPD |
unsigned int | nGainPN |
unsigned int | nMod |
unsigned int | nTT |
TFile * | outFile |
int | phi |
double | pn [50] |
double | PN [6] |
double | pnAmpl |
double | pnAmpl0 |
double | pnAmpl1 |
int | pnG |
int | pnGain |
int | pnID |
std::string | resdir_ |
std::string | resfile |
TFile * | resFile |
TTree * | respntrees |
TTree * | restrees |
double | ret_data [20] |
std::string | rootfile |
int | runNum |
int | runType |
int | side |
int | towerID |
int | TPEvents |
TTree * | trees [1700] |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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 36 of file EcalTestPulseAnalyzer.h.
|
explicit |
Definition at line 49 of file EcalTestPulseAnalyzer.cc.
References _ecalPart, _fedid, dccMEM, digiCollection_, digiPNCollection_, digiProducer_, eventHeaderCollection_, eventHeaderProducer_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), iZ, ME::lmmodFromDcc(), ME::memFromDcc(), nCrys, NCRYSEB, NCRYSEE, nMod, nTT, NTTEB, NTTEE, resdir_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 118 of file EcalTestPulseAnalyzer.cc.
|
override |
Definition at line 206 of file EcalTestPulseAnalyzer.cc.
References _chi2max, _ecalPart, _fedid, _firstsample, _firstsamplePN, _lastsample, _lastsamplePN, _niter, _nsamples, _nsamplesPN, _presample, _presamplePN, _samplemax, _samplemin, _timeofmax, adc, apdAmpl, apdGain, apdTime, edm::SortedCollection< T, SORT >::begin(), edm::DataFrameContainer::begin(), MessageLogger_cfi::cerr, EcalElectronicsId::channelId(), channelID, channelIteratorEE, channelMapEE, vertices_cff::chi2, gather_cfg::cout, dccID, dccMEM, digiCollection_, digiPNCollection_, digiProducer_, MEEBGeom::electronic_channel(), edm::SortedCollection< T, SORT >::end(), edm::DataFrameContainer::end(), eta, eventHeaderCollection_, eventHeaderProducer_, cppFunctionSkipper::exception, fedID, firstChanMod, edm::EventSetup::get(), edm::Event::getByLabel(), EcalElectronicsMapping::getElectronicsId(), ecalpyutils::hashedIndex(), mps_fire::i, iChannelID, EcalPnDiodeDetId::iDCCId(), idccID, iEta, iEvent, iModule, init, iPhi, isFirstChanModFilled, iside, iTowerID, iZ, gen::k, MEEEGeom::lmmod(), MEEBGeom::lmmod(), MEEBGeom::localCoord(), Max(), python.rootplot.argparse::module, nCrys, phi, MEEBGeom::pn(), MEEEGeom::pn(), pn, pnAmpl, pnAmpl0, pnAmpl1, pnG, pnGain, edm::Handle< T >::product(), edm::ESHandle< T >::product(), ret_data, runNum, runType, MEEBGeom::side(), MEEEGeom::side(), side, findQualityFiles::size, digi_MixPreMix_cfi::strip, EcalElectronicsId::stripId(), EcalDCCHeaderBlock::TESTPULSE_GAP, EcalDCCHeaderBlock::TESTPULSE_MGPA, EcalDCCHeaderBlock::TESTPULSE_SCAN_MEM, EcalElectronicsId::towerId(), towerID, TPEvents, trees, and EcalElectronicsId::xtalId().
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 129 of file EcalTestPulseAnalyzer.cc.
References apdAmpl, apdGain, channelID, dccID, eta, firstChanMod, mps_fire::i, iChannelID, idccID, iEta, iModule, iPhi, isFirstChanModFilled, iside, iTowerID, dataset::name, nCrys, nMod, outFile, phi, pnAmpl0, pnAmpl1, pnGain, resdir_, resfile, rootfile, side, towerID, TPEvents, and trees.
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 636 of file EcalTestPulseAnalyzer.cc.
References TMom::addEntry(), APD, apdAmpl, apdGain, channelID, gather_cfg::cout, dccID, DEFINE_FWK_MODULE, firstChanMod, flag, gain, TMom::getM3(), TMom::getMax(), TMom::getMean(), TMom::getMin(), TMom::getNevt(), TMom::getRMS(), iChannelID, idccID, ieta, iEta, iModule, iphi, iPhi, iside, iTowerID, moduleID, nCrys, nGainAPD, nGainPN, nMod, outFile, PN, pnAmpl0, pnAmpl1, pnGain, pnID, resfile, resFile, respntrees, restrees, rootfile, side, towerID, TPEvents, and trees.
Referenced by o2olib.O2ORunMgr::executeJob().
|
private |
Definition at line 66 of file EcalTestPulseAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 68 of file EcalTestPulseAnalyzer.h.
Referenced by analyze(), and EcalTestPulseAnalyzer().
|
private |
Definition at line 69 of file EcalTestPulseAnalyzer.h.
Referenced by analyze(), and EcalTestPulseAnalyzer().
|
private |
Definition at line 57 of file EcalTestPulseAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 63 of file EcalTestPulseAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 58 of file EcalTestPulseAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 64 of file EcalTestPulseAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 65 of file EcalTestPulseAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 55 of file EcalTestPulseAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 61 of file EcalTestPulseAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 56 of file EcalTestPulseAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 62 of file EcalTestPulseAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 60 of file EcalTestPulseAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 59 of file EcalTestPulseAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 67 of file EcalTestPulseAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 126 of file EcalTestPulseAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 155 of file EcalTestPulseAnalyzer.h.
Referenced by endJob().
|
private |
Definition at line 132 of file EcalTestPulseAnalyzer.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 129 of file EcalTestPulseAnalyzer.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 133 of file EcalTestPulseAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 100 of file EcalTestPulseAnalyzer.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 154 of file EcalTestPulseAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 145 of file EcalTestPulseAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 107 of file EcalTestPulseAnalyzer.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 146 of file EcalTestPulseAnalyzer.h.
Referenced by analyze(), and EcalTestPulseAnalyzer().
|
private |
Definition at line 72 of file EcalTestPulseAnalyzer.h.
Referenced by analyze(), and EcalTestPulseAnalyzer().
|
private |
Definition at line 73 of file EcalTestPulseAnalyzer.h.
Referenced by analyze(), and EcalTestPulseAnalyzer().
|
private |
Definition at line 74 of file EcalTestPulseAnalyzer.h.
Referenced by analyze(), and EcalTestPulseAnalyzer().
|
private |
Definition at line 124 of file EcalTestPulseAnalyzer.h.
Referenced by Particle.Particle::__str__(), analyze(), beginJob(), Jet.Jet::jetID(), and Jet.Jet::puJetId().
|
private |
Definition at line 125 of file EcalTestPulseAnalyzer.h.
Referenced by Types.EventID::cppID(), looper.Looper::process(), and core.AutoHandle.AutoHandle::product().
|
private |
Definition at line 75 of file EcalTestPulseAnalyzer.h.
Referenced by analyze(), and EcalTestPulseAnalyzer().
|
private |
Definition at line 76 of file EcalTestPulseAnalyzer.h.
Referenced by analyze(), and EcalTestPulseAnalyzer().
|
private |
Definition at line 106 of file EcalTestPulseAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 161 of file EcalTestPulseAnalyzer.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 152 of file EcalTestPulseAnalyzer.h.
Referenced by endJob().
|
private |
Definition at line 152 of file EcalTestPulseAnalyzer.h.
Referenced by endJob().
|
private |
Definition at line 159 of file EcalTestPulseAnalyzer.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 159 of file EcalTestPulseAnalyzer.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 152 of file EcalTestPulseAnalyzer.h.
Referenced by endJob().
|
private |
Definition at line 157 of file EcalTestPulseAnalyzer.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 51 of file EcalTestPulseAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 158 of file EcalTestPulseAnalyzer.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 152 of file EcalTestPulseAnalyzer.h.
Referenced by endJob().
|
private |
Definition at line 157 of file EcalTestPulseAnalyzer.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 162 of file EcalTestPulseAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 159 of file EcalTestPulseAnalyzer.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 159 of file EcalTestPulseAnalyzer.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 109 of file EcalTestPulseAnalyzer.h.
Referenced by analyze(), and EcalTestPulseAnalyzer().
|
private |
Definition at line 153 of file EcalTestPulseAnalyzer.h.
Referenced by endJob().
|
private |
Definition at line 147 of file EcalTestPulseAnalyzer.h.
|
private |
Definition at line 87 of file EcalTestPulseAnalyzer.h.
Referenced by analyze(), beginJob(), EcalTestPulseAnalyzer(), and endJob().
|
private |
Definition at line 91 of file EcalTestPulseAnalyzer.h.
Referenced by endJob().
|
private |
Definition at line 90 of file EcalTestPulseAnalyzer.h.
Referenced by endJob().
|
private |
Definition at line 89 of file EcalTestPulseAnalyzer.h.
Referenced by beginJob(), EcalTestPulseAnalyzer(), and endJob().
|
private |
Definition at line 88 of file EcalTestPulseAnalyzer.h.
Referenced by EcalTestPulseAnalyzer().
|
private |
Definition at line 114 of file EcalTestPulseAnalyzer.h.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 124 of file EcalTestPulseAnalyzer.h.
Referenced by Particle.Particle::__str__(), analyze(), beginJob(), and ntupleDataFormat.Track::phiPull().
|
private |
Definition at line 127 of file EcalTestPulseAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 155 of file EcalTestPulseAnalyzer.h.
Referenced by endJob().
|
private |
Definition at line 136 of file EcalTestPulseAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 134 of file EcalTestPulseAnalyzer.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 135 of file EcalTestPulseAnalyzer.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 131 of file EcalTestPulseAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 130 of file EcalTestPulseAnalyzer.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 153 of file EcalTestPulseAnalyzer.h.
Referenced by endJob().
|
private |
Definition at line 71 of file EcalTestPulseAnalyzer.h.
Referenced by beginJob(), and EcalTestPulseAnalyzer().
|
private |
Definition at line 82 of file EcalTestPulseAnalyzer.h.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 115 of file EcalTestPulseAnalyzer.h.
Referenced by endJob().
|
private |
Definition at line 142 of file EcalTestPulseAnalyzer.h.
Referenced by endJob().
|
private |
Definition at line 141 of file EcalTestPulseAnalyzer.h.
Referenced by endJob().
|
private |
Definition at line 97 of file EcalTestPulseAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 81 of file EcalTestPulseAnalyzer.h.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 105 of file EcalTestPulseAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 104 of file EcalTestPulseAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 108 of file EcalTestPulseAnalyzer.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 99 of file EcalTestPulseAnalyzer.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 95 of file EcalTestPulseAnalyzer.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 120 of file EcalTestPulseAnalyzer.h.
Referenced by analyze(), beginJob(), and endJob().