CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
PedestalsHistosUsingDb Class Reference

#include <PedestalsHistosUsingDb.h>

Inheritance diagram for PedestalsHistosUsingDb:
CommissioningHistosUsingDb PedestalsHistograms CommissioningHistograms CommissioningHistograms

Public Member Functions

 PedestalsHistosUsingDb (const edm::ParameterSet &pset, DQMStore *, SiStripConfigDb *const)
 
void uploadConfigurations () override
 
 ~PedestalsHistosUsingDb () override
 
- Public Member Functions inherited from CommissioningHistosUsingDb
 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 (const edm::ParameterSet &pset, DQMStore *const, const sistrip::RunType &)
 
 CommissioningHistograms ()
 
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 printSummary ()
 
void remove (std::string pattern="")
 
void save (std::string &filename, uint32_t run_number=0, std::string partitionName="")
 
virtual ~CommissioningHistograms ()
 
- Public Member Functions inherited from PedestalsHistograms
void histoAnalysis (bool debug) override
 
 PedestalsHistograms (const edm::ParameterSet &pset, DQMStore *)
 
void printAnalyses () override
 
 ~PedestalsHistograms () override
 

Private Member Functions

void create (SiStripConfigDb::AnalysisDescriptionsV &, Analysis) override
 
void update (SiStripConfigDb::FedDescriptionsRange)
 

Private Attributes

bool allowSelectiveUpload_
 
bool disableBadStrips_
 
float highThreshold_
 
bool keepStripsDisabled_
 
float lowThreshold_
 

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 Member Functions inherited from CommissioningHistosUsingDb
virtual void addDcuDetIds ()
 
void buildDetInfo ()
 
SiStripFedCabling *const cabling () const
 
virtual void createAnalyses (SiStripConfigDb::AnalysisDescriptionsV &)
 
SiStripConfigDb *const db () const
 
std::pair< std::string, DetInfodetInfo (const SiStripFecKey &)
 
bool deviceIsPresent (const SiStripFecKey &)
 
void uploadAnalyses ()
 
- 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
 
- Protected Attributes inherited from CommissioningHistograms
std::unique_ptr< Factoryfactory_
 

Detailed Description

Definition at line 8 of file PedestalsHistosUsingDb.h.

Constructor & Destructor Documentation

PedestalsHistosUsingDb::PedestalsHistosUsingDb ( const edm::ParameterSet pset,
DQMStore bei,
SiStripConfigDb * const  db 
)

Definition at line 14 of file PedestalsHistosUsingDb.cc.

References allowSelectiveUpload_, disableBadStrips_, edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), highThreshold_, keepStripsDisabled_, LogTrace, lowThreshold_, sistrip::mlDqmClient_, and CommissioningHistograms::pset().

17  PedestalsHistograms(pset.getParameter<edm::ParameterSet>("PedestalsParameters"), bei) {
18  LogTrace(mlDqmClient_) << "[PedestalsHistosUsingDb::" << __func__ << "]"
19  << " Constructing object...";
20  highThreshold_ = this->pset().getParameter<double>("HighThreshold");
21  lowThreshold_ = this->pset().getParameter<double>("LowThreshold");
22  LogTrace(mlDqmClient_) << "[PedestalsHistosUsingDb::" << __func__ << "]"
23  << " Set FED zero suppression high/low threshold to " << highThreshold_ << "/"
24  << lowThreshold_;
25  disableBadStrips_ = this->pset().getParameter<bool>("DisableBadStrips");
26  keepStripsDisabled_ = this->pset().getParameter<bool>("KeepStripsDisabled");
27  LogTrace(mlDqmClient_) << "[PedestalsHistosUsingDb::" << __func__ << "]"
28  << " Disabling strips: " << disableBadStrips_
29  << " ; keeping previously disabled strips: " << keepStripsDisabled_;
30 
32  this->pset().existsAs<bool>("doSelectiveUpload") ? this->pset().getParameter<bool>("doSelectiveUpload") : false;
33  LogTrace(mlDqmClient_) << "[PedestalsHistosUsingDb::" << __func__ << "]"
34  << " Selective upload of modules set to : " << allowSelectiveUpload_;
35 }
T getParameter(std::string const &) const
PedestalsHistograms(const edm::ParameterSet &pset, DQMStore *)
bool existsAs(std::string const &parameterName, bool trackiness=true) const
checks if a parameter exists as a given type
Definition: ParameterSet.h:160
const edm::ParameterSet & pset() const
static const char mlDqmClient_[]
DQMStore *const bei() const
#define LogTrace(id)
PedestalsHistosUsingDb::~PedestalsHistosUsingDb ( )
override

