Public Member Functions | |
virtual void | analyze (const edm::Event &evt, const edm::EventSetup &evtSetup) |
virtual void | endJob () |
SiStripDetVOffTrendPlotter (const edm::ParameterSet &iConfig) | |
virtual | ~SiStripDetVOffTrendPlotter () |
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 |
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) |
Public Attributes | |
const std::vector< Color_t > | PLOT_COLORS {kRed, kBlue, kBlack, kOrange, kMagenta} |
Private Member Functions | |
void | dumpCSV (bool isHV) |
std::string | formatIOV (cond::Time_t iov, std::string format="%Y-%m-%d__%H_%M_%S") |
void | prepGraph (TGraph *gr, TString name, TString title, Color_t color) |
Private Attributes | |
edm::Service< SiStripDetInfoFileReader > | detidReader |
TFile * | fout |
std::map< cond::Time_t, std::map< std::string, std::pair< int, int > > > | iovMap |
std::string | m_condDb |
cond::persistency::ConnectionPool | m_connectionPool |
std::string | m_endTime |
int | m_interval |
std::string | m_outputCSV |
std::string | m_outputPlot |
std::string | m_outputRootFile |
std::vector< std::string > | m_plotTags |
std::string | m_startTime |
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 27 of file SiStripDetVOffTrendPlotter.cc.
|
explicit |
Definition at line 63 of file SiStripDetVOffTrendPlotter.cc.
References cond::persistency::ConnectionPool::configure(), fout, edm::ParameterSet::getParameter(), m_connectionPool, m_outputRootFile, and cond::persistency::ConnectionPool::setParameters().
|
virtual |
|
virtual |
Definition at line 83 of file SiStripDetVOffTrendPlotter.cc.
References EnergyCorrector::c, create_public_lumi_plots::color, cond::persistency::Transaction::commit(), gather_cfg::cout, cond::persistency::ConnectionPool::createSession(), data, detidReader, dumpCSV(), cond::persistency::IOVProxy::end(), Exception, cond::persistency::Session::fetchPayload(), cond::persistency::IOVProxy::find(), plotBeamSpotDB::first, formatIOV(), fout, cond::time::from_boost(), SiStripDetInfoFileReader::getAllDetIds(), AnalysisDataFormats_SUSYBSMObjects::hv, iovMap, m_condDb, m_connectionPool, m_endTime, m_interval, m_outputCSV, m_outputPlot, m_plotTags, m_startTime, jetCorrFactors_cfi::payload, PLOT_COLORS, prepGraph(), cond::persistency::Session::readIov(), cond::persistency::Transaction::start(), AlCaHLTBitMon_QueryRunRegistry::string, GlobalPosition_Frontier_DevDB_cff::tag, cond::time::to_boost(), cond::persistency::Session::transaction(), and cond::time::unpack().
|
private |
Definition at line 236 of file SiStripDetVOffTrendPlotter.cc.
References KineDebug3::count(), DEFINE_FWK_MODULE, detidReader, alignBH_cfg::fixed, SiStripDetInfoFileReader::getAllDetIds(), iovMap, m_outputCSV, m_plotTags, AlCaHLTBitMon_QueryRunRegistry::string, GlobalPosition_Frontier_DevDB_cff::tag, cond::timestamp, cond::time::to_boost(), and findQualityFiles::v.
Referenced by analyze().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 207 of file SiStripDetVOffTrendPlotter.cc.
Referenced by o2olib.O2ORunMgr::executeJob().
|
private |
Definition at line 210 of file SiStripDetVOffTrendPlotter.cc.
References cond::time::to_boost().
Referenced by analyze().
|
private |
|
private |
Definition at line 57 of file SiStripDetVOffTrendPlotter.cc.
|
private |
Definition at line 56 of file SiStripDetVOffTrendPlotter.cc.
Referenced by analyze(), SiStripDetVOffTrendPlotter(), and ~SiStripDetVOffTrendPlotter().
|
private |
Definition at line 60 of file SiStripDetVOffTrendPlotter.cc.
|
private |
Definition at line 42 of file SiStripDetVOffTrendPlotter.cc.
Referenced by analyze().
|
private |
Definition at line 41 of file SiStripDetVOffTrendPlotter.cc.
Referenced by analyze(), and SiStripDetVOffTrendPlotter().
|
private |
Definition at line 49 of file SiStripDetVOffTrendPlotter.cc.
Referenced by analyze().
|
private |
Definition at line 46 of file SiStripDetVOffTrendPlotter.cc.
Referenced by analyze().
|
private |
Definition at line 55 of file SiStripDetVOffTrendPlotter.cc.
|
private |
Definition at line 51 of file SiStripDetVOffTrendPlotter.cc.
Referenced by analyze().
|
private |
Definition at line 53 of file SiStripDetVOffTrendPlotter.cc.
Referenced by SiStripDetVOffTrendPlotter().
|
private |
Definition at line 43 of file SiStripDetVOffTrendPlotter.cc.
|
private |
Definition at line 48 of file SiStripDetVOffTrendPlotter.cc.
Referenced by analyze().
const std::vector<Color_t> SiStripDetVOffTrendPlotter::PLOT_COLORS {kRed, kBlue, kBlack, kOrange, kMagenta} |
Definition at line 29 of file SiStripDetVOffTrendPlotter.cc.
Referenced by analyze().