CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes
CommissioningHistosUsingDb Class Reference

#include <CommissioningHistosUsingDb.h>

Inheritance diagram for CommissioningHistosUsingDb:
CommissioningHistograms ApvTimingHistosUsingDb CalibrationHistosUsingDb DaqScopeModeHistosUsingDb FastFedCablingHistosUsingDb FineDelayHistosUsingDb LatencyHistosUsingDb NoiseHistosUsingDb OptoScanHistosUsingDb PedestalsHistosUsingDb PedsFullNoiseHistosUsingDb PedsOnlyHistosUsingDb VpspScanHistosUsingDb

Classes

class  DetInfo
 

Public Member Functions

 CommissioningHistosUsingDb (SiStripConfigDb *const, sistrip::RunType=sistrip::UNDEFINED_RUN_TYPE)
 
void configure (const edm::ParameterSet &, const edm::EventSetup &) override
 
bool doUploadAnal () const
 
void doUploadAnal (bool)
 
bool doUploadConf () const
 
void doUploadConf (bool)
 
void uploadToConfigDb ()
 
 ~CommissioningHistosUsingDb () override
 
- Public Member Functions inherited from CommissioningHistograms
 CommissioningHistograms ()
 
 CommissioningHistograms (const edm::ParameterSet &pset, DQMStore *const, const sistrip::RunType &)
 
void createCollations (const std::vector< std::string > &)
 
virtual void createSummaryHisto (const sistrip::Monitorable &, const sistrip::Presentation &, const std::string &top_level_dir, const sistrip::Granularity &)
 
void extractHistograms (const std::vector< std::string > &)
 
virtual void histoAnalysis (bool debug)
 
virtual void printAnalyses ()
 
virtual void printSummary ()
 
void remove (std::string pattern="")
 
void save (std::string &filename, uint32_t run_number=0, std::string partitionName="")
 
virtual ~CommissioningHistograms ()
 

Protected Member Functions

virtual void addDcuDetIds ()
 
void buildDetInfo ()
 
SiStripFedCabling *const cabling () const
 
virtual void create (SiStripConfigDb::AnalysisDescriptionsV &, Analysis)
 
virtual void createAnalyses (SiStripConfigDb::AnalysisDescriptionsV &)
 
SiStripConfigDb *const db () const
 
std::pair< std::string, DetInfodetInfo (const SiStripFecKey &)
 
bool deviceIsPresent (const SiStripFecKey &)
 
void uploadAnalyses ()
 
virtual void uploadConfigurations ()
 
- Protected Member Functions inherited from CommissioningHistograms
DQMStore *const bei () const
 
void clearHistosMap ()
 
Analysesdata (bool getMaskedData=false)
 
Factory *const factory ()
 
TH1 * histogram (const sistrip::Monitorable &, const sistrip::Presentation &, const sistrip::View &, const std::string &directory, const uint32_t &xbins, const float &xlow=1. *sistrip::invalid_, const float &xhigh=1. *sistrip::invalid_)
 
const HistosMaphistos () const
 
const FedToFecMapmapping () const
 
void printHistosMap ()
 
const edm::ParameterSetpset () const
 
const sistrip::RunTypetask () const
 

Private Types

typedef std::map< uint32_t, DetInfoDetInfos
 

Private Member Functions

 CommissioningHistosUsingDb ()
 

Private Attributes

SiStripFedCablingcabling_
 
SiStripConfigDbdb_
 
std::map< std::string, DetInfosdetInfo_
 
sistrip::RunType runType_
 
bool uploadAnal_
 
bool uploadConf_
 

Additional Inherited Members

- Public Types inherited from CommissioningHistograms
typedef std::map< uint32_t, CommissioningAnalysis * > Analyses
 
typedef Analyses::iterator Analysis
 
typedef dqm::harvesting::DQMStore DQMStore
 
typedef SummaryPlotFactory< CommissioningAnalysis * > Factory
 
typedef std::map< uint32_t, uint32_t > FedToFecMap
 
typedef std::vector< Histo * > Histos
 
typedef std::map< uint32_t, HistosHistosMap
 
typedef dqm::harvesting::MonitorElement MonitorElement
 
- Static Public Member Functions inherited from CommissioningHistograms
static void copyCustomInformation (DQMStore *const, const std::vector< std::string > &)
 
static uint32_t runNumber (DQMStore *const, const std::vector< std::string > &)
 
static sistrip::RunType runType (DQMStore *const, const std::vector< std::string > &)
 
- Protected Attributes inherited from CommissioningHistograms
std::unique_ptr< Factoryfactory_
 

Detailed Description

Definition at line 16 of file CommissioningHistosUsingDb.h.

Member Typedef Documentation

◆ DetInfos