Definition at line 39 of file PedestalsHistosUsingDb.cc.

References LogTrace, and sistrip::mlDqmClient_.

39  {
40  LogTrace(mlDqmClient_) << "[PedestalsHistosUsingDb::" << __func__ << "]"
41  << " Destructing object...";
42 }
static const char mlDqmClient_[]
#define LogTrace(id)

Member Function Documentation

void PedestalsHistosUsingDb::create ( SiStripConfigDb::AnalysisDescriptionsV desc,
Analysis  analysis 
)
overrideprivatevirtual

Reimplemented from CommissioningHistosUsingDb.

Definition at line 198 of file PedestalsHistosUsingDb.cc.

References conversion_template_cfg::anal, CommissioningHistosUsingDb::db(), SiStripConfigDb::dbParams(), PedestalsAnalysis::dead(), CommissioningAnalysis::fecKey(), CommissioningAnalysis::fedKey(), CommissioningAnalysis::getErrorCodes(), SiStripFecKey::i2cAddr(), PedestalsAnalysis::isValid(), PedestalsAnalysis::noiseMax(), PedestalsAnalysis::noiseMean(), PedestalsAnalysis::noiseMin(), PedestalsAnalysis::noiseSpread(), PedestalsAnalysis::noisy(), SiStripDbParams::partitions(), PedestalsAnalysis::pedsMax(), PedestalsAnalysis::pedsMean(), PedestalsAnalysis::pedsMin(), PedestalsAnalysis::pedsSpread(), PedestalsAnalysis::rawMax(), PedestalsAnalysis::rawMean(), PedestalsAnalysis::rawMin(), PedestalsAnalysis::rawSpread(), and createJobs::tmp.

198  {
199  PedestalsAnalysis* anal = dynamic_cast<PedestalsAnalysis*>(analysis->second);
200  if (!anal) {
201  return;
202  }
203 
204  SiStripFecKey fec_key(anal->fecKey());
205  SiStripFedKey fed_key(anal->fedKey());
206 
207  for (uint16_t iapv = 0; iapv < 2; ++iapv) {
208  // Create description
209  PedestalsAnalysisDescription* tmp;
210  tmp = new PedestalsAnalysisDescription(anal->dead()[iapv],
211  anal->noisy()[iapv],
212  anal->pedsMean()[iapv],
213  anal->pedsSpread()[iapv],
214  anal->noiseMean()[iapv],
215  anal->noiseSpread()[iapv],
216  anal->rawMean()[iapv],
217  anal->rawSpread()[iapv],
218  anal->pedsMax()[iapv],
219  anal->pedsMin()[iapv],
220  anal->noiseMax()[iapv],
221  anal->noiseMin()[iapv],
222  anal->rawMax()[iapv],
223  anal->rawMin()[iapv],
224  fec_key.fecCrate(),
225  fec_key.fecSlot(),
226  fec_key.fecRing(),
227  fec_key.ccuAddr(),
228  fec_key.ccuChan(),
229  SiStripFecKey::i2cAddr(fec_key.lldChan(), !iapv),
230  db()->dbParams().partitions().begin()->second.partitionName(),
231  db()->dbParams().partitions().begin()->second.runNumber(),
232  anal->isValid(),
233  "",
234  fed_key.fedId(),
235  fed_key.feUnit(),
236  fed_key.feChan(),
237  fed_key.fedApv());
238 
239  // Add comments
240  typedef std::vector<std::string> Strings;
241  Strings errors = anal->getErrorCodes();
242  Strings::const_iterator istr = errors.begin();
243  Strings::const_iterator jstr = errors.end();
244  for (; istr != jstr; ++istr) {
245  tmp->addComments(*istr);
246  }
247 
248  // Store description
249  desc.push_back(tmp);
250  }
251 }
const VFloat & rawMax() const
const VFloat & pedsMean() const
const uint32_t & fedKey() const
const VVInt & noisy() const
bool isValid() const override
A container class for generic run and event-related info, information required by the commissioning a...
Definition: SiStripFedKey.h:56
std::vector< std::string > Strings
Definition: MsgTools.h:18
const uint16_t & i2cAddr() const
Utility class that identifies a position within the strip tracker control structure, down to the level of an APV25.
Definition: SiStripFecKey.h:45
const VFloat & noiseMean() const
const_iterator_range partitions() const
const VFloat & pedsMin() const
Histogram-based analysis for pedestal run.
const uint32_t & fecKey() const
const VVInt & dead() const
const VFloat & rawMin() const
const VFloat & rawSpread() const
const VFloat & rawMean() const
const SiStripDbParams & dbParams() const
const VFloat & pedsSpread() const
const VFloat & pedsMax() const
const VFloat & noiseSpread() const
Definition: errors.py:1
SiStripConfigDb *const db() const
const VFloat & noiseMax() const
tmp
align.sh
Definition: createJobs.py:716
const VString & getErrorCodes() const
const VFloat & noiseMin() const
void PedestalsHistosUsingDb::update ( SiStripConfigDb::FedDescriptionsRange  feds)
private

