CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
jsoncollector::FastMonitor Class Reference

#include <FastMonitor.h>

Public Member Functions

void addFastPathDefinition (std::string const &defPathFast, std::string const defGroupFast, bool strict)
 
void commit (std::vector< unsigned int > *streamLumisPtr)
 
void discardCollected (unsigned int forLumi)
 
 FastMonitor (DataPointDefinition *dpd, bool strictChecking, bool useSource=true, bool useDefinition=true)
 
 FastMonitor (std::string const &defPath, std::string const defGroup, bool strictChecking, bool useSource=true, bool useDefinition=true)
 
std::string getCSVString (int sid=-1)
 
void getHostAndPID (std::string &sHPid)
 
JsonMonitorablegetMergedIntJForLumi (std::string const &name, unsigned int forLumi)
 
void outputCSV (std::string const &path, std::string const &csvString)
 
bool outputFullJSON (std::string const &path, unsigned int lumi, bool output=true)
 
bool outputFullJSONs (std::string const &pathstem, std::string const &ext, unsigned int lumi, bool output=true)
 
void registerFastGlobalMonitorable (JsonMonitorable *newMonitorable)
 
void registerGlobalMonitorable (JsonMonitorable *newMonitorable, bool NAifZeroUpdates, unsigned int *nBins=nullptr)
 
void registerStreamMonitorableUIntVec (std::string const &name, std::vector< unsigned int > *inputs, bool NAifZeroUpdates, unsigned int *nBins=nullptr)
 
void registerStreamMonitorableUIntVecAtomic (std::string const &name, std::vector< AtomicMonUInt * > *inputs, bool NAifZeroUpdates, unsigned int *nBins=nullptr)
 
void setDefPath (std::string const &dpath)
 
void setNStreams (unsigned int nStreams)
 
void snap (unsigned int ls)
 
void snapGlobal (unsigned int ls)
 
void snapStreamAtomic (unsigned int ls, unsigned int streamID)
 
virtual ~FastMonitor ()
 

Private Attributes

std::vector< DataPoint * > dataPoints_
 
std::vector< DataPoint * > dataPointsFastOnly_
 
std::string defPath_
 
std::string defPathFast_
 
bool deleteDef_ = false
 
bool deleteDefFast_ = false
 
DataPointDefinitiondpd_
 
DataPointDefinitiondpdFast_
 
std::map< std::string, unsigned int > dpNameMap_
 
bool fastPathStrictChecking_
 
unsigned int fregDpCount_ = 0
 
bool haveFastPath_ = false
 
std::vector< unsigned int > jsonDpIndex_
 
std::vector< DataPoint * > jsonDpIndexFast_
 
unsigned int nStreams_
 
std::vector< DataPoint * > orphanedDps_
 
unsigned int recentSnaps_ = 0
 
unsigned int recentSnapsTimer_ = 0
 
unsigned int regDpCount_ = 0
 
std::string sourceInfo_
 
bool strictChecking_
 
std::unordered_set< std::string > uids_
 
bool useDefinition_
 
bool useSource_
 

Detailed Description

Definition at line 19 of file FastMonitor.h.

Constructor & Destructor Documentation

◆ FastMonitor() [1/2]

FastMonitor::FastMonitor ( std::string const &  defPath,
std::string const  defGroup,
bool  strictChecking,
bool  useSource = true,
bool  useDefinition = true 
)

Definition at line 22 of file FastMonitor.cc.

24  : defPath_(defPath),
25  strictChecking_(strictChecking),
26  useSource_(useSource),
27  useDefinition_(useDefinition),
28  nStreams_(1),
29  deleteDef_(true) {
30  //get host and PID info
31  if (useSource)
33 
34  //load definition file
35  dpd_ = new DataPointDefinition();
37 }

References defPath_, dpd_, jsoncollector::DataPointDefinition::getDataPointDefinitionFor(), getHostAndPID(), and sourceInfo_.