typedef std::map<uint32_t, DetInfo> CommissioningHistosUsingDb::DetInfos
private

Definition at line 78 of file CommissioningHistosUsingDb.h.

Constructor & Destructor Documentation

◆ CommissioningHistosUsingDb() [1/2]

CommissioningHistosUsingDb::CommissioningHistosUsingDb ( SiStripConfigDb * const  db,
sistrip::RunType  type = sistrip::UNDEFINED_RUN_TYPE 
)

Definition at line 20 of file CommissioningHistosUsingDb.cc.

22  runType_(type),
23  db_(db),
24  cabling_(nullptr),
25  detInfo_(),
26  uploadAnal_(true),
27  uploadConf_(false) {
28  LogTrace(mlDqmClient_) << "[" << __PRETTY_FUNCTION__ << "]"
29  << " Constructing object...";
30 }

References LogTrace, and sistrip::mlDqmClient_.

◆ ~CommissioningHistosUsingDb()

CommissioningHistosUsingDb::~CommissioningHistosUsingDb ( )
override

Definition at line 48 of file CommissioningHistosUsingDb.cc.

48  {
49  if (db_) {
50  delete db_;
51  }
52  LogTrace(mlDqmClient_) << "[" << __PRETTY_FUNCTION__ << "]"
53  << " Destructing object...";
54 }

References db_, LogTrace, and sistrip::mlDqmClient_.

◆ CommissioningHistosUsingDb() [2/2]

CommissioningHistosUsingDb::CommissioningHistosUsingDb ( )
private

Definition at line 34 of file CommissioningHistosUsingDb.cc.

37  db_(nullptr),
38  cabling_(nullptr),
39  detInfo_(),
40  uploadAnal_(false),
41  uploadConf_(false) {
42  LogTrace(mlDqmClient_) << "[" << __PRETTY_FUNCTION__ << "]"
43  << " Constructing object..." << endl;
44 }

References LogTrace, and sistrip::mlDqmClient_.

Member Function Documentation

◆ addDcuDetIds()

void CommissioningHistosUsingDb::addDcuDetIds ( )
protectedvirtual

Reimplemented in FastFedCablingHistosUsingDb.

Definition at line 185 of file CommissioningHistosUsingDb.cc.

185  {
186  if (!cabling_) {
187  edm::LogWarning(mlDqmClient_) << "[CommissioningHistosUsingDb::" << __func__ << "]"
188  << " NULL pointer to SiStripFedCabling object!";
189  return;
190  }
191 
192  Analyses::iterator ianal = data().begin();
193  Analyses::iterator janal = data().end();
194  for (; ianal != janal; ++ianal) {
195  CommissioningAnalysis* anal = ianal->second;
196 
197  if (!anal) {
198  edm::LogWarning(mlDqmClient_) << "[CommissioningHistosUsingDb::" << __func__ << "]"
199  << " NULL pointer to CommissioningAnalysis object!";
200  return;
201  }
202 
203  SiStripFedKey fed_key = anal->fedKey();
204  SiStripFecKey fec_key = anal->fecKey();
205 
207 
208  SiStripFedKey fed(conn.fedId(), SiStripFedKey::feUnit(conn.fedCh()), SiStripFedKey::feChan(conn.fedCh()));
209 
210  SiStripFecKey fec(
211  conn.fecCrate(), conn.fecSlot(), conn.fecRing(), conn.ccuAddr(), conn.ccuChan(), conn.lldChannel());
212 
213  if (fed_key.path() != fed.path()) {
214  std::stringstream ss;
215  ss << "[CommissioningHistosUsingDb::" << __func__ << "]"
216  << " Cannot set DCU and DetId values in commissioning analysis object!" << std::endl
217  << " Incompatible FED key retrieved from cabling!" << std::endl
218  << " FED key from analysis object : " << fed_key.path() << std::endl
219  << " FED key from cabling object : " << fed.path() << std::endl
220  << " FED id/ch from analysis object: " << fed_key.fedId() << "/" << fed_key.fedChannel() << std::endl
221  << " FED id/ch from cabling object : " << conn.fedId() << "/" << conn.fedCh();
222  edm::LogWarning(mlDqmClient_) << ss.str();
223 
224  } else if (fec_key.path() != fec.path()) {
225  std::stringstream ss;
226  ss << "[CommissioningHistosUsingDb::" << __func__ << "]"
227  << " Cannot set DCU and DetId values in commissioning analysis object!" << std::endl
228  << " Incompatible FEC key retrieved from cabling!" << std::endl
229  << " FEC key from analysis object : " << fec_key.path() << std::endl
230  << " FEC key from cabling object : " << fec.path();
231  edm::LogWarning(mlDqmClient_) << ss.str();
232 
233  } else {
234  anal->dcuId(conn.dcuId());
235  anal->detId(conn.detId());
236  }
237  }
238 }