Definition at line 73 of file PedestalsHistosUsingDb.cc.

References generateTowerEtThresholdLUT::addr, allowSelectiveUpload_, conversion_template_cfg::anal, sistrip::APVS_PER_FEDCH, CommissioningHistosUsingDb::cabling(), FedChannelConnection::ccuAddr(), FedChannelConnection::ccuChan(), SiStripCommissioningClient_cfg::conn, CommissioningHistograms::data(), PedestalsAnalysis::dead(), TauDecayModes::dec, CommissioningHistosUsingDb::deviceIsPresent(), disableBadStrips_, FedChannelConnection::fecCrate(), SiStripFedKey::feChan(), FedChannelConnection::fecRing(), FedChannelConnection::fecSlot(), FedChannelConnection::fedCh(), sistrip::FEDCH_PER_FED, SiStripFedKey::fedChannel(), SiStripFedCabling::fedConnection(), SiStripFedKey::fedId(), FedChannelConnection::fedId(), SiStripFedKey::feUnit(), spr::find(), highThreshold_, sistrip::invalid_, edm::isDebugEnabled(), keepStripsDisabled_, SiStripKey::key(), FedChannelConnection::lldChannel(), LogTrace, lowThreshold_, sistrip::mlDqmClient_, PedestalsAnalysis::noise(), PedestalsAnalysis::noisy(), PedestalsAnalysis::peds(), PedestalsAnalysis::pedsMin(), contentValuesCheck::ss, and groupFilesInBlocks::temp.

Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), dqm-mbProfile.Profile::finish(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), Vispa.Gui.PortConnection.PointToPointConnection::updateConnection(), and uploadConfigurations().