◆ FastMonitor() [2/2]

FastMonitor::FastMonitor ( DataPointDefinition dpd,
bool  strictChecking,
bool  useSource = true,
bool  useDefinition = true 
)

Definition at line 39 of file FastMonitor.cc.

40  : strictChecking_(strictChecking), useSource_(useSource), useDefinition_(useDefinition), nStreams_(1), dpd_(dpd) {
41  //get host and PID info
42  if (useSource)
44 }

References getHostAndPID(), and sourceInfo_.

◆ ~FastMonitor()

FastMonitor::~FastMonitor ( )
virtual

Definition at line 46 of file FastMonitor.cc.

46  {
47  for (auto dp : dataPoints_)
48  delete dp;
49  if (deleteDef_)
50  delete dpd_;
51  if (deleteDefFast_)
52  delete dpdFast_;
53 }

References dataPoints_, deleteDef_, deleteDefFast_, Calorimetry_cff::dp, dpd_, and dpdFast_.

Member Function Documentation

◆ addFastPathDefinition()

void FastMonitor::addFastPathDefinition ( std::string const &  defPathFast,
std::string const  defGroupFast,
bool  strict 
)

◆ commit()

void FastMonitor::commit ( std::vector< unsigned int > *  streamLumisPtr)

Definition at line 114 of file FastMonitor.cc.

114  {
115  std::vector<std::string> const& jsonNames = dpd_->getNames();
116  regDpCount_ = dataPoints_.size();
117  if (strictChecking_)
118  assert(jsonNames.size() == regDpCount_);
119 
120  std::map<unsigned int, bool> hasJson;
121  for (unsigned int i = 0; i < jsonNames.size(); i++) {
122  bool notFoundVar = true;
123  for (unsigned int j = 0; j < regDpCount_; j++) {
124  if (dataPoints_[j]->getName() == jsonNames[i]) {
125  dataPoints_[j]->setOperation(dpd_->getOperationFor(i));
126  jsonDpIndex_.push_back(j);
127  hasJson[j] = true;
128  notFoundVar = false;
129  break;
130  }
131  }
132  if (notFoundVar) {
134  //push dummy DP if not registered by the service so that we output required JSON/CSV
135  DataPoint* dummyDp = new DataPoint(sourceInfo_, defPath_);
136  dummyDp->trackDummy(jsonNames[i], true);
137  dataPoints_.push_back(dummyDp);
138  jsonDpIndex_.push_back(dataPoints_.size() - 1);
139  }
140  }
141  for (unsigned int i = 0; i < regDpCount_; i++) {
142  dataPoints_[i]->setStreamLumiPtr(streamLumisPtr);
143  }
144 
145  //fast path:
146  if (haveFastPath_) {
147  std::vector<std::string> const& fjsonNames = dpdFast_->getNames();
149  assert(!(fastPathStrictChecking_ && fjsonNames.size() == fregDpCount_));
150  std::map<unsigned int, bool> fhasJson;
151  for (unsigned int i = 0; i < fjsonNames.size(); i++) {
152  bool notFoundVar = true;
153  for (unsigned int j = 0; j < fregDpCount_; j++) {
154  if (dataPointsFastOnly_[j]->getName() == fjsonNames[i]) {
156  fhasJson[j] = true;
157  notFoundVar = false;
158  break;
159  }
160  }
161  if (notFoundVar) {
162  //try to find variable among slow variables
163 
164  bool notFoundVarSlow = true;
165  for (unsigned int j = 0; j < regDpCount_; j++) {
166  if (dataPoints_[j]->getName() == fjsonNames[i]) {
167  jsonDpIndexFast_.push_back(dataPoints_[j]);
168  //fhasJson[j]=true;
169  notFoundVarSlow = false;
170  break;
171  }
172  }
173 
174  assert(!(fastPathStrictChecking_ && !notFoundVarSlow));
175  //push dummy DP if not registered by the service so that we output required JSON/CSV
176  if (notFoundVarSlow) {
177  DataPoint* dummyDp = new DataPoint(sourceInfo_, defPathFast_);
178  dummyDp->trackDummy(fjsonNames[i], true);
179  dataPointsFastOnly_.push_back(dummyDp);
180  jsonDpIndexFast_.push_back(dummyDp);
181  }
182  }
183  }
184  }
185 }