References conversion_template_cfg::anal, cabling_, SiStripCommissioningClient_cfg::conn, CommissioningHistograms::data(), SiStripFedKey::feChan(), SiStripFedKey::fedChannel(), SiStripFedCabling::fedConnection(), SiStripFedKey::fedId(), SiStripFedKey::feUnit(), sistrip::mlDqmClient_, SiStripKey::path(), and contentValuesCheck::ss.

Referenced by uploadToConfigDb().

◆ buildDetInfo()

void CommissioningHistosUsingDb::buildDetInfo ( )
protected

Definition at line 258 of file CommissioningHistosUsingDb.cc.

258  {
259  detInfo_.clear();
260 
261  if (!db()) {
262  edm::LogError(mlDqmClient_) << "[CommissioningHistosUsingDb::" << __func__ << "]"
263  << " NULL pointer to SiStripConfigDb interface!";
264  return;
265  }
266 
267  SiStripDbParams::SiStripPartitions::const_iterator ii = db_->dbParams().partitions().begin();
268  SiStripDbParams::SiStripPartitions::const_iterator jj = db_->dbParams().partitions().end();
269  for (; ii != jj; ++ii) {
270  // Retrieve DCUs and DetIds for given partition
271  std::string pp = ii->second.partitionName();
274 
275  // Iterate through DCUs
276  SiStripConfigDb::DeviceDescriptionsV::const_iterator idcu = dcus.begin();
277  SiStripConfigDb::DeviceDescriptionsV::const_iterator jdcu = dcus.end();
278  for (; idcu != jdcu; ++idcu) {
279  // Extract DCU-FEH description
280  dcuDescription* dcu = dynamic_cast<dcuDescription*>(*idcu);
281  if (!dcu) {
282  continue;
283  }
284  if (dcu->getDcuType() != "FEH") {
285  continue;
286  }
287 
288  // S.L. 29/1/2010
289  // HARDCODED!!! We have a broken module, known from Pisa integration tests
290  // We could really use a better solutin for this than hardcode it!!!
291  if (dcu->getDcuHardId() == 16448250)
292  continue; // fake dcu (0xfafafa)
293 
294  // Find TkDcuInfo object corresponding to given DCU description
295  SiStripConfigDb::DcuDetIdsV::const_iterator idet = dets.end();
296  idet = SiStripConfigDb::findDcuDetId(dets.begin(), dets.end(), dcu->getDcuHardId());
297  if (idet == dets.begin()) {
298  continue;
299  }
300 
301  // Extract TkDcuInfo object
302  TkDcuInfo* det = idet->second;
303  if (!det) {
304  continue;
305  }
306 
307  // Build FEC key
309  SiStripFecKey fec_key(addr.fecCrate_, addr.fecSlot_, addr.fecRing_, addr.ccuAddr_, addr.ccuChan_);
310 
311  // Build DetInfo object
312  DetInfo info;
313  info.dcuId_ = det->getDcuHardId();
314  info.detId_ = det->getDetId();
315  info.pairs_ = det->getApvNumber() / 2;
316 
317  // Add it to map
318  if (fec_key.isValid()) {
319  detInfo_[pp][fec_key.key()] = info;
320  }
321  }
322  }
323 
324  // Debug
325  if (edm::isDebugEnabled()) {
326  std::stringstream ss;
327  ss << "[CommissioningHistosUsingDb::" << __func__ << "]"
328  << " List of modules for " << detInfo_.size()
329  << " partitions, with their DCUids, DetIds, and nApvPairs: " << std::endl;
330  std::map<std::string, DetInfos>::const_iterator ii = detInfo_.begin();
331  std::map<std::string, DetInfos>::const_iterator jj = detInfo_.end();
332  for (; ii != jj; ++ii) {
333  ss << " Partition \"" << ii->first << "\" has " << ii->second.size() << " modules:" << std::endl;
334  DetInfos::const_iterator iii = ii->second.begin();
335  DetInfos::const_iterator jjj = ii->second.end();
336  for (; iii != jjj; ++iii) {
337  SiStripFecKey key = iii->first;
338  ss << " module= " << key.fecCrate() << "/" << key.fecSlot() << "/" << key.fecRing() << "/" << key.ccuAddr()
339  << "/" << key.ccuChan() << ", " << std::hex << " DCUid= " << std::setw(8) << std::setfill('0')
340  << iii->second.dcuId_ << " DetId= " << std::setw(8) << std::setfill('0') << iii->second.detId_ << std::dec
341  << " nPairs= " << iii->second.pairs_ << std::endl;
342  }
343  }
344  //LogTrace(mlDqmClient_) << ss.str();
345  }
346 }

