#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 | |
virtual void | analyze (const edm::Event &e, const edm::EventSetup &c) |
virtual void | beginJob () |
EcalABAnalyzer (const edm::ParameterSet &iConfig) | |
virtual void | endJob () |
~EcalABAnalyzer () | |
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 |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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, j, nCrys, NCRYSEB, NCRYSEE, nevtAB, phi(), resdir_, AlCaHLTBitMon_QueryRunRegistry::string, wasGainOK, and wasTimingOK.
EcalABAnalyzer::~EcalABAnalyzer | ( | ) |
Definition at line 146 of file EcalABAnalyzer.cc.
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 229 of file EcalABAnalyzer.cc.
References _ecalPart, _fedid, _fitab, _nevtmax, adc, adcG, TMom::addEntry(), APDPulse, assert(), edm::SortedCollection< T, SORT >::begin(), edm::DataFrameContainer::begin(), ecal_dqm_sourceclient-live_cfg::cerr, EcalElectronicsId::channelId(), channelIteratorEE, channelMapEE, color, colors, 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(), 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< class >::product(), runNum, runType, TAPDPulse::setPulse(), shapana, MEEBGeom::side(), MEEEGeom::side(), side, EcalElectronicsId::stripId(), ecaldqm::towerID(), EcalElectronicsId::towerId(), EcalDCCHeaderBlock::EcalDCCEventSettings::wavelength, and EcalElectronicsId::xtalId().
|
virtual |
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, MainPageGenerator::link, NULL, resdir_, shapana, and FrontierCondition_GT_autoExpress_cfi::test.
|
virtual |
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, Delta01, Delta12, doesABTreeExist, TMom::getMean(), i, isGainOK, isTimingOK, nCrys, nEvtBadGain, nEvtBadTiming, nEvtTot, TShapeAnalysis::set_nch(), TShapeAnalysis::set_presample(), TAPDPulse::setPresamples(), shapana, wasGainOK, and wasTimingOK.
|
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.Tier0DasInterface::getData(), cmsPerfSuite.PerfSuite::optionParse(), and cmsPerfSuite.PerfSuite::runCmsReport().
|
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 cuy.plotElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), and analyze().
|
private |
Definition at line 118 of file EcalABAnalyzer.h.
Referenced by analyze().
|
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__(), and analyze().
|
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().