References cms::cuda::assert(), dataPoints_, dataPointsFastOnly_, defPath_, defPathFast_, dpd_, dpdFast_, fastPathStrictChecking_, fregDpCount_, getName(), jsoncollector::DataPointDefinition::getNames(), jsoncollector::DataPointDefinition::getOperationFor(), haveFastPath_, mps_fire::i, dqmiolumiharvest::j, jsonDpIndex_, jsonDpIndexFast_, regDpCount_, sourceInfo_, strictChecking_, and jsoncollector::DataPoint::trackDummy().

Referenced by RawEventFileWriterForBU::RawEventFileWriterForBU(), and evf::FastMonitoringThread::MonitorData::registerVariables().

◆ discardCollected()

void FastMonitor::discardCollected ( unsigned int  forLumi)

Definition at line 284 of file FastMonitor.cc.

284  {
285  for (auto dp : dataPoints_)
286  dp->discardCollected(forLumi);
287 }

References dataPoints_, and Calorimetry_cff::dp.

Referenced by RawEventFileWriterForBU::endOfLS(), and RawEventFileWriterForBU::finishFileWrite().

◆ getCSVString()

std::string FastMonitor::getCSVString ( int  sid = -1)

Definition at line 212 of file FastMonitor.cc.

212  {
213  //output what was specified in JSON in the same order (including dummies)
214  unsigned int monSize = jsonDpIndexFast_.size();
215  std::stringstream ss;
216  if (monSize) {
217  for (unsigned int j = 0; j < monSize; j++) {
218  ss << jsonDpIndexFast_[j]->fastOutCSV(sid);
219  if (j < monSize - 1)
220  ss << ",";
221  }
222  }
223  return ss.str();
224 }

References dqmiolumiharvest::j, jsonDpIndexFast_, and contentValuesCheck::ss.

◆ getHostAndPID()

void FastMonitor::getHostAndPID ( std::string &  sHPid)

Definition at line 289 of file FastMonitor.cc.

289  {
290  std::stringstream hpid;
291  int pid = (int)getpid();
292  char hostname[128];
293  gethostname(hostname, sizeof hostname);
294  hpid << hostname << "_" << pid;
295  sHPid = hpid.str();
296 }

References createfilelist::int.

Referenced by FastMonitor().

◆ getMergedIntJForLumi()

JsonMonitorable * FastMonitor::getMergedIntJForLumi ( std::string const &  name,
unsigned int  forLumi 
)

Definition at line 235 of file FastMonitor.cc.

235  {
236  auto it = dpNameMap_.find(name);
237  assert(it != dpNameMap_.end());
238  return dataPoints_[it->second]->mergeAndRetrieveValue(forLumi);
239 }

References cms::cuda::assert(), dataPoints_, dpNameMap_, and Skims_PA_cff::name.

◆ outputCSV()

void FastMonitor::outputCSV ( std::string const &  path,
std::string const &  csvString 
)

Definition at line 226 of file FastMonitor.cc.

226  {
227  std::ofstream outputFile;
229  outputFile << defPathFast_ << std::endl;
230  outputFile << csvString << std::endl;
231  outputFile.close();
232 }

References defPathFast_, MillePedeFileConverter_cfg::out, download_sqlite_cfg::outputFile, castor_dqm_sourceclient_file_cfg::path, and pileupReCalc_HLTpaths::trunc.

◆ outputFullJSON()

