CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
SiStripCondObjBuilderFromDb Class Reference

#include <SiStripCondObjBuilderFromDb.h>

Public Types

typedef std::vector
< pair_apvpairconn >::iterator 
i_apvpairconn
 
typedef std::vector
< pair_detcon >::iterator 
i_trackercon
 
typedef std::pair< uint32_t,
FedChannelConnection
pair_apvpairconn
 
typedef std::pair< uint32_t,
v_apvpairconn
pair_detcon
 
typedef std::vector< pair_detcontrackercon
 
typedef std::vector
< pair_apvpairconn
v_apvpairconn
 

Public Member Functions

void buildAnalysisRelatedObjects (SiStripConfigDb *const db, trackercon tc)
 
void buildCondObj ()
 
void buildFECRelatedObjects (SiStripConfigDb *const db, trackercon tc)
 
void buildFEDRelatedObjects (SiStripConfigDb *const db, trackercon tc)
 
void buildStripRelatedObjects (SiStripConfigDb *const db, const SiStripDetCabling &det_cabling)
 
bool checkForCompatibility (std::stringstream &input, std::stringstream &output, std::string &label)
 
const SiStripDbParamsdbParams () const
 
SiStripApvGaingetApvGain ()
 
SiStripLatencygetApvLatency ()
 
SiStripFedCablinggetFedCabling ()
 
SiStripNoisesgetNoises ()
 
SiStripPedestalsgetPedestals ()
 
SiStripQualitygetQuality ()
 
SiStripThresholdgetThreshold ()
 
void getValue (SiStripFedCabling *&val)
 
void getValue (SiStripPedestals *&val)
 
void getValue (SiStripNoises *&val)
 
void getValue (SiStripThreshold *&val)
 
void getValue (SiStripQuality *&val)
 
void getValue (SiStripBadStrip *&val)
 
void getValue (SiStripApvGain *&val)
 
void getValue (SiStripLatency *&val)
 
 SiStripCondObjBuilderFromDb ()
 
 SiStripCondObjBuilderFromDb (const edm::ParameterSet &, const edm::ActivityRegistry &)
 
virtual ~SiStripCondObjBuilderFromDb ()
 

Protected Member Functions

vector< FedChannelConnectionbuildConnections (const SiStripDetCabling &det_cabling, uint32_t det_id)
 
void checkUpdate ()
 
vector< uint32_t > retrieveActiveDetIds (const SiStripDetCabling &det_cabling)
 
bool retrieveFedDescriptions (SiStripConfigDb *const db)
 
uint16_t retrieveNumberAPVPairs (uint32_t det_id)
 
bool retrieveTimingAnalysisDescriptions (SiStripConfigDb *const db)
 
void setDefaultValuesApvLatency (SiStripLatency &latency_, FedChannelConnection ipair, uint16_t apvnr)
 
void setDefaultValuesApvTiming ()
 
void setDefaultValuesCabling (uint16_t apvPair)
 
bool setValuesApvLatency (SiStripLatency &latency_, SiStripConfigDb *const db, FedChannelConnection &ipair, uint32_t detid, uint16_t apvnr)
 
bool setValuesApvTiming (SiStripConfigDb *const db, FedChannelConnection &ipair)
 
bool setValuesCabling (SiStripConfigDb *const db, FedChannelConnection &ipair, uint32_t detid)
 
void storeNoise (uint32_t det_id)
 
void storePedestals (uint32_t det_id)
 
void storeQuality (uint32_t det_id)
 
void storeThreshold (uint32_t det_id)
 
void storeTiming (uint32_t det_id)
 

Protected Attributes

edm::Service< SiStripConfigDbdb_
 
SiStripDbParams dbParams_
 
SiStripFedCablingfed_cabling_
 
SiStripApvGaingain_
 
SiStripApvGain::InputVector inputApvGain
 
SiStripNoises::InputVector inputNoises
 
SiStripPedestals::InputVector inputPedestals
 
SiStripQuality::InputVector inputQuality
 
SiStripThreshold::InputVector inputThreshold
 
SiStripLatencylatency_
 
bool m_debug
 
uint16_t m_defaultapvlatencyvalue
 
uint16_t m_defaultapvmodevalue
 
float m_defaultnoisevalue
 
float m_defaultpedestalvalue
 
float m_defaultthresholdhighvalue
 
float m_defaultthresholdlowvalue
 
float m_defaulttickheightvalue
 
float m_gaincalibrationfactor
 
bool m_useanalysis
 
bool m_usefec
 
bool m_usefed
 
SiStripNoisesnoises_
 
pair_apvpairconn p_apvpcon
 
pair_detcon p_detcon
 
SiStripPedestalspedestals_
 
SiStripQualityquality_
 
SiStripThresholdthreshold_
 
v_apvpairconn v_apvpcon
 
trackercon v_trackercon
 

Detailed Description

Definition at line 46 of file SiStripCondObjBuilderFromDb.h.

Member Typedef Documentation

Definition at line 57 of file SiStripCondObjBuilderFromDb.h.

Definition at line 56 of file SiStripCondObjBuilderFromDb.h.

Definition at line 51 of file SiStripCondObjBuilderFromDb.h.

Definition at line 53 of file SiStripCondObjBuilderFromDb.h.

Definition at line 54 of file SiStripCondObjBuilderFromDb.h.

Definition at line 52 of file SiStripCondObjBuilderFromDb.h.

Constructor & Destructor Documentation

SiStripCondObjBuilderFromDb::SiStripCondObjBuilderFromDb ( )

Definition at line 55 of file SiStripCondObjBuilderFromDb.cc.

References LogTrace, and sistrip::mlESSources_.

56 {
58  << "[SiStripCondObjBuilderFromDb::" << __func__ << "]"
59  << " Constructing object...";
60 }
#define LogTrace(id)
static const char mlESSources_[]
SiStripCondObjBuilderFromDb::SiStripCondObjBuilderFromDb ( const edm::ParameterSet pset,
const edm::ActivityRegistry  
)

Definition at line 33 of file SiStripCondObjBuilderFromDb.cc.

References LogTrace, and sistrip::mlESSources_.

