#include <EcalABAnalyzer.h>
Public Types | |
enum | VarCol { iBlue, iRed, nColor } |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Private Attributes | |
const double | _alpha |
const double | _beta |
const double | _chi2cut |
const int | _debug |
const std::string | _ecalPart |
const int | _fedid |
const unsigned int | _firstsample |
bool | _fitab |
const unsigned int | _lastsample |
const unsigned int | _nevtmax |
const unsigned int | _niter |
const double | _noise |
const unsigned int | _nsamples |
unsigned int | _presample |
const double | _presamplecut |
const double | _qualpercent |
const double | _ratiomaxcutlow |
const double | _ratiomincuthigh |
const double | _ratiomincutlow |
const unsigned int | _timingcuthigh |
const unsigned int | _timingcutlow |
const unsigned int | _timingqualhigh |
const 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 |
const std::string | digiCollection_ |
const std::string | digiProducer_ |
bool | doesABTreeExist |
edm::EDGetTokenT< EBDigiCollection > | ebDigiToken_ |
edm::EDGetTokenT< EEDigiCollection > | eeDigiToken_ |
int | eta |
int | event |
const std::string | eventHeaderCollection_ |
const 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 |
const edm::ESGetToken< EcalElectronicsMapping, EcalMappingRcd > | mappingToken_ |
std::vector< int > | modules |
unsigned int | nCrys |
unsigned int | nevtAB [1700] |
int | nEvtBadGain [1700] |
int | nEvtBadTiming [1700] |
int | nEvtTot [1700] |
int | phi |
const edm::EDGetTokenT< EcalRawDataCollection > | rawDataToken_ |
const 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::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
Definition at line 40 of file EcalABAnalyzer.h.
Enumerator | |
---|---|
iBlue | |
iRed | |
nColor |
Definition at line 49 of file EcalABAnalyzer.h.
|
explicit |
Definition at line 41 of file EcalABAnalyzer.cc.
References _ecalPart, _fedid, _firstsample, _fitab, _lastsample, _nsamples, _presample, _ratiomaxcutlow, _ratiomincuthigh, _ratiomincutlow, _timingcuthigh, _timingcutlow, _timingqualhigh, _timingquallow, APDPulse, Delta01, Delta12, digiCollection_, digiProducer_, ebDigiToken_, eeDigiToken_, iChannelID, idccID, iEta, ProducerED_cfi::InputTag, iPhi, isGainOK, iside, isTimingOK, iTowerID, iZ, dqmiolumiharvest::j, nCrys, NCRYSEB, NCRYSEE, nevtAB, wasGainOK, and wasTimingOK.
|
override |
Definition at line 147 of file EcalABAnalyzer.cc.
|
overridevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 224 of file EcalABAnalyzer.cc.
References _ecalPart, _fedid, _fitab, _nevtmax, adc, adcG, TMom::addEntry(), APDPulse, cms::cuda::assert(), edm::SortedCollection< T, SORT >::begin(), HltBtagPostValidation_cff::c, EcalElectronicsId::channelId(), channelIteratorEE, channelMapEE, color, dccID, Delta01, Delta12, hgcalPerformanceValidation::df, digiCollection_, doesABTreeExist, MillePedeFileConverter_cfg::e, CollectionTags_cfi::EBDigi, ebDigiToken_, CollectionTags_cfi::EEDigi, eeDigiToken_, MEEBGeom::electronic_channel(), edm::SortedCollection< T, SORT >::end(), eta, eventHeaderCollection_, eventHeaderProducer_, fedID, spr::find(), TAPDPulse::getDelta(), ecalpyutils::hashedIndex(), mps_fire::i, iChannelID, idccID, iEta, iEvent, iPhi, iside, TAPDPulse::isPulseOK(), TAPDPulse::isTimingQualOK(), edm::HandleBase::isValid(), iTowerID, iZ, EcalDCCHeaderBlock::LASER_DELAY_SCAN, EcalDCCHeaderBlock::LASER_GAP, EcalDCCHeaderBlock::LASER_POWER_SCAN, EcalDCCHeaderBlock::LASER_STD, lightside, MEEBGeom::localCoord(), mappingToken_, METSkim_cff::Max, nCrys, nevtAB, nEvtBadGain, nEvtBadTiming, nEvtTot, phi, edm::Handle< T >::product(), TShapeAnalysis::putAllVals(), rawDataToken_, runNum, runType, TAPDPulse::setPulse(), shapana, MEEBGeom::side(), MEEEGeom::side(), side, nano_mu_digi_cff::strip, EcalElectronicsId::stripId(), ecaldqm::towerID(), EcalElectronicsId::towerId(), EcalDCCHeaderBlock::EcalDCCEventSettings::wavelength, and EcalElectronicsId::xtalId().
|
overridevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 155 of file EcalABAnalyzer.cc.
References _alpha, _beta, _chi2cut, _firstsample, _fitab, _lastsample, _nevtmax, _noise, _nsamples, _presample, alphafile, alphainitfile, doesABTreeExist, resdir_, TShapeAnalysis::set_const(), shapana, and ctpps_dqm_sourceclient-live_cfg::test.
|
overridevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 508 of file EcalABAnalyzer.cc.
References _ecalPart, _fitab, _presample, _presamplecut, _qualpercent, alphafile, alphainitfile, APDPulse, channelMapEE, TShapeAnalysis::computeShape(), Delta01, l1tGTMenu_lepSeeds_cff::delta12, 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 79 of file EcalABAnalyzer.h.
Referenced by beginJob().
|
private |
Definition at line 80 of file EcalABAnalyzer.h.
Referenced by beginJob().
|
private |
Definition at line 83 of file EcalABAnalyzer.h.
Referenced by beginJob().
|
private |
Definition at line 87 of file EcalABAnalyzer.h.
Referenced by FrontierCondition_GT_autoExpress_cfi.Tier0Handler::_queryTier0DataSvc(), tier0.Tier0Handler::_queryTier0DataSvc(), uploads.uploader::check_response_for_error_key(), FrontierCondition_GT_autoExpress_cfi.Tier0Handler::setDebug(), tier0.Tier0Handler::setDebug(), FrontierCondition_GT_autoExpress_cfi.Tier0Handler::unsetDebug(), and tier0.Tier0Handler::unsetDebug().
|
private |
Definition at line 84 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 68 of file EcalABAnalyzer.h.
Referenced by beginJob(), and EcalABAnalyzer().
|
private |
Definition at line 109 of file EcalABAnalyzer.h.
Referenced by analyze(), beginJob(), EcalABAnalyzer(), and endJob().
|
private |
Definition at line 69 of file EcalABAnalyzer.h.
Referenced by beginJob(), and EcalABAnalyzer().
|
private |
Definition at line 81 of file EcalABAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 78 of file EcalABAnalyzer.h.
|
private |
Definition at line 82 of file EcalABAnalyzer.h.
Referenced by beginJob().
|
private |
Definition at line 66 of file EcalABAnalyzer.h.
Referenced by beginJob(), and EcalABAnalyzer().
|
private |
Definition at line 67 of file EcalABAnalyzer.h.
Referenced by beginJob(), EcalABAnalyzer(), and endJob().
|
private |
Definition at line 77 of file EcalABAnalyzer.h.
Referenced by endJob().
|
private |
Definition at line 86 of file EcalABAnalyzer.h.
Referenced by endJob().
|
private |
Definition at line 76 of file EcalABAnalyzer.h.
Referenced by EcalABAnalyzer().
|
private |
Definition at line 75 of file EcalABAnalyzer.h.
Referenced by EcalABAnalyzer().
|
private |
Definition at line 74 of file EcalABAnalyzer.h.
Referenced by EcalABAnalyzer().
|
private |
Definition at line 71 of file EcalABAnalyzer.h.
Referenced by EcalABAnalyzer().
|
private |
Definition at line 70 of file EcalABAnalyzer.h.
Referenced by EcalABAnalyzer().
|
private |
Definition at line 73 of file EcalABAnalyzer.h.
Referenced by EcalABAnalyzer().
|
private |
Definition at line 72 of file EcalABAnalyzer.h.
Referenced by EcalABAnalyzer().
|
private |
Definition at line 132 of file EcalABAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 133 of file EcalABAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 97 of file EcalABAnalyzer.h.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 98 of file EcalABAnalyzer.h.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 89 of file EcalABAnalyzer.h.
Referenced by analyze(), EcalABAnalyzer(), and endJob().
|
private |
Definition at line 134 of file EcalABAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 123 of file EcalABAnalyzer.h.
|
private |
Definition at line 131 of file EcalABAnalyzer.h.
Referenced by analyze(), and edmStreamStallGrapher.StreamInfoElement::unpack().
|
private |
Definition at line 122 of file EcalABAnalyzer.h.
|
private |
Definition at line 115 of file EcalABAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 124 of file EcalABAnalyzer.h.
|
private |
Definition at line 90 of file EcalABAnalyzer.h.
Referenced by analyze(), EcalABAnalyzer(), and endJob().
|
private |
Definition at line 91 of file EcalABAnalyzer.h.
Referenced by analyze(), EcalABAnalyzer(), and endJob().
|
private |
Definition at line 56 of file EcalABAnalyzer.h.
Referenced by analyze(), and EcalABAnalyzer().
|
private |
Definition at line 57 of file EcalABAnalyzer.h.
Referenced by EcalABAnalyzer().
|
private |
Definition at line 107 of file EcalABAnalyzer.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 60 of file EcalABAnalyzer.h.
Referenced by analyze(), and EcalABAnalyzer().
|
private |
Definition at line 61 of file EcalABAnalyzer.h.
Referenced by analyze(), and EcalABAnalyzer().
|
private |
Definition at line 129 of file EcalABAnalyzer.h.
Referenced by Particle.Particle::__str__(), analyze(), datamodel.Object::DeltaR(), Jet.Jet::jetID(), datamodel.Object::p4(), and Jet.Jet::puJetId().
|
private |
Definition at line 130 of file EcalABAnalyzer.h.
Referenced by Types.EventID::cppID(), looper.Looper::process(), and core.AutoHandle.AutoHandle::product().
|
private |
Definition at line 54 of file EcalABAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 55 of file EcalABAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 114 of file EcalABAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 137 of file EcalABAnalyzer.h.
Referenced by analyze(), and EcalABAnalyzer().
|
private |
Definition at line 137 of file EcalABAnalyzer.h.
Referenced by analyze(), and EcalABAnalyzer().
|
private |
Definition at line 136 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 136 of file EcalABAnalyzer.h.
Referenced by analyze(), and EcalABAnalyzer().
|
private |
Definition at line 148 of file EcalABAnalyzer.h.
Referenced by EcalABAnalyzer(), and endJob().
|
private |
Definition at line 137 of file EcalABAnalyzer.h.
Referenced by analyze(), and EcalABAnalyzer().
|
private |
Definition at line 149 of file EcalABAnalyzer.h.
Referenced by EcalABAnalyzer(), and endJob().
|
private |
Definition at line 137 of file EcalABAnalyzer.h.
Referenced by analyze(), and EcalABAnalyzer().
|
private |
Definition at line 118 of file EcalABAnalyzer.h.
Referenced by analyze(), and EcalABAnalyzer().
|
private |
Definition at line 117 of file EcalABAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 62 of file EcalABAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 125 of file EcalABAnalyzer.h.
Referenced by SequenceVisitors.NodeVisitor::enter(), and postprocessor.PostProcessor::run().
|
private |
Definition at line 106 of file EcalABAnalyzer.h.
Referenced by analyze(), EcalABAnalyzer(), and endJob().
|
private |
Definition at line 101 of file EcalABAnalyzer.h.
Referenced by analyze(), and EcalABAnalyzer().
|
private |
Definition at line 141 of file EcalABAnalyzer.h.
|
private |
Definition at line 142 of file EcalABAnalyzer.h.
|
private |
Definition at line 143 of file EcalABAnalyzer.h.
|
private |
Definition at line 129 of file EcalABAnalyzer.h.
Referenced by Particle.Particle::__str__(), analyze(), datamodel.Object::DeltaR(), datamodel.Object::p4(), and ntupleDataFormat.Track::phiPull().
|
private |
Definition at line 59 of file EcalABAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 93 of file EcalABAnalyzer.h.
Referenced by beginJob().
|
private |
Definition at line 113 of file EcalABAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 112 of file EcalABAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 100 of file EcalABAnalyzer.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 116 of file EcalABAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 145 of file EcalABAnalyzer.h.
Referenced by EcalABAnalyzer(), and endJob().
|
private |
Definition at line 146 of file EcalABAnalyzer.h.
Referenced by EcalABAnalyzer(), and endJob().