bool FastMonitor::outputFullJSON ( std::string const &  path,
unsigned int  lumi,
bool  output = true 
)

Definition at line 266 of file FastMonitor.cc.

266  {
267  LogDebug("FastMonitor") << "SNAP updates -: " << recentSnaps_ << " (by timer: " << recentSnapsTimer_
268  << ") in lumisection ";
269 
271  Json::Value serializeRoot;
272  for (unsigned int j = 0; j < jsonDpIndex_.size(); j++) {
273  dataPoints_[jsonDpIndex_[j]]->mergeAndSerialize(serializeRoot, lumi, j == 0, -1);
274  }
275  if (!output)
276  return false;
277 
279  std::string&& result = writer.write(serializeRoot);
281  return true;
282 }

References dataPoints_, dqmiolumiharvest::j, jsonDpIndex_, LogDebug, convertSQLitetoXML_cfg::output, castor_dqm_sourceclient_file_cfg::path, recentSnaps_, recentSnapsTimer_, mps_fire::result, AlCaHLTBitMon_QueryRunRegistry::string, cscNeutronWriter_cfi::writer, and jsoncollector::FileIO::writeStringToFile().

Referenced by RawEventFileWriterForBU::endOfLS(), RawEventFileWriterForBU::finishFileWrite(), and RawEventFileWriterForBU::stop().

◆ outputFullJSONs()

bool FastMonitor::outputFullJSONs ( std::string const &  pathstem,
std::string const &  ext,
unsigned int  lumi,
bool  output = true 
)

Definition at line 241 of file FastMonitor.cc.

241  {
242  LogDebug("FastMonitor") << "SNAP updates -: " << recentSnaps_ << " (by timer: " << recentSnapsTimer_
243  << ") in lumisection ";
244 
246  for (unsigned int i = 0; i < nStreams_; i++) {
247  //merge even if no output
248  Json::Value serializeRoot;
249  for (unsigned int j = 0; j < jsonDpIndex_.size(); j++) {
250  dataPoints_[jsonDpIndex_[j]]->mergeAndSerialize(serializeRoot, lumi, true, i);
251  }
252  if (!output)
253  continue;
254  //get extension
255  std::stringstream tidext;
256  tidext << "_tid" << i;
257  std::string path = pathstem + tidext.str() + ext;
258 
260  std::string&& result = writer.write(serializeRoot);
262  }
263  return output;
264 }

References dataPoints_, mps_fire::i, dqmiolumiharvest::j, jsonDpIndex_, LogDebug, nStreams_, convertSQLitetoXML_cfg::output, castor_dqm_sourceclient_file_cfg::path, recentSnaps_, recentSnapsTimer_, mps_fire::result, AlCaHLTBitMon_QueryRunRegistry::string, cscNeutronWriter_cfi::writer, and jsoncollector::FileIO::writeStringToFile().

◆ registerFastGlobalMonitorable()

void FastMonitor::registerFastGlobalMonitorable ( JsonMonitorable newMonitorable)

Definition at line 79 of file FastMonitor.cc.

79  {
81  dp->trackMonitorable(newMonitorable, false);
82  dataPointsFastOnly_.push_back(dp);
83 }

References dataPointsFastOnly_, defPathFast_, Calorimetry_cff::dp, and sourceInfo_.

Referenced by evf::FastMonitoringThread::MonitorData::registerVariables().

◆ registerGlobalMonitorable()

void FastMonitor::registerGlobalMonitorable ( JsonMonitorable newMonitorable,
bool  NAifZeroUpdates,
unsigned int *  nBins = nullptr 
)

Definition at line 65 of file FastMonitor.cc.

67  {
69  dp->trackMonitorable(newMonitorable, NAifZeroUpdates);
70  dp->setNBins(nBins);
71  dataPoints_.push_back(dp);
72  dpNameMap_[newMonitorable->getName()] = dataPoints_.size() - 1;
73 
74  //checks if the same name is registered twice
75  assert(uids_.insert(newMonitorable->getName()).second);
76 }