73  {
74  // Iterate through feds and update fed descriptions
75  uint16_t updated = 0;
76  SiStripConfigDb::FedDescriptionsV::const_iterator ifed;
77  for (ifed = feds.begin(); ifed != feds.end(); ifed++) {
78  for (uint16_t ichan = 0; ichan < sistrip::FEDCH_PER_FED; ichan++) {
79  // Build FED and FEC keys
80  const FedChannelConnection& conn = cabling()->fedConnection((*ifed)->getFedId(), ichan);
81  if (conn.fecCrate() == sistrip::invalid_ || conn.fecSlot() == sistrip::invalid_ ||
82  conn.fecRing() == sistrip::invalid_ || conn.ccuAddr() == sistrip::invalid_ ||
83  conn.ccuChan() == sistrip::invalid_ || conn.lldChannel() == sistrip::invalid_) {
84  continue;
85  }
87  SiStripFecKey fec_key(
88  conn.fecCrate(), conn.fecSlot(), conn.fecRing(), conn.ccuAddr(), conn.ccuChan(), conn.lldChannel());
89 
90  // Locate appropriate analysis object
91  Analyses::const_iterator iter = data(allowSelectiveUpload_).find(fec_key.key());
92  if (iter != data(allowSelectiveUpload_).end()) {
93  // Check if analysis is valid
94  if (!iter->second->isValid()) {
95  continue;
96  }
97 
98  PedestalsAnalysis* anal = dynamic_cast<PedestalsAnalysis*>(iter->second);
99  if (!anal) {
100  edm::LogError(mlDqmClient_) << "[PedestalsHistosUsingDb::" << __func__ << "]"
101  << " NULL pointer to analysis object!";
102  continue;
103  }
104 
105  // Determine the pedestal shift to apply
106  uint32_t pedshift = 127;
107  for (uint16_t iapv = 0; iapv < sistrip::APVS_PER_FEDCH; iapv++) {
108  uint32_t pedmin = (uint32_t)anal->pedsMin()[iapv];
109  pedshift = pedmin < pedshift ? pedmin : pedshift;
110  std::stringstream ss;
111  ss << "iapv: " << iapv << " pedsMin()[iapv]: " << anal->pedsMin()[iapv] << " pedmin: " << pedmin
112  << " pedshift: " << pedshift;
113  edm::LogWarning(mlDqmClient_) << ss.str();
114  }
115 
116  // Iterate through APVs and strips
117  for (uint16_t iapv = 0; iapv < sistrip::APVS_PER_FEDCH; iapv++) {
118  for (uint16_t istr = 0; istr < anal->peds()[iapv].size(); istr++) {
119  // get the information on the strip as it was on the db
120  Fed9U::Fed9UAddress addr(ichan, iapv, istr);
121  Fed9U::Fed9UStripDescription temp = (*ifed)->getFedStrips().getStrip(addr);
122 
123  if (anal->peds()[iapv][istr] < 1.) { //@@ ie, zero
125  << "[PedestalsHistosUsingDb::" << __func__ << "]"
126  << " Skipping ZERO pedestal value (ie, NO UPLOAD TO DB!) for FedKey/Id/Ch: " << hex << setw(8)
127  << setfill('0') << fed_key.key() << dec << "/" << (*ifed)->getFedId() << "/" << ichan
128  << " and device with FEC/slot/ring/CCU/LLD " << fec_key.fecCrate() << "/" << fec_key.fecSlot() << "/"
129  << fec_key.fecRing() << "/" << fec_key.ccuAddr() << "/" << fec_key.ccuChan() << "/"
130  << fec_key.channel();
131  continue; //@@ do not upload
132  }
133 
134  // determine whether we need to disable the strip
135  bool disableStrip = false;
136  if (keepStripsDisabled_) {
137  disableStrip = temp.getDisable();
138  } else if (disableBadStrips_) {
139  PedestalsAnalysis::VInt dead = anal->dead()[iapv];
140  if (find(dead.begin(), dead.end(), istr) != dead.end())
141  disableStrip = true;
142  PedestalsAnalysis::VInt noisy = anal->noisy()[iapv];
143  if (find(noisy.begin(), noisy.end(), istr) != noisy.end())
144  disableStrip = true;
145  }
146 
147  Fed9U::Fed9UStripDescription data(static_cast<uint32_t>(anal->peds()[iapv][istr] - pedshift),
150  anal->noise()[iapv][istr],
151  disableStrip);
152 
153  std::stringstream ss;
154  if (data.getDisable() && edm::isDebugEnabled()) {
155  ss << "[PedestalsHistosUsingDb::" << __func__ << "]"
156  << " Disabling strip in Fed9UStripDescription object..." << std::endl
157  << " for FED id/channel and APV/strip : " << fed_key.fedId() << "/" << fed_key.fedChannel() << " "
158  << iapv << "/" << istr << std::endl
159  << " and crate/FEC/ring/CCU/module : " << fec_key.fecCrate() << "/" << fec_key.fecSlot() << "/"
160  << fec_key.fecRing() << "/" << fec_key.ccuAddr() << "/" << fec_key.ccuChan() << std::endl
161  << " from ped/noise/high/low/disable : " << static_cast<uint16_t>(temp.getPedestal()) << "/"
162  << static_cast<uint16_t>(temp.getHighThreshold()) << "/"
163  << static_cast<uint16_t>(temp.getLowThreshold()) << "/" << static_cast<uint16_t>(temp.getNoise())
164  << "/" << static_cast<uint16_t>(temp.getDisable()) << std::endl;
165  }
166  (*ifed)->getFedStrips().setStrip(addr, data);
167  if (data.getDisable() && edm::isDebugEnabled()) {
168  ss << " to ped/noise/high/low/disable : " << static_cast<uint16_t>(data.getPedestal()) << "/"
169  << static_cast<uint16_t>(data.getHighThreshold()) << "/"
170  << static_cast<uint16_t>(data.getLowThreshold()) << "/" << static_cast<uint16_t>(data.getNoise())
171  << "/" << static_cast<uint16_t>(data.getDisable()) << std::endl;
172  LogTrace(mlDqmClient_) << ss.str();
173  }
174 
175  } // end loop on strips
176  } // end loop on apvs
177  updated++;
178 
179  } else {
180  if (deviceIsPresent(fec_key)) {
181  edm::LogWarning(mlDqmClient_) << "[PedestalsHistosUsingDb::" << __func__ << "]"
182  << " Unable to find pedestals/noise for FedKey/Id/Ch: " << hex << setw(8)
183  << setfill('0') << fed_key.key() << dec << "/" << (*ifed)->getFedId() << "/"
184  << ichan << " and device with FEC/slot/ring/CCU/LLD " << fec_key.fecCrate()
185  << "/" << fec_key.fecSlot() << "/" << fec_key.fecRing() << "/"
186  << fec_key.ccuAddr() << "/" << fec_key.ccuChan() << "/" << fec_key.channel();
187  }
188  }
189  }
190  }
191 
192  edm::LogVerbatim(mlDqmClient_) << "[PedestalsHistosUsingDb::" << __func__ << "]"
193  << " Updated FED pedestals/noise for " << updated << " channels";
194 }
const uint16_t & fecSlot() const
bool isDebugEnabled()
const uint16_t & fecCrate() const
const VVInt & noisy() const
Analyses & data(bool getMaskedData=false)
const VVFloat & peds() const
FedChannelConnection fedConnection(uint16_t fed_id, uint16_t fed_ch) const
A container class for generic run and event-related info, information required by the commissioning a...
Definition: SiStripFedKey.h:56
const uint16_t & fedCh() const
bool deviceIsPresent(const SiStripFecKey &)
static const char mlDqmClient_[]
uint16_t lldChannel() const
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19
const uint16_t & fedId() const
Utility class that identifies a position within the strip tracker control structure, down to the level of an APV25.
Definition: SiStripFecKey.h:45
const uint16_t & fecRing() const
const VFloat & pedsMin() const
Class containning control, module, detector and connection information, at the level of a FED channel...
const VVFloat & noise() const
const uint16_t & ccuChan() const
Histogram-based analysis for pedestal run.
const VVInt & dead() const
const uint16_t & ccuAddr() const
#define LogTrace(id)
std::vector< uint16_t > VInt
const uint16_t & feUnit() const
static const uint16_t invalid_
Definition: Constants.h:16
static const uint16_t FEDCH_PER_FED
const uint16_t & feChan() const
SiStripFedCabling *const cabling() const
static const uint16_t APVS_PER_FEDCH
void PedestalsHistosUsingDb::uploadConfigurations ( )
overridevirtual

