CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
SiStripDetVOffTrendPlotter Class Reference
Inheritance diagram for SiStripDetVOffTrendPlotter:
edm::EDAnalyzer edm::EDConsumerBase

Public Member Functions

void analyze (const edm::Event &evt, const edm::EventSetup &evtSetup) override
 
void endJob () override
 
 SiStripDetVOffTrendPlotter (const edm::ParameterSet &iConfig)
 
 ~SiStripDetVOffTrendPlotter () override
 
- Public Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
SerialTaskQueueglobalLuminosityBlocksQueue ()
 
SerialTaskQueueglobalRunsQueue ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
 ~EDAnalyzer () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
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
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
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::size_t nModules)
 
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

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 &)
 
static bool wantsGlobalLuminosityBlocks ()
 
static bool wantsGlobalRuns ()
 
static bool wantsStreamLuminosityBlocks ()
 
static bool wantsStreamRuns ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (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 ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 

Detailed Description

Definition at line 29 of file SiStripDetVOffTrendPlotter.cc.

Constructor & Destructor Documentation

◆ SiStripDetVOffTrendPlotter()

SiStripDetVOffTrendPlotter::SiStripDetVOffTrendPlotter ( const edm::ParameterSet iConfig)
explicit

Definition at line 64 of file SiStripDetVOffTrendPlotter.cc.

65  : m_connectionPool(),
66  m_condDb(iConfig.getParameter<std::string>("conditionDatabase")),
67  m_plotTags(iConfig.getParameter<std::vector<std::string>>("plotTags")),
68  m_interval(iConfig.getParameter<int>("timeInterval")),
69  m_startTime(iConfig.getUntrackedParameter<std::string>("startTime", "")),
70  m_endTime(iConfig.getUntrackedParameter<std::string>("endTime", "")),
71  m_outputPlot(iConfig.getUntrackedParameter<std::string>("outputPlot", "")),
72  m_outputRootFile(iConfig.getUntrackedParameter<std::string>("outputRootFile", "")),
73  m_outputCSV(iConfig.getUntrackedParameter<std::string>("outputCSV", "")),
74  fout(nullptr) {
77  if (!m_outputRootFile.empty())
78  fout = new TFile(m_outputRootFile.data(), "RECREATE");
79 }

References cond::persistency::ConnectionPool::configure(), fout, edm::ParameterSet::getParameter(), m_connectionPool, m_outputRootFile, and cond::persistency::ConnectionPool::setParameters().

◆ ~SiStripDetVOffTrendPlotter()

SiStripDetVOffTrendPlotter::~SiStripDetVOffTrendPlotter ( )
override

Definition at line 81 of file SiStripDetVOffTrendPlotter.cc.

81  {
82  if (fout)
83  fout->Close();
84 }

References fout.

Member Function Documentation

◆ analyze()

void SiStripDetVOffTrendPlotter::analyze ( const edm::Event evt,
const edm::EventSetup evtSetup 
)
overridevirtual

Implements edm::EDAnalyzer.

Definition at line 86 of file SiStripDetVOffTrendPlotter.cc.

86  {
87  // get total number of modules
88  edm::ESHandle<GeometricDet> geomDetHandle;
89  evtSetup.get<IdealGeometryRecord>().get(geomDetHandle);
90  const auto num_modules = TrackerGeometryUtils::getSiStripDetIds(*geomDetHandle).size();
91 
92  // get start and end time for DB query
93  boost::posix_time::ptime p_start, p_end;
94  if (m_interval > 0) {
95  // from m_interval hours ago to now
96  p_end = boost::posix_time::second_clock::universal_time();
97  p_start = p_end - boost::posix_time::hours(m_interval);
98  } else {
99  // use start and end time from config file
100  p_start = boost::posix_time::time_from_string(m_startTime);
101  p_end = boost::posix_time::time_from_string(m_endTime);
102  }
103  cond::Time_t startIov = cond::time::from_boost(p_start);
104  cond::Time_t endIov = cond::time::from_boost(p_end);
105  if (startIov > endIov)
106  throw cms::Exception("endTime must be greater than startTime!");
107  edm::LogInfo("SiStripDetVOffTrendPlotter")
108  << "[SiStripDetVOffTrendPlotter::" << __func__ << "] "
109  << "Set start IOV " << startIov << " (" << boost::posix_time::to_simple_string(p_start) << ")"
110  << "\n ... Set end IOV " << endIov << " (" << boost::posix_time::to_simple_string(p_end) << ")";
111 
112  // open db session
113  edm::LogInfo("SiStripDetVOffTrendPlotter") << "[SiStripDetVOffTrendPlotter::" << __func__ << "] "
114  << "Query the condition database " << m_condDb;
116  condDbSession.transaction().start(true);
117 
118  // loop over all tags to plot
119  std::vector<TGraph *> hvgraphs, lvgraphs;
120  TLegend *leg_hv = new TLegend(0.6, 0.87, 0.99, 0.99);
121  TLegend *leg_lv = new TLegend(0.6, 0.87, 0.99, 0.99);
122  for (unsigned itag = 0; itag < m_plotTags.size(); ++itag) {
123  auto tag = m_plotTags.at(itag);
124  auto color = itag < PLOT_COLORS.size() ? PLOT_COLORS.at(itag) : kGreen + itag;
125 
126  std::vector<double> vTime;
127  std::vector<double> vHVOffPercent, vLVOffPercent;
128 
129  // query the database
130  edm::LogInfo("SiStripDetVOffTrendPlotter") << "[SiStripDetVOffTrendPlotter::" << __func__ << "] "
131  << "Reading IOVs from tag " << tag;
132  cond::persistency::IOVProxy iovProxy = condDbSession.readIov(tag);
133  auto iovs = iovProxy.selectAll();
134  auto iiov = iovs.find(startIov);
135  auto eiov = iovs.find(endIov);
136  int niov = 0;
137  while (iiov != iovs.end() && (*iiov).since <= (*eiov).since) {
138  // convert cond::Time_t to seconds since epoch
139  if ((*iiov).since < startIov)
140  vTime.push_back(cond::time::unpack(startIov).first);
141  else
142  vTime.push_back(cond::time::unpack((*iiov).since).first);
143  auto payload = condDbSession.fetchPayload<SiStripDetVOff>((*iiov).payloadId);
144  vHVOffPercent.push_back(1.0 * payload->getHVoffCounts() / num_modules);
145  vLVOffPercent.push_back(1.0 * payload->getLVoffCounts() / num_modules);
146  iovMap[(*iiov).since][tag] = {payload->getHVoffCounts(), payload->getLVoffCounts()};
147  // debug
148  std::cout << boost::posix_time::to_simple_string(cond::time::to_boost((*iiov).since)) << " (" << (*iiov).since
149  << ")"
150  << ", # HV Off=" << std::setw(6) << payload->getHVoffCounts() << ", # LV Off=" << std::setw(6)
151  << payload->getLVoffCounts() << std::endl;
152  ++iiov;
153  ++niov;
154  }
155  edm::LogInfo("SiStripDetVOffTrendPlotter")
156  << "[SiStripDetVOffTrendPlotter::" << __func__ << "] "
157  << "Read " << niov << " IOVs from tag " << tag << " in the specified interval.";
158 
159  TGraph *hv = new TGraph(vTime.size(), vTime.data(), vHVOffPercent.data());
160  prepGraph(hv, TString("HVOff_") + tag, ";UTC;Fraction of HV off", color);
161  leg_hv->AddEntry(hv, tag.data(), "LP");
162 
163  TGraph *lv = new TGraph(vTime.size(), vTime.data(), vLVOffPercent.data());
164  prepGraph(lv, TString("LVOff_") + tag, ";UTC;Fraction of LV off", color);
165  leg_lv->AddEntry(lv, tag.data(), "LP");
166 
167  hvgraphs.push_back(hv);
168  lvgraphs.push_back(lv);
169  }
170 
171  condDbSession.transaction().commit();
172 
173  // Make plots
174  TCanvas c("c", "c", 1800, 1200);
175  c.SetTopMargin(0.12);
176  c.SetBottomMargin(0.08);
177  c.SetGridx();
178  c.SetGridy();
179  for (const auto hv : hvgraphs) {
180  if (hv == hvgraphs.front())
181  hv->Draw("ALP");
182  else
183  hv->Draw("LPsame");
184  if (fout) {
185  fout->cd();
186  hv->Write();
187  }
188  }
189  leg_hv->Draw();
190  std::string plot_postfix =
191  !m_outputPlot.empty() ? m_outputPlot : "from_" + formatIOV(startIov) + "_to_" + formatIOV(endIov) + ".png";
192  c.Print(("HVOff_" + plot_postfix).data());
193 
194  c.Clear();
195  for (const auto lv : lvgraphs) {
196  if (lv == lvgraphs.front())
197  lv->Draw("ALP");
198  else
199  lv->Draw("LPsame");
200  if (fout) {
201  fout->cd();
202  lv->Write();
203  }
204  }
205  leg_lv->Draw();
206  c.Print(("LVOff_" + plot_postfix).data());
207 
208  if (!m_outputCSV.empty()) {
209  dumpCSV(true, num_modules);
210  dumpCSV(false, num_modules);
211  }
212 }

References HltBtagPostValidation_cff::c, cond::persistency::Transaction::commit(), gather_cfg::cout, cond::persistency::ConnectionPool::createSession(), data, dumpCSV(), Exception, cond::persistency::Session::fetchPayload(), cond::persistency::IOVArray::find(), dqmdumpme::first, formatIOV(), fout, cond::time::from_boost(), edm::EventSetup::get(), get, TrackerGeometryUtils::getSiStripDetIds(), getRunInfo::hours, iovMap, m_condDb, m_connectionPool, m_endTime, m_interval, m_outputCSV, m_outputPlot, m_plotTags, m_startTime, jets_cff::payload, PLOT_COLORS, prepGraph(), cond::persistency::Session::readIov(), cond::persistency::IOVProxy::selectAll(), cond::persistency::Transaction::start(), AlCaHLTBitMon_QueryRunRegistry::string, GlobalPosition_Frontier_DevDB_cff::tag, cond::time::to_boost(), cond::persistency::Session::transaction(), and cond::time::unpack().

◆ dumpCSV()

void SiStripDetVOffTrendPlotter::dumpCSV ( bool  isHV,
std::size_t  nModules 
)
private

Definition at line 242 of file SiStripDetVOffTrendPlotter.cc.

242  {
243  std::string outCSV = isHV ? "HVOff_table_" + m_outputCSV : "LVOff_table_" + m_outputCSV;
244  std::ofstream csv;
245  csv.open(outCSV);
246  csv << "IOV,Timestamp(UTC),";
247  for (const auto &tag : m_plotTags)
248  csv << tag << ",";
249  csv << std::endl;
250 
251  csv << std::fixed << std::setprecision(1);
252 
253  for (const auto &v : iovMap) {
254  auto iov = v.first;
255  auto timestamp = boost::posix_time::to_simple_string(cond::time::to_boost(iov));
256  csv << iov << "," << timestamp << ",";
257  for (const auto &tag : m_plotTags) {
258  if (v.second.find(tag) != v.second.end()) {
259  int count = isHV ? v.second.at(tag).first : v.second.at(tag).second;
260  csv << count << " (" << 100. * count / nModules << "%)";
261  }
262  csv << ",";
263  }
264  csv << std::endl;
265  }
266 
267  csv.close();
268 }

References KineDebug3::count(), alignBH_cfg::fixed, 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().

◆ endJob()

void SiStripDetVOffTrendPlotter::endJob ( void  )
overridevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 214 of file SiStripDetVOffTrendPlotter.cc.

214 {}

Referenced by o2olib.O2ORunMgr::executeJob().

◆ formatIOV()

std::string SiStripDetVOffTrendPlotter::formatIOV ( cond::Time_t  iov,
std::string  format = "%Y-%m-%d__%H_%M_%S" 
)
private

Definition at line 216 of file SiStripDetVOffTrendPlotter.cc.

216  {
217  auto facet = new boost::posix_time::time_facet(format.c_str());
218  std::ostringstream stream;
219  stream.imbue(std::locale(stream.getloc(), facet));
221  return stream.str();
222 }

References cms::cuda::stream, and cond::time::to_boost().

Referenced by analyze().

◆ prepGraph()

void SiStripDetVOffTrendPlotter::prepGraph ( TGraph *  gr,
TString  name,
TString  title,
Color_t  color 
)
private

Definition at line 224 of file SiStripDetVOffTrendPlotter.cc.

224  {
225  gr->SetName(name);
226  gr->SetTitle(title);
227  gr->SetLineColor(color);
228  gr->SetLineWidth(2);
229  gr->SetMarkerStyle(20);
230  gr->SetMarkerSize(1.5);
231  gr->SetMarkerColor(color);
232  gr->GetXaxis()->SetTimeDisplay(1);
233  gr->GetXaxis()->SetLabelOffset(0.02);
234  gr->GetXaxis()->SetTimeFormat("#splitline{%b %d}{%H:%M}");
235  gr->GetXaxis()->SetTimeOffset(0, "gmt");
236  gr->GetXaxis()->SetLabelSize(0.025);
237  gr->GetXaxis()->SetTitleSize(0.025);
238  gr->GetXaxis()->SetTitleOffset(1.6);
239  gr->GetYaxis()->SetRangeUser(0, 1.05);
240 }

References Skims_PA_cff::name, and overlapproblemtsosanalyzer_cfi::title.

Referenced by analyze().

Member Data Documentation

◆ fout

TFile* SiStripDetVOffTrendPlotter::fout
private

◆ iovMap

std::map<cond::Time_t, std::map<std::string, std::pair<int, int> > > SiStripDetVOffTrendPlotter::iovMap
private

Definition at line 61 of file SiStripDetVOffTrendPlotter.cc.

Referenced by analyze(), and dumpCSV().

◆ m_condDb

std::string SiStripDetVOffTrendPlotter::m_condDb
private

Definition at line 44 of file SiStripDetVOffTrendPlotter.cc.

Referenced by analyze().

◆ m_connectionPool

cond::persistency::ConnectionPool SiStripDetVOffTrendPlotter::m_connectionPool
private

Definition at line 43 of file SiStripDetVOffTrendPlotter.cc.

Referenced by analyze(), and SiStripDetVOffTrendPlotter().

◆ m_endTime

std::string SiStripDetVOffTrendPlotter::m_endTime
private

Definition at line 51 of file SiStripDetVOffTrendPlotter.cc.

Referenced by analyze().

◆ m_interval

int SiStripDetVOffTrendPlotter::m_interval
private

Definition at line 48 of file SiStripDetVOffTrendPlotter.cc.

Referenced by analyze().

◆ m_outputCSV

std::string SiStripDetVOffTrendPlotter::m_outputCSV
private

Definition at line 57 of file SiStripDetVOffTrendPlotter.cc.

Referenced by analyze(), and dumpCSV().

◆ m_outputPlot

std::string SiStripDetVOffTrendPlotter::m_outputPlot
private

Definition at line 53 of file SiStripDetVOffTrendPlotter.cc.

Referenced by analyze().

◆ m_outputRootFile

std::string SiStripDetVOffTrendPlotter::m_outputRootFile
private

Definition at line 55 of file SiStripDetVOffTrendPlotter.cc.

Referenced by SiStripDetVOffTrendPlotter().

◆ m_plotTags

std::vector<std::string> SiStripDetVOffTrendPlotter::m_plotTags
private

Definition at line 45 of file SiStripDetVOffTrendPlotter.cc.

Referenced by analyze(), and dumpCSV().

◆ m_startTime

std::string SiStripDetVOffTrendPlotter::m_startTime
private

Definition at line 50 of file SiStripDetVOffTrendPlotter.cc.

Referenced by analyze().

◆ PLOT_COLORS

const std::vector<Color_t> SiStripDetVOffTrendPlotter::PLOT_COLORS {kRed, kBlue, kBlack, kOrange, kMagenta}

Definition at line 31 of file SiStripDetVOffTrendPlotter.cc.

Referenced by analyze().

alignBH_cfg.fixed
fixed
Definition: alignBH_cfg.py:54
cond::time::to_boost
boost::posix_time::ptime to_boost(Time_t iValue)
Definition: TimeConversions.h:39
SiStripDetVOffTrendPlotter::m_outputRootFile
std::string m_outputRootFile
Definition: SiStripDetVOffTrendPlotter.cc:55
cms::cuda::stream
cudaStream_t stream
Definition: HistoContainer.h:57
gather_cfg.cout
cout
Definition: gather_cfg.py:144
SiStripDetVOffTrendPlotter::m_startTime
std::string m_startTime
Definition: SiStripDetVOffTrendPlotter.cc:50
edm::LogInfo
Definition: MessageLogger.h:254
SiStripDetVOffTrendPlotter::iovMap
std::map< cond::Time_t, std::map< std::string, std::pair< int, int > > > iovMap
Definition: SiStripDetVOffTrendPlotter.cc:61
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
findQualityFiles.v
v
Definition: findQualityFiles.py:179
cond::persistency::ConnectionPool::createSession
Session createSession(const std::string &connectionString, bool writeCapable=false)
Definition: ConnectionPool.cc:154
cond::persistency::IOVProxy::selectAll
IOVArray selectAll()
Definition: IOVProxy.cc:171
TrackerGeometryUtils::getSiStripDetIds
std::vector< uint32_t > getSiStripDetIds(const GeometricDet &geomDet)
Definition: utils.cc:4
dqmdumpme.first
first
Definition: dqmdumpme.py:55
cond::persistency::Session::fetchPayload
std::unique_ptr< T > fetchPayload(const cond::Hash &payloadHash)
Definition: Session.h:213
SiStripDetVOffTrendPlotter::m_interval
int m_interval
Definition: SiStripDetVOffTrendPlotter.cc:48
cond::persistency::IOVArray::find
Iterator find(cond::Time_t time) const
Definition: IOVProxy.cc:93
cond::timestamp
Definition: Time.h:19
edm::EventSetup::get
T get() const
Definition: EventSetup.h:73
GlobalPosition_Frontier_DevDB_cff.tag
tag
Definition: GlobalPosition_Frontier_DevDB_cff.py:11
SiStripDetVOffTrendPlotter::m_outputCSV
std::string m_outputCSV
Definition: SiStripDetVOffTrendPlotter.cc:57
SiStripDetVOffTrendPlotter::formatIOV
std::string formatIOV(cond::Time_t iov, std::string format="%Y-%m-%d__%H_%M_%S")
Definition: SiStripDetVOffTrendPlotter.cc:216
edm::ESHandle< GeometricDet >
jets_cff.payload
payload
Definition: jets_cff.py:34
SiStripDetVOffTrendPlotter::m_connectionPool
cond::persistency::ConnectionPool m_connectionPool
Definition: SiStripDetVOffTrendPlotter.cc:43
cond::persistency::Session::readIov
IOVProxy readIov(const std::string &tag)
Definition: Session.cc:63
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
cond::persistency::IOVProxy
Definition: IOVProxy.h:92
SiStripDetVOffTrendPlotter::m_endTime
std::string m_endTime
Definition: SiStripDetVOffTrendPlotter.cc:51
edm::ParameterSet
Definition: ParameterSet.h:36
cond::time::from_boost
Time_t from_boost(boost::posix_time::ptime bt)
Definition: TimeConversions.h:43
KineDebug3::count
void count()
Definition: KinematicConstrainedVertexUpdatorT.h:21
cond::persistency::Session
Definition: Session.h:63
SiStripDetVOffTrendPlotter::dumpCSV
void dumpCSV(bool isHV, std::size_t nModules)
Definition: SiStripDetVOffTrendPlotter.cc:242
cond::Time_t
unsigned long long Time_t
Definition: Time.h:14
SiStripDetVOffTrendPlotter::m_plotTags
std::vector< std::string > m_plotTags
Definition: SiStripDetVOffTrendPlotter.cc:45
cond::persistency::Transaction::commit
void commit()
Definition: Session.cc:23
SiStripDetVOff
Definition: SiStripDetVOff.h:31
SiStripDetVOffTrendPlotter::m_condDb
std::string m_condDb
Definition: SiStripDetVOffTrendPlotter.cc:44
SiStripDetVOffTrendPlotter::fout
TFile * fout
Definition: SiStripDetVOffTrendPlotter.cc:58
cond::persistency::ConnectionPool::setParameters
void setParameters(const edm::ParameterSet &connectionPset)
Definition: ConnectionPool.cc:40
cond::persistency::ConnectionPool::configure
void configure()
Definition: ConnectionPool.cc:121
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
get
#define get
overlapproblemtsosanalyzer_cfi.title
title
Definition: overlapproblemtsosanalyzer_cfi.py:7
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
SiStripDetVOffTrendPlotter::PLOT_COLORS
const std::vector< Color_t > PLOT_COLORS
Definition: SiStripDetVOffTrendPlotter.cc:31
cond::persistency::Session::transaction
Transaction & transaction()
Definition: Session.cc:52
cond::persistency::Transaction::start
void start(bool readOnly=true)
Definition: Session.cc:18
Exception
Definition: hltDiff.cc:246
format
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
SiStripDetVOffTrendPlotter::m_outputPlot
std::string m_outputPlot
Definition: SiStripDetVOffTrendPlotter.cc:53
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
cond::time::unpack
cond::UnpackedTime unpack(cond::Time_t iValue)
Definition: TimeConversions.h:22
getRunInfo.hours
hours
Definition: getRunInfo.py:25
SiStripDetVOffTrendPlotter::prepGraph
void prepGraph(TGraph *gr, TString name, TString title, Color_t color)
Definition: SiStripDetVOffTrendPlotter.cc:224
IdealGeometryRecord
Definition: IdealGeometryRecord.h:27