References cms::cuda::assert(), dataPoints_, defPath_, Calorimetry_cff::dp, dpNameMap_, jsoncollector::JsonMonitorable::getName(), seedmultiplicitymonitor_newtracking_cfi::nBins, edm::second(), sourceInfo_, and uids_.

Referenced by RawEventFileWriterForBU::RawEventFileWriterForBU(), and evf::FastMonitoringThread::MonitorData::registerVariables().

◆ registerStreamMonitorableUIntVec()

void FastMonitor::registerStreamMonitorableUIntVec ( std::string const &  name,
std::vector< unsigned int > *  inputs,
bool  NAifZeroUpdates,
unsigned int *  nBins = nullptr 
)

Definition at line 86 of file FastMonitor.cc.

89  {
91  dp->trackVectorUInt(name, inputs, NAifZeroUpdates);
92  dp->setNBins(nBins);
93  dataPoints_.push_back(dp);
94  dpNameMap_[name] = dataPoints_.size() - 1;
95  assert(uids_.insert(name).second);
96 }

References cms::cuda::assert(), dataPoints_, defPath_, Calorimetry_cff::dp, dpNameMap_, PixelMapPlotter::inputs, Skims_PA_cff::name, seedmultiplicitymonitor_newtracking_cfi::nBins, sourceInfo_, and uids_.

Referenced by evf::FastMonitoringThread::MonitorData::registerVariables().

◆ registerStreamMonitorableUIntVecAtomic()

void FastMonitor::registerStreamMonitorableUIntVecAtomic ( std::string const &  name,
std::vector< AtomicMonUInt * > *  inputs,
bool  NAifZeroUpdates,
unsigned int *  nBins = nullptr 
)

Definition at line 99 of file FastMonitor.cc.

102  {
103  std::string definitionToPass;
104  if (useDefinition_)
105  definitionToPass = defPath_;
106  DataPoint* dp = new DataPoint(definitionToPass, sourceInfo_);
107  dp->trackVectorUIntAtomic(name, inputs, NAifZeroUpdates);
108  dp->setNBins(nBins);
109  dataPoints_.push_back(dp);
110  dpNameMap_[name] = dataPoints_.size() - 1;
111  assert(uids_.insert(name).second);
112 }

References cms::cuda::assert(), dataPoints_, defPath_, Calorimetry_cff::dp, dpNameMap_, PixelMapPlotter::inputs, Skims_PA_cff::name, seedmultiplicitymonitor_newtracking_cfi::nBins, sourceInfo_, AlCaHLTBitMon_QueryRunRegistry::string, uids_, and useDefinition_.

Referenced by evf::FastMonitoringThread::MonitorData::registerVariables().

◆ setDefPath()

void jsoncollector::FastMonitor::setDefPath ( std::string const &  dpath)
inline

Definition at line 32 of file FastMonitor.h.

32  {
33  defPath_ = dpath;
34  for (auto dp : dataPoints_)
35  dp->updateDefinition(dpath);
36  }

References dataPoints_, defPath_, and Calorimetry_cff::dp.

Referenced by RawEventFileWriterForBU::writeJsds().

◆ setNStreams()

void jsoncollector::FastMonitor::setNStreams ( unsigned int  nStreams)
inline

Definition at line 38 of file FastMonitor.h.

38 { nStreams_ = nStreams; }

References runTheMatrix::nStreams, and nStreams_.

◆ snap()

void FastMonitor::snap ( unsigned int  ls)

Definition at line 188 of file FastMonitor.cc.

188  {
189  recentSnaps_++;
191  for (unsigned int i = 0; i < regDpCount_; i++) {
192  dataPoints_[i]->snap(ls);
193  }
194 }

References dataPoints_, mps_fire::i, eostools::ls(), recentSnaps_, recentSnapsTimer_, and regDpCount_.