34  :
35  m_gaincalibrationfactor(static_cast<float>(pset.getUntrackedParameter<double>("GainNormalizationFactor",690.))),
36  m_defaultpedestalvalue(static_cast<float>(pset.getUntrackedParameter<double>("DefaultPedestal",0.))),
37  m_defaultnoisevalue(static_cast<float>(pset.getUntrackedParameter<double>("DefaultNoise",0.))),
38  m_defaultthresholdhighvalue(static_cast<float>(pset.getUntrackedParameter<double>("DefaultThresholdHigh",0.))),
39  m_defaultthresholdlowvalue(static_cast<float>(pset.getUntrackedParameter<double>("DefaultThresholdLow",0.))),
40  m_defaultapvmodevalue(static_cast<uint16_t>(pset.getUntrackedParameter<uint32_t>("DefaultAPVMode",37))),
41  m_defaultapvlatencyvalue(static_cast<uint16_t>(pset.getUntrackedParameter<uint32_t>("DefaultAPVLatency",142))),
42  m_defaulttickheightvalue(static_cast<float>(pset.getUntrackedParameter<double>("DefaultTickHeight",690.))),
43  m_useanalysis(static_cast<bool>(pset.getUntrackedParameter<bool>("UseAnalysis",false))),
44  m_usefed(static_cast<bool>(pset.getUntrackedParameter<bool>("UseFED",false))),
45  m_usefec(static_cast<bool>(pset.getUntrackedParameter<bool>("UseFEC",false))),
46  m_debug(static_cast<bool>(pset.getUntrackedParameter<bool>("DebugMode",false)))
47 {
49  << "[SiStripCondObjBuilderFromDb::" << __func__ << "]"
50  << " Constructing object...";
51 }
T getUntrackedParameter(std::string const &, T const &) const
#define LogTrace(id)
static const char mlESSources_[]
SiStripCondObjBuilderFromDb::~SiStripCondObjBuilderFromDb ( )
virtual

Definition at line 64 of file SiStripCondObjBuilderFromDb.cc.

References LogTrace, and sistrip::mlESSources_.

64  {
66  << "[SiStripCondObjBuilderFromDb::" << __func__ << "]"
67  << " Destructing object...";
68 }
#define LogTrace(id)
static const char mlESSources_[]

Member Function Documentation

void SiStripCondObjBuilderFromDb::buildAnalysisRelatedObjects ( SiStripConfigDb *const  db,
trackercon  tc 
)

Definition at line 525 of file SiStripCondObjBuilderFromDb.cc.

References gather_cfg::cout, db_, cond::rpcobgas::detid, end, gain_, m_defaulttickheightvalue, m_gaincalibrationfactor, sistrip::mlESSources_, retrieveTimingAnalysisDescriptions(), setDefaultValuesApvTiming(), setValuesApvTiming(), and storeTiming().

Referenced by buildCondObj().

525  {
526  std::cout << "Entering [SiStripCondObjBuilderFromDb::"<<__func__ <<"]"<<std::endl;
527  //data container
528  gain_= new SiStripApvGain();
529 
530  //check if Timing analysis description is found, otherwise quit
533  << "[SiStripCondObjBuilderFromDb::" << __func__ << "]"
534  << " NULL pointer to AnalysisDescriptions returned by SiStripConfigDb!"
535  << " Cannot build Analysis object! QUIT";
536  // some values have to be set, otherwise PopCon will crash
538  storeTiming(4711);
539  return;
540  }
541 
542  i_trackercon detids_end=tc.end();
543 
544  //loop detids
545  for(i_trackercon detids=tc.begin();detids!=detids_end;detids++){
546  uint32_t detid = (*detids).first;
547  i_apvpairconn connections_end=((*detids).second).end();
548 
549  //loop connections
550  for(i_apvpairconn connections=((*detids).second).begin();connections!=connections_end;connections++){
551  uint32_t apvPair =(*connections).first;
552  FedChannelConnection ipair =(*connections).second;
553  std::cout << "Detid: " << std::dec << detid << " ApvPair: " << apvPair << std::endl;
554 
555  //no connection for apvPair found
556  if(apvPair>=100){
558  }
559 
560  //fill data
561  if(!setValuesApvTiming(db, ipair)){
562  std::cout
563  << "\n "
564  << " Unable to find Timing Analysis Description"
565  << " Writing default values for DetId: " << detid
566  << " Value: " << m_defaulttickheightvalue/m_gaincalibrationfactor << std::endl;
568  }
569  }//connections
570  storeTiming(detid);
571  }//detids
572 }
edm::Service< SiStripConfigDb > db_
Class containning control, module, detector and connection information, at the level of a FED channel...
#define end
Definition: vmac.h:38
bool retrieveTimingAnalysisDescriptions(SiStripConfigDb *const db)
tuple cout
Definition: gather_cfg.py:41
static const char mlESSources_[]
std::vector< pair_detcon >::iterator i_trackercon
std::vector< pair_apvpairconn >::iterator i_apvpairconn
bool setValuesApvTiming(SiStripConfigDb *const db, FedChannelConnection &ipair)
void SiStripCondObjBuilderFromDb::buildCondObj ( )

Builds pedestals using FED descriptions and cabling info retrieved from configuration database.

Definition at line 114 of file SiStripCondObjBuilderFromDb.cc.

References buildAnalysisRelatedObjects(), SiStripFedCablingBuilderFromDb::buildFecCabling(), buildFECRelatedObjects(), buildFEDRelatedObjects(), buildStripRelatedObjects(), sistrip::CABLING_FROM_CONNS, SiStripConfigDb::databaseCache(), db_, SiStripConfigDb::deviceFactory(), fed_cabling_, SiStripFedCablingBuilderFromDb::getFedCabling(), LogTrace, m_useanalysis, m_usefec, m_usefed, sistrip::mlESSources_, and v_trackercon.

Referenced by checkUpdate().

114  {
116  << "[SiStripCondObjBuilderFromDb::" << __func__ << "]";
117 
118  // Check if DB connection is made
119  if ( db_ ) {
120 
121  // Check if DB connection is made
122  if ( db_->deviceFactory() ||
123  db_->databaseCache() ) {
124 
125  // Build FEC cabling object
126  SiStripFecCabling fec_cabling;
127 
129  fec_cabling,
132 
134  SiStripDetCabling det_cabling( *fed_cabling_ );
135  buildStripRelatedObjects( &*db_, det_cabling );
136 
137 
141 
142 
143 
144  } else {
146  << "[SiStripCondObjBuilderFromDb::" << __func__ << "]"
147  << " NULL pointer to DeviceFactory returned by SiStripConfigDb!"
148  << " Cannot build Pedestals object!";
149  }
150  } else {
152  << "[SiStripCondObjBuilderFromDb::" << __func__ << "]"
153  << " NULL pointer to SiStripConfigDb returned by DB \"service\"!"
154  << " Cannot build Pedestals object!";
155  }
156 }
void buildAnalysisRelatedObjects(SiStripConfigDb *const db, trackercon tc)
DeviceFactory *const deviceFactory(std::string method_name="") const
edm::Service< SiStripConfigDb > db_
void buildStripRelatedObjects(SiStripConfigDb *const db, const SiStripDetCabling &det_cabling)
static void buildFecCabling(SiStripConfigDb *const, SiStripFecCabling &, const sistrip::CablingSource &)
void buildFECRelatedObjects(SiStripConfigDb *const db, trackercon tc)
#define LogTrace(id)
void buildFEDRelatedObjects(SiStripConfigDb *const db, trackercon tc)
DbClient *const databaseCache(std::string method_name="") const
static void getFedCabling(const SiStripFecCabling &in, SiStripFedCabling &out)
Contains cabling info at the device level, including DetId, APV pair numbers, hardware addresses...
static const char mlESSources_[]
vector< FedChannelConnection > SiStripCondObjBuilderFromDb::buildConnections ( const SiStripDetCabling det_cabling,
uint32_t  det_id 
)
protected