References generateTowerEtThresholdLUT::addr, db(), db_, SiStripConfigDb::dbParams(), TauDecayModes::dec, detInfo_, SiStripConfigDb::deviceAddress(), SiStripConfigDb::findDcuDetId(), SiStripConfigDb::getDcuDetIds(), SiStripConfigDb::getDeviceDescriptions(), cuy::ii, info(), edm::isDebugEnabled(), SiStripFecKey::isValid(), findQualityFiles::jj, crabWrapper::key, SiStripKey::key(), sistrip::mlDqmClient_, SiStripDbParams::partitions(), createTree::pp, contentValuesCheck::ss, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by uploadToConfigDb().

◆ cabling()

SiStripFedCabling *const CommissioningHistosUsingDb::cabling ( ) const
inlineprotected

◆ configure()

void CommissioningHistosUsingDb::configure ( const edm::ParameterSet ,
const edm::EventSetup setup 
)
overridevirtual

Reimplemented from CommissioningHistograms.

Reimplemented in FineDelayHistosUsingDb, and LatencyHistosUsingDb.

Definition at line 56 of file CommissioningHistosUsingDb.cc.

56  {
57  if (!db_) {
58  edm::LogError(mlDqmClient_) << "[CommissioningHistosUsingDb::" << __func__ << "]"
59  << " NULL pointer to SiStripConfigDb interface!"
60  << " Cannot configure...";
61  } else {
62  // Build FEC cabling object from connections found in DB
63  SiStripFecCabling fec_cabling;
66  } else {
68  }
69 
70  // Build FED cabling from FEC cabling
73  std::stringstream ss;
74  ss << "[CommissioningHistosUsingDb::" << __func__ << "]"
75  << " Terse print out of FED cabling:" << std::endl;
76  cabling_->terse(ss);
77  LogTrace(mlDqmClient_) << ss.str();
78 
80  setup.get<TrackerTopologyRcd>().get(tTopo);
81  std::stringstream sss;
82  sss << "[CommissioningHistosUsingDb::" << __func__ << "]"
83  << " Summary of FED cabling:" << std::endl;
84  cabling_->summary(sss, tTopo.product());
85  edm::LogVerbatim(mlDqmClient_) << sss.str();
86  }
87 }

References SiStripFedCablingBuilderFromDb::buildFecCabling(), SiStripFedCablingBuilderFromDb::buildFecCablingFromDevices(), cabling_, db_, sistrip::FAST_CABLING, get, SiStripFedCablingBuilderFromDb::getFedCabling(), LogTrace, sistrip::mlDqmClient_, edm::ESHandle< T >::product(), runType_, singleTopDQM_cfi::setup, contentValuesCheck::ss, SiStripFedCabling::summary(), and SiStripFedCabling::terse().

Referenced by FineDelayHistosUsingDb::configure(), and LatencyHistosUsingDb::configure().

◆ create()

virtual void CommissioningHistosUsingDb::create ( SiStripConfigDb::AnalysisDescriptionsV ,
Analysis   
)
inlineprotectedvirtual

◆ createAnalyses()

void CommissioningHistosUsingDb::createAnalyses ( SiStripConfigDb::AnalysisDescriptionsV desc)
protectedvirtual

Definition at line 242 of file CommissioningHistosUsingDb.cc.

242  {
243  LogTrace(mlDqmClient_) << "[CommissioningHistosUsingDb::" << __func__ << "]"
244  << " Creating AnalysisDescriptions...";
245 
246  desc.clear();
247 
248  Analyses::iterator ianal = data().begin();
249  Analyses::iterator janal = data().end();
250  for (; ianal != janal; ++ianal) {
251  // create analysis description
252  create(desc, ianal);
253  }
254 }

References create(), CommissioningHistograms::data(), submitPVResolutionJobs::desc, LogTrace, and sistrip::mlDqmClient_.

Referenced by uploadAnalyses().

◆ db()

SiStripConfigDb *const CommissioningHistosUsingDb::db ( ) const
inlineprotected

◆ detInfo()

std::pair< std::string, CommissioningHistosUsingDb::DetInfo > CommissioningHistosUsingDb::detInfo ( const SiStripFecKey key)
protected

Definition at line 350 of file CommissioningHistosUsingDb.cc.

351  {
353  if (tmp.isInvalid()) {
354  return std::make_pair("", DetInfo());
355  }
356  std::map<std::string, DetInfos>::const_iterator ii = detInfo_.begin();
357  std::map<std::string, DetInfos>::const_iterator jj = detInfo_.end();
358  for (; ii != jj; ++ii) {
359  DetInfos::const_iterator iii = ii->second.find(tmp.key());
360  if (iii != ii->second.end()) {
361  return std::make_pair(ii->first, iii->second);
362  }
363  }
364  return std::make_pair("", DetInfo());
365 }