Referenced by RawEventFileWriterForBU::endOfLS(), RawEventFileWriterForBU::finishFileWrite(), and RawEventFileWriterForBU::stop().

◆ snapGlobal()

void FastMonitor::snapGlobal ( unsigned int  ls)

Definition at line 197 of file FastMonitor.cc.

197  {
198  recentSnaps_++;
199  for (unsigned int i = 0; i < regDpCount_; i++) {
200  dataPoints_[i]->snapGlobal(ls);
201  }
202 }

References dataPoints_, mps_fire::i, eostools::ls(), recentSnaps_, and regDpCount_.

◆ snapStreamAtomic()

void FastMonitor::snapStreamAtomic ( unsigned int  ls,
unsigned int  streamID 
)

Definition at line 205 of file FastMonitor.cc.

205  {
206  recentSnaps_++;
207  for (unsigned int i = 0; i < regDpCount_; i++) {
208  dataPoints_[i]->snapStreamAtomic(ls, streamID);
209  }
210 }

References dataPoints_, mps_fire::i, eostools::ls(), recentSnaps_, and regDpCount_.

Member Data Documentation

◆ dataPoints_

std::vector<DataPoint*> jsoncollector::FastMonitor::dataPoints_
private

◆ dataPointsFastOnly_

std::vector<DataPoint*> jsoncollector::FastMonitor::dataPointsFastOnly_
private

Definition at line 113 of file FastMonitor.h.

Referenced by commit(), and registerFastGlobalMonitorable().

◆ defPath_

std::string jsoncollector::FastMonitor::defPath_
private

◆ defPathFast_

std::string jsoncollector::FastMonitor::defPathFast_
private

◆ deleteDef_

bool jsoncollector::FastMonitor::deleteDef_ = false
private

Definition at line 109 of file FastMonitor.h.

Referenced by ~FastMonitor().

◆ deleteDefFast_

bool jsoncollector::FastMonitor::deleteDefFast_ = false
private

Definition at line 110 of file FastMonitor.h.

Referenced by addFastPathDefinition(), and ~FastMonitor().

◆ dpd_

DataPointDefinition* jsoncollector::FastMonitor::dpd_
private

Definition at line 107 of file FastMonitor.h.

Referenced by commit(), FastMonitor(), and ~FastMonitor().

◆ dpdFast_

DataPointDefinition* jsoncollector::FastMonitor::dpdFast_
private

Definition at line 108 of file FastMonitor.h.

Referenced by addFastPathDefinition(), commit(), and ~FastMonitor().

◆ dpNameMap_

std::map<std::string, unsigned int> jsoncollector::FastMonitor::dpNameMap_
private

◆ fastPathStrictChecking_

bool jsoncollector::FastMonitor::fastPathStrictChecking_
private

Definition at line 99 of file FastMonitor.h.

Referenced by addFastPathDefinition(), and commit().

◆ fregDpCount_

unsigned int jsoncollector::FastMonitor::fregDpCount_ = 0
private

Definition at line 122 of file FastMonitor.h.

Referenced by commit().

◆ haveFastPath_

bool jsoncollector::FastMonitor::haveFastPath_ = false
private

Definition at line 102 of file FastMonitor.h.

Referenced by addFastPathDefinition(), and commit().

◆ jsonDpIndex_

std::vector<unsigned int> jsoncollector::FastMonitor::jsonDpIndex_
private

Definition at line 114 of file FastMonitor.h.

Referenced by commit(), outputFullJSON(), and outputFullJSONs().

◆ jsonDpIndexFast_

std::vector<DataPoint*> jsoncollector::FastMonitor::jsonDpIndexFast_
private

Definition at line 115 of file FastMonitor.h.

Referenced by commit(), and getCSVString().

◆ nStreams_

unsigned int jsoncollector::FastMonitor::nStreams_
private

Definition at line 104 of file FastMonitor.h.