Definition at line 211 of file SiStripCondObjBuilderFromDb.cc.

References SiStripDetCabling::getConnections(), and sistrip::mlESSources_.

Referenced by buildStripRelatedObjects().

211  {
212  vector<FedChannelConnection> conns = det_cabling.getConnections(det_id);
213  if (conns.size()==0){
215  << "SiStripCondObjBuilderFromDb::" << __func__ << "]"
216  << " Unable to build condition object!"
217  << " No FED channel connections found for detid "<< det_id;
218  }
219  return conns;
220 }
const std::vector< FedChannelConnection > & getConnections(uint32_t det_id) const
static const char mlESSources_[]
void SiStripCondObjBuilderFromDb::buildFECRelatedObjects ( SiStripConfigDb *const  db,
trackercon  tc 
)

Definition at line 576 of file SiStripCondObjBuilderFromDb.cc.

References SiStripLatency::compress(), gather_cfg::cout, cond::rpcobgas::detid, end, latency_, m_defaultapvlatencyvalue, m_defaultapvmodevalue, SiStripLatency::printSummary(), setDefaultValuesApvLatency(), and setValuesApvLatency().

Referenced by buildCondObj().

576  {
577  std::cout << "Entering [SiStripCondObjBuilderFromDb::"<<__func__ <<"]"<<std::endl;
578  //data container
579  latency_ = new SiStripLatency();
580 
581  i_trackercon detids_end=tc.end();
582 
583  //loop detids
584  for(i_trackercon detids=tc.begin();detids!=detids_end;detids++){
585  uint32_t detid = (*detids).first;
586  uint16_t apvnr=1;
587  i_apvpairconn connections_end=((*detids).second).end();
588 
589  //loop connections
590  for(i_apvpairconn connections=((*detids).second).begin();connections!=connections_end;connections++){
591  uint32_t apvPair =(*connections).first;
592  FedChannelConnection ipair =(*connections).second;
593 
594  //no connection for apvPair found
595  if(apvPair>=100){
596  setDefaultValuesApvLatency((*latency_),ipair, apvnr);
597  }
598 
599  //fill data
600  if(!setValuesApvLatency((*latency_),db, ipair,detid, apvnr)){
601  std::cout
602  << "\n "
603  << " Unable to find FEC Description"
604  << " Writing default values for DetId: " << detid
605  << " Value: Latency " << m_defaultapvlatencyvalue << " ApvMode " << m_defaultapvmodevalue << std::endl;
606  setDefaultValuesApvLatency((*latency_),ipair, apvnr);
607  }
608  apvnr+=2;
609  }//connections
610  // compact Latency Object
611  latency_->compress();
612  std::stringstream ss;
613  // latency debug output
614  latency_->printSummary(ss);
615  }//detids
616 }
void setDefaultValuesApvLatency(SiStripLatency &latency_, FedChannelConnection ipair, uint16_t apvnr)
Class containning control, module, detector and connection information, at the level of a FED channel...
bool setValuesApvLatency(SiStripLatency &latency_, SiStripConfigDb *const db, FedChannelConnection &ipair, uint32_t detid, uint16_t apvnr)
#define end
Definition: vmac.h:38
void printSummary(std::stringstream &ss) const
Prints the number of ranges as well as the value of singleLatency and singleMode. ...
tuple cout
Definition: gather_cfg.py:41
std::vector< pair_detcon >::iterator i_trackercon
std::vector< pair_apvpairconn >::iterator i_apvpairconn
void SiStripCondObjBuilderFromDb::buildFEDRelatedObjects ( SiStripConfigDb *const  db,
trackercon  tc 
)

Definition at line 620 of file SiStripCondObjBuilderFromDb.cc.

References gather_cfg::cout, cond::rpcobgas::detid, end, FedChannelConnection::fedId(), noises_, pedestals_, quality_, setDefaultValuesCabling(), setValuesCabling(), storeNoise(), storePedestals(), storeQuality(), storeThreshold(), and threshold_.

Referenced by buildCondObj().

620  {
621  std::cout << "Entering [SiStripCondObjBuilderFromDb::"<<__func__ <<"]"<<std::endl;
622 
623  //data containers
625  noises_ = new SiStripNoises();
627  quality_ = new SiStripQuality();
628 
629  i_trackercon detids_end=tc.end();
630 
631  //loop detids
632  for(i_trackercon detids=tc.begin();detids!=detids_end;detids++){
633  uint32_t detid = (*detids).first;
634  i_apvpairconn connections_end=((*detids).second).end();
635 
636  //loop connections
637  for(i_apvpairconn connections=((*detids).second).begin();connections!=connections_end;connections++){
638  uint32_t apvPair =(*connections).first;
639  FedChannelConnection ipair =(*connections).second;
640 
641  //no connection for apvPair found
642  if(apvPair>=100){
643  setDefaultValuesCabling((apvPair-100));
644  }
645  if(!setValuesCabling(db, ipair, detid)){
646  std::cout
647  << "[SiStripCondObjBuilderFromDb::" << __func__ << "]"
648  << " Unable to find FED description for FED id: " << ipair.fedId()
649  << " detid : " << detid << " APV pair number " << apvPair
650  << " Writing default values"<< std::endl;
651  setDefaultValuesCabling(apvPair);
652  }
653  }//connections
654  storePedestals(detid);
655  storeNoise(detid);
656  storeThreshold(detid);
657  storeQuality(detid);
658  }//detids
659 }
const uint16_t & fedId() const
void setDefaultValuesCabling(uint16_t apvPair)
Class containning control, module, detector and connection information, at the level of a FED channel...
#define end
Definition: vmac.h:38
tuple cout
Definition: gather_cfg.py:41
bool setValuesCabling(SiStripConfigDb *const db, FedChannelConnection &ipair, uint32_t detid)
std::vector< pair_detcon >::iterator i_trackercon
std::vector< pair_apvpairconn >::iterator i_apvpairconn
void SiStripCondObjBuilderFromDb::buildStripRelatedObjects ( SiStripConfigDb *const  db,
const SiStripDetCabling det_cabling 
)

Definition at line 439 of file SiStripCondObjBuilderFromDb.cc.

References SiStripDetCabling::addActiveDetectorsRawIds(), buildConnections(), gather_cfg::cout, sistrip::invalid32_, sistrip::invalid_, sistrip::mlESSources_, p_apvpcon, p_detcon, retrieveFedDescriptions(), retrieveNumberAPVPairs(), v_apvpcon, and v_trackercon.