References sistrip::CCU_CHAN, detInfo_, cuy::ii, findQualityFiles::jj, crabWrapper::key, and createJobs::tmp.

Referenced by deviceIsPresent().

◆ deviceIsPresent()

bool CommissioningHistosUsingDb::deviceIsPresent ( const SiStripFecKey key)
protected

Definition at line 369 of file CommissioningHistosUsingDb.cc.

369  {
371  std::pair<std::string, DetInfo> info = detInfo(key);
372  if (info.second.dcuId_ != sistrip::invalid32_) {
373  if (key.channel() == 2 && info.second.pairs_ == 2) {
374  return false;
375  } else {
376  return true;
377  }
378  } else {
379  std::stringstream ss;
380  ss << "[CommissioningHistosUsingDb::" << __func__ << "]"
381  << " Cannot find module (crate/FEC/ring/CCU/module): " << tmp.fecCrate() << "/" << tmp.fecSlot() << "/"
382  << tmp.fecRing() << "/" << tmp.ccuAddr() << "/" << tmp.ccuChan() << "!";
383  edm::LogWarning(mlDqmClient_) << ss.str();
384  return true;
385  }
386 }

References sistrip::CCU_CHAN, detInfo(), info(), sistrip::invalid32_, crabWrapper::key, sistrip::mlDqmClient_, contentValuesCheck::ss, and createJobs::tmp.

Referenced by DaqScopeModeHistosUsingDb::update(), VpspScanHistosUsingDb::update(), PedsFullNoiseHistosUsingDb::update(), PedestalsHistosUsingDb::update(), OptoScanHistosUsingDb::update(), ApvTimingHistosUsingDb::update(), and CalibrationHistosUsingDb::update().

◆ doUploadAnal() [1/2]

bool CommissioningHistosUsingDb::doUploadAnal ( ) const
inline

Definition at line 90 of file CommissioningHistosUsingDb.h.

90 { return uploadAnal_; }

References uploadAnal_.

◆ doUploadAnal() [2/2]

void CommissioningHistosUsingDb::doUploadAnal ( bool  upload)
inline

Definition at line 88 of file CommissioningHistosUsingDb.h.

88 { uploadAnal_ = upload; }

References alcaDQMUpload::upload(), and uploadAnal_.

◆ doUploadConf() [1/2]

bool CommissioningHistosUsingDb::doUploadConf ( ) const
inline

◆ doUploadConf() [2/2]

void CommissioningHistosUsingDb::doUploadConf ( bool  upload)
inline

Definition at line 87 of file CommissioningHistosUsingDb.h.

87 { uploadConf_ = upload; }

References alcaDQMUpload::upload(), and uploadConf_.

◆ uploadAnalyses()

void CommissioningHistosUsingDb::uploadAnalyses ( )
protected

Definition at line 100 of file CommissioningHistosUsingDb.cc.