Referenced by outputFullJSONs(), and setNStreams().

◆ orphanedDps_

std::vector<DataPoint*> jsoncollector::FastMonitor::orphanedDps_
private

Definition at line 116 of file FastMonitor.h.

◆ recentSnaps_

unsigned int jsoncollector::FastMonitor::recentSnaps_ = 0
private

Definition at line 119 of file FastMonitor.h.

Referenced by outputFullJSON(), outputFullJSONs(), snap(), snapGlobal(), and snapStreamAtomic().

◆ recentSnapsTimer_

unsigned int jsoncollector::FastMonitor::recentSnapsTimer_ = 0
private

Definition at line 120 of file FastMonitor.h.

Referenced by outputFullJSON(), outputFullJSONs(), and snap().

◆ regDpCount_

unsigned int jsoncollector::FastMonitor::regDpCount_ = 0
private

Definition at line 121 of file FastMonitor.h.

Referenced by commit(), snap(), snapGlobal(), and snapStreamAtomic().

◆ sourceInfo_

std::string jsoncollector::FastMonitor::sourceInfo_
private

◆ strictChecking_

bool jsoncollector::FastMonitor::strictChecking_
private

Definition at line 98 of file FastMonitor.h.

Referenced by commit().

◆ uids_

std::unordered_set<std::string> jsoncollector::FastMonitor::uids_
private

◆ useDefinition_

bool jsoncollector::FastMonitor::useDefinition_
private

Definition at line 101 of file FastMonitor.h.

Referenced by registerStreamMonitorableUIntVecAtomic().

◆ useSource_

bool jsoncollector::FastMonitor::useSource_
private

Definition at line 100 of file FastMonitor.h.