Referenced by buildCondObj().

440  {
441  //variables needed in this function
442  uint16_t nApvPairs;
443  vector<uint32_t>::const_iterator det_id;
444  vector<uint32_t> det_ids;
445 
447  << "\n[SiStripCondObjBuilderFromDb::" << __func__ << "] first call to this method";
448 
449  //Check if FedDescriptions exist, if not return
450  if (!retrieveFedDescriptions(db)) {std::cout<< "Found no FedDescription!" << std::endl;return;}
451  // Retrieve list of active DetIds
452  det_cabling.addActiveDetectorsRawIds(det_ids);
453  if ( det_ids.empty() ) {
454  std::cout
455  << "SiStripCondObjBuilderFromDb::" << __func__ << "]"
456  << " Unable to build Pedestals object!"
457  << " No DetIds found!" << std::endl;
458  return;
459  }
460  std::cout << "\n\nSiStripCondObjBuilderFromDb::" << __func__ << "]"
461  << " Found " << det_ids.size() << " active DetIds";
462 
463  // Loop Active DetIds
464  det_id = det_ids.begin();
465  for ( ; det_id != det_ids.end(); det_id++ ) {
466  std::stringstream ssMessage;
467 
468  // Ignore NULL DetIds
469  if ( !(*det_id) ) { continue; }
470  if ( *det_id == sistrip::invalid32_ ) { continue; }
471 
472 
473  //build connections per DetId
474  const vector<FedChannelConnection>& conns=buildConnections(det_cabling, *det_id);
475 
476  vector<FedChannelConnection>::const_iterator ipair = conns.begin();
477  if(conns.size() ==0 ) continue;
478 
479  //retrieve number of APV pairs per detid
480  nApvPairs=retrieveNumberAPVPairs(*det_id);
481 
482  //loop connections and check if APVPair is connected
483  vector< vector<FedChannelConnection>::const_iterator > listConns(nApvPairs,conns.end());
484 
485  for ( ; ipair != conns.end(); ipair++ ){
486  // Check if the ApvPair is connected
487  if (ipair->fedId()!=sistrip::invalid_ && ipair->apvPairNumber()<3){
488  ipair->print(ssMessage);
489  ssMessage<< std::endl;
490  listConns[ipair-conns.begin()]=ipair;
491  } else {
492  std::cout
493  << "\n impossible to assign connection position in listConns " << std::endl;
494  ipair->print(ssMessage);
495  ssMessage << std::endl;
496  }
497  }
498 
499  // get data
500  vector< vector<FedChannelConnection>::const_iterator >::const_iterator ilistConns=listConns.begin();
501  for (uint16_t apvPair=0;apvPair<listConns.size();apvPair++){
502  ipair=listConns[apvPair];
503  if ( ipair == conns.end() ) {
504  // Fill object with default values
505  std::cout
506  << "\n "
507  << " Unable to find FED connection for detid : " << *det_id << " APV pair number " << apvPair
508  << " Writing default values" << std::endl;
509  //If no connection was found, add 100 to apvpair
510  apvPair+=100;
511  continue;
512  }
513  p_apvpcon=std::make_pair(apvPair,*ipair);
514  v_apvpcon.push_back(p_apvpcon);
515  } //conns loop
516  p_detcon=std::make_pair(*det_id,v_apvpcon);
517  v_trackercon.push_back(p_detcon);
518  v_apvpcon.clear();
519  edm::LogInfo(mlESSources_) << ssMessage.str();
520  } // det id loop
521 }
void addActiveDetectorsRawIds(std::vector< uint32_t > &) const
static const uint32_t invalid32_
Definition: Constants.h:16
bool retrieveFedDescriptions(SiStripConfigDb *const db)
uint16_t retrieveNumberAPVPairs(uint32_t det_id)
vector< FedChannelConnection > buildConnections(const SiStripDetCabling &det_cabling, uint32_t det_id)
static const uint16_t invalid_
Definition: Constants.h:17
tuple cout
Definition: gather_cfg.py:41
static const char mlESSources_[]
bool SiStripCondObjBuilderFromDb::checkForCompatibility ( std::stringstream &  input,
std::stringstream &  output,
std::string &  label 
)

Definition at line 82 of file SiStripCondObjBuilderFromDb.cc.

References SiStripPartition::apvTimingVersion(), SiStripPartition::cabVersion(), dbParams(), SiStripPartition::fecVersion(), SiStripPartition::fedVersion(), SiStripPartition::maskVersion(), SiStripPartition::partitionName(), and SiStripDbParams::partitions().

Referenced by popcon::SiStripPopConConfigDbObjHandler< T >::isTransferNeeded().

82  {
83 
84 
85  //get current config DB parameter
86 
88 
89  SiStripDbParams::SiStripPartitions::const_iterator ipart = partitionsRange.begin();
90  SiStripDbParams::SiStripPartitions::const_iterator ipartEnd = partitionsRange.end();
91  for ( ; ipart != ipartEnd; ++ipart ) {
92  SiStripPartition partition=ipart->second;
93  output << "@ "
94  << " Partition " << partition.partitionName() ;
95  if (label!="Cabling" && label !="ApvLatency")
96  output << " FedVer " << partition.fedVersion().first << "." << partition.fedVersion().second;
97  if(label=="Cabling")
98  output << " CabVer " << partition.cabVersion().first << "." << partition.cabVersion().second
99  << " MaskVer " << partition.maskVersion().first << "." << partition.maskVersion().second;
100  if(label=="ApvTiming")
101  output<< " ApvTimingVer " << partition.apvTimingVersion().first << "." << partition.apvTimingVersion().second;
102  if(label=="ApvLatency")
103  output<< " FecVersion " << partition.fecVersion().first << "." << partition.fecVersion().second;
104  }
105 
106  if (!strcmp(output.str().c_str(),input.str().c_str()))
107  return false;
108 
109  return true;
110 }
const std::string & label
Definition: MVAComputer.cc:186
Versions maskVersion() const
std::string partitionName() const
const_iterator_range partitions() const
Versions apvTimingVersion() const
Container class for database partition parameters.
tuple input
Definition: collect_tpl.py:10
const SiStripDbParams & dbParams() const
boost::iterator_range< SiStripPartitions::const_iterator > const_iterator_range
Versions fecVersion() const
Versions cabVersion() const
Versions fedVersion() const
void SiStripCondObjBuilderFromDb::checkUpdate ( )
protected
const SiStripDbParams& SiStripCondObjBuilderFromDb::dbParams ( ) const
inline

Returns database connection parameters.

Definition at line 66 of file SiStripCondObjBuilderFromDb.h.

References db_, and SiStripConfigDb::dbParams().

Referenced by checkForCompatibility(), and checkUpdate().