Reimplemented from CommissioningHistosUsingDb.

Definition at line 46 of file PedestalsHistosUsingDb.cc.

References CommissioningHistosUsingDb::db(), CommissioningHistosUsingDb::doUploadConf(), l1tstage2emulator_dqm_sourceclient-live_cfg::feds, SiStripConfigDb::getFedDescriptions(), LogTrace, sistrip::mlDqmClient_, update(), and SiStripConfigDb::uploadFedDescriptions().

46  {
47  LogTrace(mlDqmClient_) << "[PedestalsHistosUsingDb::" << __func__ << "]";
48 
49  if (!db()) {
50  edm::LogError(mlDqmClient_) << "[PedestalsHistosUsingDb::" << __func__ << "]"
51  << " NULL pointer to SiStripConfigDb interface!"
52  << " Aborting upload...";
53  return;
54  }
55 
56  // Update FED descriptions with new peds/noise values
58  update(feds);
59  if (doUploadConf()) {
60  edm::LogVerbatim(mlDqmClient_) << "[PedestalsHistosUsingDb::" << __func__ << "]"
61  << " Uploading pedestals/noise to DB...";
63  edm::LogVerbatim(mlDqmClient_) << "[PedestalsHistosUsingDb::" << __func__ << "]"
64  << " Completed database upload of " << feds.size() << " FED descriptions!";
65  } else {
66  edm::LogWarning(mlDqmClient_) << "[PedestalsHistosUsingDb::" << __func__ << "]"
67  << " TEST! No pedestals/noise values will be uploaded to DB...";
68  }
69 }
void update(SiStripConfigDb::FedDescriptionsRange)
FedDescriptionsRange getFedDescriptions(std::string partition="")
FedDescriptions::range FedDescriptionsRange
static const char mlDqmClient_[]
#define LogTrace(id)
void uploadFedDescriptions(std::string partition="")
SiStripConfigDb *const db() const

Member Data Documentation

bool PedestalsHistosUsingDb::allowSelectiveUpload_
private

Definition at line 27 of file PedestalsHistosUsingDb.h.

Referenced by PedestalsHistosUsingDb(), and update().

bool PedestalsHistosUsingDb::disableBadStrips_
private

Definition at line 24 of file PedestalsHistosUsingDb.h.

Referenced by PedestalsHistosUsingDb(), and update().

float PedestalsHistosUsingDb::highThreshold_
private

Definition at line 22 of file PedestalsHistosUsingDb.h.

Referenced by PedestalsHistosUsingDb(), and update().

bool PedestalsHistosUsingDb::keepStripsDisabled_
private

Definition at line 25 of file PedestalsHistosUsingDb.h.

Referenced by PedestalsHistosUsingDb(), and update().

float PedestalsHistosUsingDb::lowThreshold_
private

Definition at line 23 of file PedestalsHistosUsingDb.h.

Referenced by PedestalsHistosUsingDb(), and update().