eostools.ls
def ls(path, rec=False)
Definition: eostools.py:349
ext
Definition: memstream.h:15
mps_fire.i
i
Definition: mps_fire.py:428
jsoncollector::FastMonitor::uids_
std::unordered_set< std::string > uids_
Definition: FastMonitor.h:124
jsoncollector::FastMonitor::useSource_
bool useSource_
Definition: FastMonitor.h:100
jsoncollector::FastMonitor::recentSnapsTimer_
unsigned int recentSnapsTimer_
Definition: FastMonitor.h:120
jsoncollector::DataPointDefinition::getNames
std::vector< std::string > const & getNames()
Definition: DataPointDefinition.h:44
jsoncollector::FastMonitor::dataPoints_
std::vector< DataPoint * > dataPoints_
Definition: FastMonitor.h:112
convertSQLitetoXML_cfg.output
output
Definition: convertSQLitetoXML_cfg.py:72
jsoncollector::FastMonitor::deleteDefFast_
bool deleteDefFast_
Definition: FastMonitor.h:110
pixelTrack::Quality::strict
cms::cuda::assert
assert(be >=bs)
edm::second
U second(std::pair< T, U > const &p)
Definition: ParameterSet.cc:222
cscNeutronWriter_cfi.writer
writer
Definition: cscNeutronWriter_cfi.py:6
jsoncollector::FastMonitor::recentSnaps_
unsigned int recentSnaps_
Definition: FastMonitor.h:119
jsoncollector::FastMonitor::sourceInfo_
std::string sourceInfo_
Definition: FastMonitor.h:106
jsoncollector::FastMonitor::getHostAndPID
void getHostAndPID(std::string &sHPid)
Definition: FastMonitor.cc:289
jsoncollector::FastMonitor::jsonDpIndexFast_
std::vector< DataPoint * > jsonDpIndexFast_
Definition: FastMonitor.h:115
runTheMatrix.nStreams
nStreams
Definition: runTheMatrix.py:371
jsoncollector::FastMonitor::dpdFast_
DataPointDefinition * dpdFast_
Definition: FastMonitor.h:108
jsoncollector::JsonMonitorable::getName
virtual std::string & getName()
Definition: JsonMonitorable.h:40
contentValuesCheck.ss
ss
Definition: contentValuesCheck.py:33
jsoncollector::FastMonitor::fregDpCount_
unsigned int fregDpCount_
Definition: FastMonitor.h:122
download_sqlite_cfg.outputFile
outputFile
Definition: download_sqlite_cfg.py:5
jsoncollector::DataPointDefinition::getDataPointDefinitionFor
static bool getDataPointDefinitionFor(std::string &defFilePath, DataPointDefinition *dpd, const std::string *defaultGroup=nullptr)
Definition: DataPointDefinition.cc:32
jsoncollector::FastMonitor::nStreams_
unsigned int nStreams_
Definition: FastMonitor.h:104
jsoncollector::DataPointDefinition::getOperationFor
OperationType getOperationFor(unsigned int index)
Definition: DataPointDefinition.cc:78
Calorimetry_cff.dp
dp
Definition: Calorimetry_cff.py:158
jsoncollector::FastMonitor::defPath_
std::string defPath_
Definition: FastMonitor.h:96
getName
TString getName(TString structure, int layer, TString geometry)
Definition: DMRtrends.cc:235
jsoncollector::FastMonitor::deleteDef_
bool deleteDef_
Definition: FastMonitor.h:109
seedmultiplicitymonitor_newtracking_cfi.nBins
nBins
Definition: seedmultiplicitymonitor_newtracking_cfi.py:8
Json::StyledWriter
Writes a Value in JSON format in a human friendly way.
Definition: writer.h:63
jsoncollector::FastMonitor::haveFastPath_
bool haveFastPath_
Definition: FastMonitor.h:102
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:233
jsoncollector::FastMonitor::fastPathStrictChecking_
bool fastPathStrictChecking_
Definition: FastMonitor.h:99
jsoncollector::FastMonitor::regDpCount_
unsigned int regDpCount_
Definition: FastMonitor.h:121
createfilelist.int
int
Definition: createfilelist.py:10
jsoncollector::FileIO::writeStringToFile
static void writeStringToFile(std::string const &filename, std::string &content)
Definition: FileIO.cc:21
PixelMapPlotter.inputs
inputs
Definition: PixelMapPlotter.py:490
jsoncollector::DataPoint
Definition: DataPoint.h:36
jsoncollector::FastMonitor::useDefinition_
bool useDefinition_
Definition: FastMonitor.h:101
jsoncollector::FastMonitor::dpd_
DataPointDefinition * dpd_
Definition: FastMonitor.h:107
jsoncollector::DataPoint::trackDummy
void trackDummy(std::string const &name, bool setNAifZeroUpdates)
Definition: DataPoint.h:80
jsoncollector::DataPointDefinition
Definition: DataPointDefinition.h:20
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
jsoncollector::FastMonitor::dpNameMap_
std::map< std::string, unsigned int > dpNameMap_
Definition: FastMonitor.h:117
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
jsoncollector::FastMonitor::strictChecking_
bool strictChecking_
Definition: FastMonitor.h:98
mps_fire.result
result
Definition: mps_fire.py:311
castor_dqm_sourceclient_file_cfg.path
path
Definition: castor_dqm_sourceclient_file_cfg.py:37
jsoncollector::FastMonitor::jsonDpIndex_
std::vector< unsigned int > jsonDpIndex_
Definition: FastMonitor.h:114
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
lumi
Definition: LumiSectionData.h:20
pileupReCalc_HLTpaths.trunc
trunc
Definition: pileupReCalc_HLTpaths.py:144
jsoncollector::FastMonitor::defPathFast_
std::string defPathFast_
Definition: FastMonitor.h:97
Json::Value
Represents a JSON value.
Definition: value.h:99
jsoncollector::FastMonitor::dataPointsFastOnly_
std::vector< DataPoint * > dataPointsFastOnly_
Definition: FastMonitor.h:113