66 {return db_->dbParams();}
edm::Service< SiStripConfigDb > db_
const SiStripDbParams & dbParams() const
SiStripApvGain* SiStripCondObjBuilderFromDb::getApvGain ( )
inline

Definition at line 85 of file SiStripCondObjBuilderFromDb.h.

References checkUpdate(), and gain_.

Referenced by getValue().

SiStripLatency* SiStripCondObjBuilderFromDb::getApvLatency ( )
inline

Definition at line 86 of file SiStripCondObjBuilderFromDb.h.

References checkUpdate(), and latency_.

Referenced by getValue().

SiStripFedCabling* SiStripCondObjBuilderFromDb::getFedCabling ( )
inline

Definition at line 80 of file SiStripCondObjBuilderFromDb.h.

References checkUpdate(), and fed_cabling_.

Referenced by getValue().

SiStripNoises* SiStripCondObjBuilderFromDb::getNoises ( )
inline

Definition at line 82 of file SiStripCondObjBuilderFromDb.h.

References checkUpdate(), and noises_.

Referenced by getValue().

SiStripPedestals* SiStripCondObjBuilderFromDb::getPedestals ( )
inline

Definition at line 81 of file SiStripCondObjBuilderFromDb.h.

References checkUpdate(), and pedestals_.

Referenced by getValue().

SiStripQuality* SiStripCondObjBuilderFromDb::getQuality ( )
inline

Definition at line 84 of file SiStripCondObjBuilderFromDb.h.

References checkUpdate(), and quality_.

Referenced by getValue().

SiStripThreshold* SiStripCondObjBuilderFromDb::getThreshold ( )
inline

Definition at line 83 of file SiStripCondObjBuilderFromDb.h.

References checkUpdate(), and threshold_.

Referenced by getValue().

void SiStripCondObjBuilderFromDb::getValue ( SiStripFedCabling *&  val)
inline
void SiStripCondObjBuilderFromDb::getValue ( SiStripPedestals *&  val)
inline

Definition at line 89 of file SiStripCondObjBuilderFromDb.h.

References getPedestals().

89 { val = getPedestals(); }
void SiStripCondObjBuilderFromDb::getValue ( SiStripNoises *&  val)
inline

Definition at line 90 of file SiStripCondObjBuilderFromDb.h.

References getNoises().

90 { val = getNoises(); }
void SiStripCondObjBuilderFromDb::getValue ( SiStripThreshold *&  val)
inline

Definition at line 91 of file SiStripCondObjBuilderFromDb.h.

References getThreshold().

91 { val = getThreshold(); }
void SiStripCondObjBuilderFromDb::getValue ( SiStripQuality *&  val)
inline

Definition at line 92 of file SiStripCondObjBuilderFromDb.h.

References getQuality().

92 { val = getQuality(); }
void SiStripCondObjBuilderFromDb::getValue ( SiStripBadStrip *&  val)
inline

Definition at line 93 of file SiStripCondObjBuilderFromDb.h.

References getQuality().

void SiStripCondObjBuilderFromDb::getValue ( SiStripApvGain *&  val)
inline

Definition at line 94 of file SiStripCondObjBuilderFromDb.h.

References getApvGain().

94 { val = getApvGain(); }
void SiStripCondObjBuilderFromDb::getValue ( SiStripLatency *&  val)
inline

Definition at line 95 of file SiStripCondObjBuilderFromDb.h.

References getApvLatency().

95 { val = getApvLatency(); }
vector< uint32_t > SiStripCondObjBuilderFromDb::retrieveActiveDetIds ( const SiStripDetCabling det_cabling)
protected

Definition at line 192 of file SiStripCondObjBuilderFromDb.cc.

References SiStripDetCabling::addActiveDetectorsRawIds(), LogTrace, and sistrip::mlESSources_.

192  {
193  vector<uint32_t> det_ids;
194  det_cabling.addActiveDetectorsRawIds(det_ids);
195  if ( det_ids.empty() ) {
197  << "SiStripCondObjBuilderFromDb::" << __func__ << "]"
198  << " Unable to build Pedestals object!"
199  << " No DetIds found!";
200  return det_ids;
201  }
203  << "\n\nSiStripCondObjBuilderFromDb::" << __func__ << "]"
204  << " Found " << det_ids.size() << " active DetIds";
205  return det_ids;
206 }
void addActiveDetectorsRawIds(std::vector< uint32_t > &) const
#define LogTrace(id)
static const char mlESSources_[]
bool SiStripCondObjBuilderFromDb::retrieveFedDescriptions ( SiStripConfigDb *const  db)
protected

Definition at line 161 of file SiStripCondObjBuilderFromDb.cc.

References SiStripConfigDb::getFedDescriptions(), and sistrip::mlESSources_.

Referenced by buildStripRelatedObjects().

161  {
163  if ( descriptions.empty() ) {
165  << "SiStripCondObjBuilderFromDb::" << __func__ << "]"
166  << " No FED descriptions found!";
167 
168  return false;
169  }
170  return true;
171 }
FedDescriptionsRange getFedDescriptions(std::string partition="")
FedDescriptions::range FedDescriptionsRange
static const char mlESSources_[]
uint16_t SiStripCondObjBuilderFromDb::retrieveNumberAPVPairs ( uint32_t  det_id)
protected

Definition at line 225 of file SiStripCondObjBuilderFromDb.cc.

References SiStripDetInfoFileReader::getNumberOfApvsAndStripLength(), and cmsCodeRules.cppFunctionSkipper::operator.

Referenced by buildStripRelatedObjects().

225  {
226  uint16_t nApvPairs;
228  nApvPairs=fr->getNumberOfApvsAndStripLength(det_id).first/2;
229  return nApvPairs;
230 }
bool SiStripCondObjBuilderFromDb::retrieveTimingAnalysisDescriptions ( SiStripConfigDb *const  db)
protected

Definition at line 176 of file SiStripCondObjBuilderFromDb.cc.

References SiStripConfigDb::getAnalysisDescriptions(), and sistrip::mlESSources_.

Referenced by buildAnalysisRelatedObjects().

176  {
177  SiStripConfigDb::AnalysisDescriptionsRange anal_descriptions =
178  db->getAnalysisDescriptions( CommissioningAnalysisDescription::T_ANALYSIS_TIMING );
179  if ( anal_descriptions.empty() ) {
181  << "SiStripCondObjBuilderFromDb::" << __func__ << "]"
182  << " Unable to build SiStripApvGain object!"
183  << " No timing-scan analysis descriptions found!";
184  return false;
185  }
186  return true;
187 }
AnalysisDescriptionsRange getAnalysisDescriptions(AnalysisType, std::string partition="")
AnalysisDescriptions::range AnalysisDescriptionsRange
static const char mlESSources_[]
void SiStripCondObjBuilderFromDb::setDefaultValuesApvLatency ( SiStripLatency latency_,
FedChannelConnection  ipair,
uint16_t  apvnr 
)
protected