100  {
101  if (!db_) {
102  edm::LogError(mlDqmClient_) << "[CommissioningHistosUsingDb::" << __func__ << "]"
103  << " NULL pointer to SiStripConfigDb interface!"
104  << " Aborting upload...";
105  return;
106  }
107 
109  SiStripDbParams::SiStripPartitions::const_iterator ip = db_->dbParams().partitions().begin();
110  SiStripDbParams::SiStripPartitions::const_iterator jp = db_->dbParams().partitions().end();
111  for (; ip != jp; ++ip) {
112  edm::LogVerbatim(mlDqmClient_) << "[CommissioningHistosUsingDb::" << __func__ << "]"
113  << " Starting from partition " << ip->first << " with versions:\n"
114  << std::dec << " Conn: " << ip->second.cabVersion().first << "."
115  << ip->second.cabVersion().second << "\n"
116  << " FED: " << ip->second.fedVersion().first << "."
117  << ip->second.fedVersion().second << "\n"
118  << " FEC: " << ip->second.fecVersion().first << "."
119  << ip->second.fecVersion().second << "\n"
120  << " Mask: " << ip->second.maskVersion().first << "."
121  << ip->second.maskVersion().second;
122 
123  // Upload commissioning analysis results
125  createAnalyses(anals);
126 
127  edm::LogVerbatim(mlDqmClient_) << "[CommissioningHistosUsingDb::" << __func__ << "]"
128  << " Created analysis descriptions for " << anals.size() << " devices";
129 
130  // Update analysis descriptions with new commissioning results
131  if (uploadAnal_) {
132  if (uploadConf_) {
133  edm::LogVerbatim(mlDqmClient_) << "[CommissioningHistosUsingDb::" << __func__ << "]"
134  << " Uploading major version of analysis descriptions to DB"
135  << " (will be used for physics)...";
136  } else {
137  edm::LogVerbatim(mlDqmClient_) << "[CommissioningHistosUsingDb::" << __func__ << "]"
138  << " Uploading minor version of analysis descriptions to DB"
139  << " (will not be used for physics)...";
140  }
141  db_->clearAnalysisDescriptions(ip->second.partitionName());
142  db_->addAnalysisDescriptions(ip->second.partitionName(), anals);
143  db_->uploadAnalysisDescriptions(uploadConf_, ip->second.partitionName());
144  edm::LogVerbatim(mlDqmClient_) << "[CommissioningHistosUsingDb::" << __func__ << "]"
145  << " Upload of analysis descriptions to DB finished!";
146  } else {
147  edm::LogWarning(mlDqmClient_) << "[CommissioningHistosUsingDb::" << __func__ << "]"
148  << " TEST! No analysis descriptions will be uploaded to DB...";
149  }
150 
151  if (uploadConf_) {
152  SiStripDbParams::SiStripPartitions::const_iterator ip = db_->dbParams().partitions().begin();
153  SiStripDbParams::SiStripPartitions::const_iterator jp = db_->dbParams().partitions().end();
154  for (; ip != jp; ++ip) {
155  DeviceFactory* df = db_->deviceFactory();
156  tkStateVector states = df->getCurrentStates();
157  tkStateVector::const_iterator istate = states.begin();
158  tkStateVector::const_iterator jstate = states.end();
159  while (istate != jstate) {
160  if (*istate && ip->first == (*istate)->getPartitionName()) {
161  break;
162  }
163  istate++;
164  }
165  // Set versions if state was found
166  if (istate != states.end()) {
167  edm::LogVerbatim(mlDqmClient_) << "[CommissioningHistosUsingDb::" << __func__ << "]"
168  << " Created new version for partition " << ip->first << ". Current state:\n"
169  << std::dec << " Conn: " << (*istate)->getConnectionVersionMajorId() << "."
170  << (*istate)->getConnectionVersionMinorId() << "\n"
171  << " FED: " << (*istate)->getFedVersionMajorId() << "."
172  << (*istate)->getFedVersionMinorId() << "\n"
173  << " FEC: " << (*istate)->getFecVersionMajorId() << "."
174  << (*istate)->getFecVersionMinorId() << "\n"
175  << " Mask: " << (*istate)->getMaskVersionMajorId() << "."
176  << (*istate)->getMaskVersionMinorId();
177  }
178  }
179  }
180  }
181 }

References SiStripConfigDb::addAnalysisDescriptions(), SiStripConfigDb::clearAnalysisDescriptions(), createAnalyses(), db_, SiStripConfigDb::dbParams(), TauDecayModes::dec, SiStripConfigDb::deviceFactory(), hgcalPerformanceValidation::df, sistrip::mlDqmClient_, SiStripDbParams::partitions(), uploadAnal_, SiStripConfigDb::uploadAnalysisDescriptions(), and uploadConf_.

Referenced by uploadToConfigDb().

◆ uploadConfigurations()

virtual void CommissioningHistosUsingDb::uploadConfigurations ( )
inlineprotectedvirtual

◆ uploadToConfigDb()

void CommissioningHistosUsingDb::uploadToConfigDb ( )

Member Data Documentation

◆ cabling_

SiStripFedCabling* CommissioningHistosUsingDb::cabling_
private

Definition at line 76 of file CommissioningHistosUsingDb.h.

Referenced by addDcuDetIds(), cabling(), and configure().

◆ db_

SiStripConfigDb* CommissioningHistosUsingDb::db_
private

◆ detInfo_

std::map<std::string, DetInfos> CommissioningHistosUsingDb::detInfo_
private

Definition at line 80 of file CommissioningHistosUsingDb.h.

Referenced by buildDetInfo(), and detInfo().

◆ runType_

sistrip::RunType CommissioningHistosUsingDb::runType_
private

Definition at line 72 of file CommissioningHistosUsingDb.h.

Referenced by configure().

◆ uploadAnal_

bool CommissioningHistosUsingDb::uploadAnal_
private

Definition at line 82 of file CommissioningHistosUsingDb.h.

Referenced by doUploadAnal(), and uploadAnalyses().

◆ uploadConf_

bool CommissioningHistosUsingDb::uploadConf_
private

Definition at line 84 of file CommissioningHistosUsingDb.h.

Referenced by doUploadConf(), and uploadAnalyses().