Definition at line 254 of file SiStripCondObjBuilderFromDb.cc.

References FedChannelConnection::detId(), m_defaultapvlatencyvalue, m_defaultapvmodevalue, and SiStripLatency::put().

Referenced by buildFECRelatedObjects().

254  {
255  latency_.put( ipair.detId(), apvnr, m_defaultapvmodevalue, m_defaultapvlatencyvalue);
256  latency_.put( ipair.detId(), ++apvnr, m_defaultapvmodevalue, m_defaultapvlatencyvalue);
257 }
bool put(const uint32_t detId, const uint16_t apv, const uint16_t latency, const uint16_t mode)
const uint32_t & detId() const
void SiStripCondObjBuilderFromDb::setDefaultValuesApvTiming ( )
protected
void SiStripCondObjBuilderFromDb::setDefaultValuesCabling ( uint16_t  apvPair)
protected

Definition at line 235 of file SiStripCondObjBuilderFromDb.cc.

References SiStripBadStrip::encode(), inputNoises, inputPedestals, inputQuality, inputThreshold, m_defaultnoisevalue, m_defaultpedestalvalue, m_defaultthresholdlowvalue, noises_, pedestals_, quality_, SiStripNoises::setData(), SiStripPedestals::setData(), SiStripThreshold::setData(), sistrip::STRIPS_PER_FEDCH, and threshold_.

Referenced by buildFEDRelatedObjects().

235  {
236  uint16_t istrip = apvPair*sistrip::STRIPS_PER_FEDCH;
237  inputQuality.push_back(quality_->encode(istrip,sistrip::STRIPS_PER_FEDCH));
239  for ( ;istrip < (apvPair+1)*sistrip::STRIPS_PER_FEDCH; ++istrip ){
242  }
243 }
SiStripPedestals::InputVector inputPedestals
SiStripQuality::InputVector inputQuality
SiStripThreshold::InputVector inputThreshold
SiStripNoises::InputVector inputNoises
static const uint16_t STRIPS_PER_FEDCH
void setData(const uint16_t &strip, const float &lTh, const float &hTh, Container &vthr)
void setData(float ped, InputVector &vped)
unsigned int encode(const unsigned short &first, const unsigned short &NconsecutiveBadStrips, const unsigned short &flag=0)
void setData(float noise_, InputVector &vped)
bool SiStripCondObjBuilderFromDb::setValuesApvLatency ( SiStripLatency latency_,
SiStripConfigDb *const  db,
FedChannelConnection ipair,
uint32_t  detid,
uint16_t  apvnr 
)
protected

Definition at line 293 of file SiStripCondObjBuilderFromDb.cc.

References FedChannelConnection::ccuAddr(), FedChannelConnection::ccuChan(), gather_cfg::cout, FedChannelConnection::detId(), FedChannelConnection::fecRing(), FedChannelConnection::fecSlot(), SiStripConfigDb::getDeviceDescriptions(), SiStripDetInfoFileReader::getNumberOfApvsAndStripLength(), FedChannelConnection::i2cAddr(), cmsCodeRules.cppFunctionSkipper::operator, and SiStripLatency::put().

Referenced by buildFECRelatedObjects().

293  {
295  uint16_t nApvPairs;
296  nApvPairs=fr->getNumberOfApvsAndStripLength(detid).first/2;
298 
299  SiStripConfigDb::DeviceDescriptionsV::const_iterator iapv = apvs.begin();
300  SiStripConfigDb::DeviceDescriptionsV::const_iterator japv = apvs.end();
301  if(iapv==japv) return false;
302  for ( ; iapv != japv; ++iapv ) {
303  apvDescription* apv = dynamic_cast<apvDescription*>( *iapv );
304  if ( !apv ) { continue; }
305  if((apv->getFecSlot()) != (ipair.fecSlot())) continue;
306  if((apv->getRingSlot()) != (ipair.fecRing())) continue;
307  if((apv->getCcuAddress()) != (ipair.ccuAddr())) continue;
308  if((apv->getChannel()) != (ipair.ccuChan())) continue;
309  // Insert latency values into latency object
310  if((apv->getAddress()) == (ipair.i2cAddr(0))) {
311  if(!latency_.put( ipair.detId(), apvnr, static_cast<uint16_t>(apv->getLatency()), static_cast<uint16_t>(apv->getApvMode()))){
312  std::cout << "UNABLE APVLatency Put: Detid "<< ipair.detId() << " APVNr.: " << apvnr << " Latency Value: " << apv->getLatency() << " APV Mode: " << apv->getApvMode()<< std::endl;
313  return false;
314  }
315  apvnr++;
316  }
317  if((apv->getAddress()) == (ipair.i2cAddr(1))) {
318  if(!latency_.put( ipair.detId(), apvnr, static_cast<uint16_t>(apv->getLatency()), static_cast<uint16_t>(apv->getApvMode()))){
319  std::cout << "UNABLE APVLatency Put: Detid "<< ipair.detId() << " APVNr.: " << apvnr << " Latency Value: " << dec <<apv->getLatency() << " APV Mode: " << dec <<apv->getApvMode()<< std::endl;
320  return false;
321  }
322  apvnr++;
323  }
324  }
325  return true;
326 }
const uint16_t & fecSlot() const
bool put(const uint32_t detId, const uint16_t apv, const uint16_t latency, const uint16_t mode)
const uint16_t & fecRing() const
const uint32_t & detId() const
DeviceDescriptions::range DeviceDescriptionsRange
const uint16_t & ccuChan() const
const uint16_t & ccuAddr() const
tuple cout
Definition: gather_cfg.py:41
DeviceDescriptionsRange getDeviceDescriptions(std::string partition="")
const uint16_t & i2cAddr(const uint16_t &apv0_or_1) const
bool SiStripCondObjBuilderFromDb::setValuesApvTiming ( SiStripConfigDb *const  db,
FedChannelConnection ipair 
)
protected

Definition at line 263 of file SiStripCondObjBuilderFromDb.cc.

References SiStripFedKey::fedCh(), FedChannelConnection::fedCh(), FedChannelConnection::fedId(), SiStripConfigDb::getAnalysisDescriptions(), inputApvGain, m_defaulttickheightvalue, m_gaincalibrationfactor, and tmp.

Referenced by buildAnalysisRelatedObjects().

263  {
264  SiStripConfigDb::AnalysisDescriptionsRange anal_descriptions = db->getAnalysisDescriptions( CommissioningAnalysisDescription::T_ANALYSIS_TIMING );
265  SiStripConfigDb::AnalysisDescriptionsV::const_iterator iii = anal_descriptions.begin();
266  SiStripConfigDb::AnalysisDescriptionsV::const_iterator jjj = anal_descriptions.end();
267 
268  while ( iii != jjj ) {
269  CommissioningAnalysisDescription* tmp = *iii;
270  uint16_t fed_id = tmp->getFedId();
271  uint16_t fed_ch = SiStripFedKey::fedCh( tmp->getFeUnit(), tmp->getFeChan() );
272  if ( fed_id == ipair.fedId() && fed_ch == ipair.fedCh() ) { break; }
273  iii++;
274  }
275 
276  TimingAnalysisDescription *anal=0;
277  if ( iii != jjj ) { anal = dynamic_cast<TimingAnalysisDescription*>(*iii); }
278  if ( anal ) {
279  float tick_height = (anal->getHeight() / m_gaincalibrationfactor);
280  inputApvGain.push_back( tick_height ); // APV0
281  inputApvGain.push_back( tick_height); // APV1
282  } else {
285  return false;
286  }
287 
288  return true;
289 }
const uint16_t & fedCh() const
const uint16_t & fedId() const
AnalysisDescriptionsRange getAnalysisDescriptions(AnalysisType, std::string partition="")
AnalysisDescriptions::range AnalysisDescriptionsRange
std::vector< std::vector< double > > tmp
Definition: MVATrainer.cc:100
SiStripApvGain::InputVector inputApvGain
static uint16_t fedCh(const uint16_t &fe_unit, const uint16_t &fe_chan)
bool SiStripCondObjBuilderFromDb::setValuesCabling ( SiStripConfigDb *const  db,
FedChannelConnection ipair,
uint32_t  detid 
)
protected

Definition at line 330 of file SiStripCondObjBuilderFromDb.cc.

References FedChannelConnection::apvPairNumber(), idDealer::description, SiStripBadStrip::encode(), FedChannelConnection::fedCh(), FedChannelConnection::fedId(), SiStripConfigDb::getFedDescriptions(), inputNoises, inputPedestals, inputQuality, inputThreshold, noises_, pedestals_, quality_, SiStripPedestals::setData(), SiStripNoises::setData(), SiStripThreshold::setData(), strip(), RecoTauPiZeroBuilderPlugins_cfi::strips, sistrip::STRIPS_PER_FEDCH, and threshold_.

Referenced by buildFEDRelatedObjects().

331  SiStripConfigDb::FedDescriptionsV::const_iterator description = descriptions.begin();
332  while ( description != descriptions.end() ) {
333  if ( (*description)->getFedId() ==ipair.fedId() ) { break; }
334  description++;
335  }
336  if ( description == descriptions.end() ) {return false;}
337  // Retrieve Fed9UStrips object from FED description
338  const Fed9U::Fed9UStrips& strips = (*description)->getFedStrips();
339 
340 
341  // Retrieve StripDescriptions for each APV
342  uint16_t jstrip = ipair.apvPairNumber()*sistrip::STRIPS_PER_FEDCH;
343  for ( uint16_t iapv = 2*ipair.fedCh(); iapv < 2*ipair.fedCh()+2; iapv++ ) {
344 
345  // Get StripDescriptions for the given APV
346  Fed9U::Fed9UAddress addr;
347  addr.setFedApv(iapv);
348  vector<Fed9U::Fed9UStripDescription> strip = strips.getApvStrips(addr);
349 
350  vector<Fed9U::Fed9UStripDescription>::const_iterator istrip = strip.begin();
351  uint16_t stripcount=0;
352  for ( ; istrip != strip.end(); istrip++ ) {
353  pedestals_->setData( istrip->getPedestal() , inputPedestals);
354  noises_ ->setData( istrip->getNoise() , inputNoises );
355  threshold_->setData( jstrip, istrip->getLowThresholdFactor(),
356  istrip->getHighThresholdFactor(), inputThreshold );
357  if(istrip->getDisable())
358  inputQuality.push_back(quality_->encode(jstrip,1));
359  stripcount++;
360  jstrip++;
361  }
362  }
363  return true;
364 }
SiStripPedestals::InputVector inputPedestals
void strip(std::string &input, const std::string &blanks=" \n\t")
Definition: stringTools.cc:16
const uint16_t & fedCh() const
SiStripQuality::InputVector inputQuality
FedDescriptionsRange getFedDescriptions(std::string partition="")
uint16_t apvPairNumber() const
FedDescriptions::range FedDescriptionsRange
SiStripThreshold::InputVector inputThreshold
const uint16_t & fedId() const
SiStripNoises::InputVector inputNoises
tuple description
Definition: idDealer.py:66
static const uint16_t STRIPS_PER_FEDCH
void setData(const uint16_t &strip, const float &lTh, const float &hTh, Container &vthr)
void setData(float ped, InputVector &vped)
unsigned int encode(const unsigned short &first, const unsigned short &NconsecutiveBadStrips, const unsigned short &flag=0)
void setData(float noise_, InputVector &vped)
void SiStripCondObjBuilderFromDb::storeNoise ( uint32_t  det_id)
protected

Definition at line 382 of file SiStripCondObjBuilderFromDb.cc.

References gather_cfg::cout, inputNoises, noises_, and SiStripNoises::put().

Referenced by buildFEDRelatedObjects().

382  {
383  // Insert noise values into Noises object
384  if ( !noises_->put(det_id, inputNoises ) ) {
385  std::cout
386  << "[SiStripCondObjBuilderFromDb::" << __func__ << "]"
387  << " Unable to insert values into SiStripNoises object!"
388  << " DetId already exists!" << std::endl;
389  }
390  inputNoises.clear();
391 }
SiStripNoises::InputVector inputNoises
bool put(const uint32_t &detID, const InputVector &input)
tuple cout
Definition: gather_cfg.py:41
void SiStripCondObjBuilderFromDb::storePedestals ( uint32_t  det_id)
protected

Definition at line 370 of file SiStripCondObjBuilderFromDb.cc.

References gather_cfg::cout, inputPedestals, pedestals_, and SiStripPedestals::put().

Referenced by buildFEDRelatedObjects().

370  {
371  if ( !pedestals_->put(det_id, inputPedestals ) ) {
372  std::cout
373  << "[SiStripCondObjBuilderFromDb::" << __func__ << "]"
374  << " Unable to insert values into SiStripPedestals object!"
375  << " DetId already exists!" << std::endl;
376  }
377  inputPedestals.clear();
378 }
SiStripPedestals::InputVector inputPedestals
bool put(const uint32_t &detID, InputVector &input)
tuple cout
Definition: gather_cfg.py:41
void SiStripCondObjBuilderFromDb::storeQuality ( uint32_t  det_id)
protected

Definition at line 408 of file SiStripCondObjBuilderFromDb.cc.

References SiStripQuality::compact(), gather_cfg::cout, inputQuality, SiStripBadStrip::put(), and quality_.

Referenced by buildFEDRelatedObjects().