SiStripConfigDb::getDeviceDescriptions
DeviceDescriptionsRange getDeviceDescriptions(std::string partition="")
Definition: DeviceDescriptions.cc:11
edm::ESHandle::product
T const * product() const
Definition: ESHandle.h:86
sistrip::CCU_CHAN
Definition: ConstantsForGranularity.h:93
SiStripFecCabling
Definition: SiStripFecCabling.h:24
SiStripConfigDb::clearAnalysisDescriptions
void clearAnalysisDescriptions(std::string partition="")
Definition: AnalysisDescriptions.cc:337
CommissioningHistosUsingDb::detInfo
std::pair< std::string, DetInfo > detInfo(const SiStripFecKey &)
Definition: CommissioningHistosUsingDb.cc:350
sistrip::FAST_CABLING
Definition: ConstantsForRunType.h:89
SiStripConfigDb::DeviceDescriptionsRange
DeviceDescriptions::range DeviceDescriptionsRange
Definition: SiStripConfigDb.h:110
sistrip::invalid32_
static const uint32_t invalid32_
Definition: Constants.h:15
SiStripConfigDb::DcuDetIdsRange
DcuDetIds::range DcuDetIdsRange
Definition: SiStripConfigDb.h:127
SiStripConfigDb::dbParams
const SiStripDbParams & dbParams() const
Definition: SiStripConfigDb.h:421
SiStripConfigDb::deviceAddress
DeviceAddress deviceAddress(const deviceDescription &)
Definition: DeviceDescriptions.cc:503
SiStripFedCablingBuilderFromDb::getFedCabling
static void getFedCabling(const SiStripFecCabling &in, SiStripFedCabling &out)
Definition: SiStripFedCablingBuilderFromDb.cc:1053
SiStripCommissioningClient_cfg.conn
conn
Definition: SiStripCommissioningClient_cfg.py:5
CommissioningHistosUsingDb::uploadAnal_
bool uploadAnal_
Definition: CommissioningHistosUsingDb.h:82
CommissioningHistosUsingDb::db_
SiStripConfigDb * db_
Definition: CommissioningHistosUsingDb.h:74
info
static const TGPicture * info(bool iBackgroundIsBlack)
Definition: FWCollectionSummaryWidget.cc:153
SiStripFedCabling::fedConnection
FedChannelConnection fedConnection(uint16_t fed_id, uint16_t fed_ch) const
Definition: SiStripFedCabling.cc:171
SiStripFedKey
A container class for generic run and event-related info, information required by the commissioning a...
Definition: SiStripFedKey.h:56
SiStripFedCabling
Contains cabling info at the device level, including DetId, APV pair numbers, hardware addresses,...
Definition: SiStripFedCabling.h:25
CommissioningHistograms::data
Analyses & data(bool getMaskedData=false)
Definition: CommissioningHistograms.cc:718
createJobs.tmp
tmp
align.sh
Definition: createJobs.py:716
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition: MessageLogger.h:122
sistrip::mlDqmClient_
static const char mlDqmClient_[]
Definition: ConstantsForLogger.h:19
SiStripConfigDb::uploadAnalysisDescriptions
void uploadAnalysisDescriptions(bool calibration_for_physics=false, std::string partition="")
Definition: AnalysisDescriptions.cc:230
singleTopDQM_cfi.setup
setup
Definition: singleTopDQM_cfi.py:37
SiStripConfigDb::findDcuDetId
static DcuDetIdsV::const_iterator findDcuDetId(DcuDetIdsV::const_iterator begin, DcuDetIdsV::const_iterator end, uint32_t dcu_id)
Definition: DcuDetIds.cc:412
SiStripConfigDb::addAnalysisDescriptions
void addAnalysisDescriptions(std::string partition, AnalysisDescriptionsV &)
Definition: AnalysisDescriptions.cc:164
CommissioningHistograms::CommissioningHistograms
CommissioningHistograms()
Definition: CommissioningHistograms.cc:60
contentValuesCheck.ss
ss
Definition: contentValuesCheck.py:33
generateTowerEtThresholdLUT.addr
addr
Definition: generateTowerEtThresholdLUT.py:57
SiStripConfigDb::deviceFactory
DeviceFactory *const deviceFactory(std::string method_name="") const
Definition: SiStripConfigDb.cc:191
CommissioningHistosUsingDb::addDcuDetIds
virtual void addDcuDetIds()
Definition: CommissioningHistosUsingDb.cc:185
edm::ESHandle< TrackerTopology >
CommissioningHistosUsingDb::create
virtual void create(SiStripConfigDb::AnalysisDescriptionsV &, Analysis)
Definition: CommissioningHistosUsingDb.h:49
CommissioningHistosUsingDb::buildDetInfo
void buildDetInfo()
Definition: CommissioningHistosUsingDb.cc:258
CommissioningHistosUsingDb::uploadConf_
bool uploadConf_
Definition: CommissioningHistosUsingDb.h:84
SiStripFecKey
Utility class that identifies a position within the strip tracker control structure,...
Definition: SiStripFecKey.h:45
CommissioningHistosUsingDb::cabling_
SiStripFedCabling * cabling_
Definition: CommissioningHistosUsingDb.h:76
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
FedChannelConnection
Class containning control, module, detector and connection information, at the level of a FED channel...
Definition: FedChannelConnection.h:26
SiStripFedCablingBuilderFromDb::buildFecCabling
static void buildFecCabling(SiStripConfigDb *const, SiStripFecCabling &, const sistrip::CablingSource &)
Definition: SiStripFedCablingBuilderFromDb.cc:99
SiStripFedCablingBuilderFromDb::buildFecCablingFromDevices
static void buildFecCablingFromDevices(SiStripConfigDb *const, SiStripFecCabling &)
Definition: SiStripFedCablingBuilderFromDb.cc:318
CommissioningHistosUsingDb::createAnalyses
virtual void createAnalyses(SiStripConfigDb::AnalysisDescriptionsV &)
Definition: CommissioningHistosUsingDb.cc:242
SiStripKey::path
const std::string & path() const
Definition: SiStripKey.h:121
type
type
Definition: SiPixelVCal_PayloadInspector.cc:37
SiStripDbParams::partitions
const_iterator_range partitions() const
Definition: SiStripDbParams.h:178
SiStripFedKey::feUnit
const uint16_t & feUnit() const
Definition: SiStripFedKey.h:189
CommissioningHistosUsingDb::uploadConfigurations
virtual void uploadConfigurations()
Definition: CommissioningHistosUsingDb.h:43
edm::LogError
Log< level::Error, false > LogError
Definition: MessageLogger.h:123
get
#define get
CommissioningAnalysis
Abstract base for derived classes that provide analysis of commissioning histograms.
Definition: CommissioningAnalysis.h:18
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
SiStripFedKey::fedChannel
uint16_t fedChannel() const
Definition: SiStripFedKey.h:192
hgcalPerformanceValidation.df
df
Definition: hgcalPerformanceValidation.py:640
edm::LogVerbatim
Log< level::Info, true > LogVerbatim
Definition: MessageLogger.h:128
sistrip::UNDEFINED_RUN_TYPE
Definition: ConstantsForRunType.h:95
findQualityFiles.jj
string jj
Definition: findQualityFiles.py:188
SiStripConfigDb::AnalysisDescriptionsV
std::vector< AnalysisDescription * > AnalysisDescriptionsV
Definition: SiStripConfigDb.h:135
SiStripFedCabling::summary
void summary(std::stringstream &ss, const TrackerTopology *trackerTopo) const
LEFT FOR COMPATIBILITY. SHOULD BE REPLACED BY PRINTSUMMARY.
Definition: SiStripFedCabling.h:101
CommissioningHistosUsingDb::db
SiStripConfigDb *const db() const
Definition: CommissioningHistosUsingDb.h:93
alcaDQMUpload.upload
def upload(url, args, files)
Definition: alcaDQMUpload.py:65
edm::isDebugEnabled
bool isDebugEnabled()
Definition: MessageLogger.cc:12
SiStripFedCabling::terse
void terse(std::stringstream &) const
Definition: SiStripFedCabling.cc:249
SiStripConfigDb::DeviceAddress
Definition: SiStripConfigDb.h:141
LogTrace
#define LogTrace(id)
Definition: MessageLogger.h:224
TrackerTopologyRcd
Definition: TrackerTopologyRcd.h:10
createTree.pp
pp
Definition: createTree.py:17
CommissioningHistosUsingDb::uploadAnalyses
void uploadAnalyses()
Definition: CommissioningHistosUsingDb.cc:100
conversion_template_cfg.anal
anal
Definition: conversion_template_cfg.py:16
SiStripConfigDb::getDcuDetIds
DcuDetIdsRange getDcuDetIds(std::string partition="")
Definition: DcuDetIds.cc:10
crabWrapper.key
key
Definition: crabWrapper.py:19
TauDecayModes.dec
dec
Definition: TauDecayModes.py:143
CommissioningHistosUsingDb::detInfo_
std::map< std::string, DetInfos > detInfo_
Definition: CommissioningHistosUsingDb.h:80
cuy.ii
ii
Definition: cuy.py:590
SiStripFedKey::fedId
const uint16_t & fedId() const
Definition: SiStripFedKey.h:188
CommissioningHistosUsingDb::runType_
sistrip::RunType runType_
Definition: CommissioningHistosUsingDb.h:72
SiStripFedKey::feChan
const uint16_t & feChan() const
Definition: SiStripFedKey.h:190