408  {
409  // Insert quality values into Quality object
410  if (inputQuality.size()){
411  quality_->compact(det_id,inputQuality);
412  if ( !quality_->put(det_id, inputQuality ) ) {
413  std::cout
414  << "[SiStripCondObjBuilderFromDb::" << __func__ << "]"
415  << " Unable to insert values into SiStripThreshold object!"
416  << " DetId already exists!" << std::endl;
417  }
418  }
419  inputQuality.clear();
420 }
SiStripQuality::InputVector inputQuality
void compact(unsigned int &, std::vector< unsigned int > &)
tuple cout
Definition: gather_cfg.py:41
bool put(const uint32_t &detID, const InputVector &vect)
void SiStripCondObjBuilderFromDb::storeThreshold ( uint32_t  det_id)
protected

Definition at line 395 of file SiStripCondObjBuilderFromDb.cc.

References gather_cfg::cout, inputThreshold, SiStripThreshold::put(), and threshold_.

Referenced by buildFEDRelatedObjects().

395  {
396  // Insert threshold values into Threshold object
397  if ( !threshold_->put(det_id, inputThreshold ) ) {
398  std::cout
399  << "[SiStripCondObjBuilderFromDb::" << __func__ << "]"
400  << " Unable to insert values into SiStripThreshold object!"
401  << " DetId already exists!" << std::endl;
402  }
403  inputThreshold.clear();
404 }
SiStripThreshold::InputVector inputThreshold
bool put(const uint32_t &detID, InputVector vect)
tuple cout
Definition: gather_cfg.py:41
void SiStripCondObjBuilderFromDb::storeTiming ( uint32_t  det_id)
protected

Definition at line 424 of file SiStripCondObjBuilderFromDb.cc.

References gain_, inputApvGain, sistrip::mlESSources_, and SiStripApvGain::put().

Referenced by buildAnalysisRelatedObjects().

424  {
425  // Insert tick height values into Gain object
426  SiStripApvGain::Range range( inputApvGain.begin(), inputApvGain.end() );
427  if ( !gain_->put( det_id, range ) ) {
429  << "[SiStripCondObjBuilderFromDb::" << __func__ << "]"
430  << " Unable to insert values into SiStripApvGain object!"
431  << " DetId already exists!";
432  }
433  inputApvGain.clear();
434 }
bool put(const uint32_t &detID, Range input)
std::pair< ContainerIterator, ContainerIterator > Range
SiStripApvGain::InputVector inputApvGain
static const char mlESSources_[]

Member Data Documentation

edm::Service<SiStripConfigDb> SiStripCondObjBuilderFromDb::db_
protected

Access to the configuration DB interface class.

Definition at line 104 of file SiStripCondObjBuilderFromDb.h.

Referenced by buildAnalysisRelatedObjects(), buildCondObj(), and dbParams().

SiStripDbParams SiStripCondObjBuilderFromDb::dbParams_
protected

Container for DB connection parameters.

Definition at line 107 of file SiStripCondObjBuilderFromDb.h.

Referenced by checkUpdate().

SiStripFedCabling* SiStripCondObjBuilderFromDb::fed_cabling_
protected

Definition at line 108 of file SiStripCondObjBuilderFromDb.h.

Referenced by buildCondObj(), and getFedCabling().

SiStripApvGain* SiStripCondObjBuilderFromDb::gain_
protected
SiStripApvGain::InputVector SiStripCondObjBuilderFromDb::inputApvGain
protected
SiStripNoises::InputVector SiStripCondObjBuilderFromDb::inputNoises
protected
SiStripPedestals::InputVector SiStripCondObjBuilderFromDb::inputPedestals
protected
SiStripQuality::InputVector SiStripCondObjBuilderFromDb::inputQuality
protected
SiStripThreshold::InputVector SiStripCondObjBuilderFromDb::inputThreshold
protected
SiStripLatency* SiStripCondObjBuilderFromDb::latency_
protected

Definition at line 114 of file SiStripCondObjBuilderFromDb.h.

Referenced by buildFECRelatedObjects(), and getApvLatency().

bool SiStripCondObjBuilderFromDb::m_debug
protected

Definition at line 150 of file SiStripCondObjBuilderFromDb.h.

uint16_t SiStripCondObjBuilderFromDb::m_defaultapvlatencyvalue
protected
uint16_t SiStripCondObjBuilderFromDb::m_defaultapvmodevalue
protected
float SiStripCondObjBuilderFromDb::m_defaultnoisevalue
protected

Definition at line 141 of file SiStripCondObjBuilderFromDb.h.

Referenced by setDefaultValuesCabling().

float SiStripCondObjBuilderFromDb::m_defaultpedestalvalue
protected

Definition at line 140 of file SiStripCondObjBuilderFromDb.h.

Referenced by setDefaultValuesCabling().

float SiStripCondObjBuilderFromDb::m_defaultthresholdhighvalue
protected

Definition at line 142 of file SiStripCondObjBuilderFromDb.h.

float SiStripCondObjBuilderFromDb::m_defaultthresholdlowvalue
protected

Definition at line 143 of file SiStripCondObjBuilderFromDb.h.

Referenced by setDefaultValuesCabling().

float SiStripCondObjBuilderFromDb::m_defaulttickheightvalue
protected
float SiStripCondObjBuilderFromDb::m_gaincalibrationfactor
protected
bool SiStripCondObjBuilderFromDb::m_useanalysis
protected

Definition at line 147 of file SiStripCondObjBuilderFromDb.h.

Referenced by buildCondObj().

bool SiStripCondObjBuilderFromDb::m_usefec
protected

Definition at line 149 of file SiStripCondObjBuilderFromDb.h.

Referenced by buildCondObj().

bool SiStripCondObjBuilderFromDb::m_usefed
protected

Definition at line 148 of file SiStripCondObjBuilderFromDb.h.

Referenced by buildCondObj().

SiStripNoises* SiStripCondObjBuilderFromDb::noises_
protected
pair_apvpairconn SiStripCondObjBuilderFromDb::p_apvpcon
protected

Definition at line 161 of file SiStripCondObjBuilderFromDb.h.

Referenced by buildStripRelatedObjects().

pair_detcon SiStripCondObjBuilderFromDb::p_detcon
protected

Definition at line 163 of file SiStripCondObjBuilderFromDb.h.

Referenced by buildStripRelatedObjects().

SiStripPedestals* SiStripCondObjBuilderFromDb::pedestals_
protected
SiStripQuality* SiStripCondObjBuilderFromDb::quality_
protected
SiStripThreshold* SiStripCondObjBuilderFromDb::threshold_
protected
v_apvpairconn SiStripCondObjBuilderFromDb::v_apvpcon
protected

Definition at line 162 of file SiStripCondObjBuilderFromDb.h.

Referenced by buildStripRelatedObjects().

trackercon SiStripCondObjBuilderFromDb::v_trackercon
protected

Definition at line 164 of file SiStripCondObjBuilderFromDb.h.

Referenced by buildCondObj(), and buildStripRelatedObjects().