CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Public Attributes | Static Public Attributes
SiPixelDigitizerAlgorithm::PixelEfficiencies Struct Reference

Public Types

enum  shiftEnumerator { FPixRocIdShift = 3, BPixRocIdShift = 6 }
 

Public Member Functions

void init_from_db (const edm::ESHandle< TrackerGeometry > &, const edm::ESHandle< SiPixelDynamicInefficiency > &)
 
bool matches (const DetId &, const DetId &, const std::vector< uint32_t > &)
 
 PixelEfficiencies (const edm::ParameterSet &conf, bool AddPixelInefficiency, int NumberOfBarrelLayers, int NumberOfEndcapDisks)
 

Public Attributes

std::map< uint32_t, double > ChipGeomFactors
 
std::map< uint32_t, double > ColGeomFactors
 
unsigned int FPixIndex
 
bool FromConfig
 
std::map< uint32_t, size_t > iPU
 
std::unique_ptr< PixelFEDChannelCollectionPixelFEDChannelCollection_
 
std::map< uint32_t, double > PixelGeomFactors
 
std::map< uint32_t, std::vector< double > > PixelGeomFactorsROCBigPixels
 
std::map< uint32_t, std::vector< double > > PixelGeomFactorsROCStdPixels
 
std::vector< double > pu_scale
 
double theInnerEfficiency_FPix [20]
 
double theInstLumiScaleFactor
 
std::vector< double > theLadderEfficiency_BPix [20]
 
std::vector< double > theModuleEfficiency_BPix [20]
 
double theOuterEfficiency_FPix [20]
 
double thePixelChipEfficiency [20]
 
double thePixelColEfficiency [20]
 
double thePixelEfficiency [20]
 
std::vector< std::vector< double > > thePUEfficiency
 

Static Public Attributes

static const int rocIdMaskBits = 0x1F
 

Detailed Description

Internal use only.

Definition at line 243 of file SiPixelDigitizerAlgorithm.h.

Member Enumeration Documentation

◆ shiftEnumerator

Enumerator
FPixRocIdShift 
BPixRocIdShift 

Definition at line 273 of file SiPixelDigitizerAlgorithm.h.

273 { FPixRocIdShift = 3, BPixRocIdShift = 6 };

Constructor & Destructor Documentation

◆ PixelEfficiencies()

SiPixelDigitizerAlgorithm::PixelEfficiencies::PixelEfficiencies ( const edm::ParameterSet conf,
bool  AddPixelInefficiency,
int  NumberOfBarrelLayers,
int  NumberOfEndcapDisks 
)

Definition at line 454 of file SiPixelDigitizerAlgorithm.cc.

457  {
458  // pixel inefficiency
459  // Don't use Hard coded values, read inefficiencies in from DB/python config or don't use any
460  int NumberOfTotLayers = NumberOfBarrelLayers + NumberOfEndcapDisks;
462  if (AddPixelInefficiency) {
463  FromConfig = conf.exists("thePixelColEfficiency_BPix1") && conf.exists("thePixelColEfficiency_BPix2") &&
464  conf.exists("thePixelColEfficiency_BPix3") && conf.exists("thePixelColEfficiency_FPix1") &&
465  conf.exists("thePixelColEfficiency_FPix2") && conf.exists("thePixelEfficiency_BPix1") &&
466  conf.exists("thePixelEfficiency_BPix2") && conf.exists("thePixelEfficiency_BPix3") &&
467  conf.exists("thePixelEfficiency_FPix1") && conf.exists("thePixelEfficiency_FPix2") &&
468  conf.exists("thePixelChipEfficiency_BPix1") && conf.exists("thePixelChipEfficiency_BPix2") &&
469  conf.exists("thePixelChipEfficiency_BPix3") && conf.exists("thePixelChipEfficiency_FPix1") &&
470  conf.exists("thePixelChipEfficiency_FPix2");
471  if (NumberOfBarrelLayers == 3)
472  FromConfig = FromConfig && conf.exists("theLadderEfficiency_BPix1") && conf.exists("theLadderEfficiency_BPix2") &&
473  conf.exists("theLadderEfficiency_BPix3") && conf.exists("theModuleEfficiency_BPix1") &&
474  conf.exists("theModuleEfficiency_BPix2") && conf.exists("theModuleEfficiency_BPix3") &&
475  conf.exists("thePUEfficiency_BPix1") && conf.exists("thePUEfficiency_BPix2") &&
476  conf.exists("thePUEfficiency_BPix3") && conf.exists("theInnerEfficiency_FPix1") &&
477  conf.exists("theInnerEfficiency_FPix2") && conf.exists("theOuterEfficiency_FPix1") &&
478  conf.exists("theOuterEfficiency_FPix2") && conf.exists("thePUEfficiency_FPix_Inner") &&
479  conf.exists("thePUEfficiency_FPix_Outer") && conf.exists("theInstLumiScaleFactor");
480  if (NumberOfBarrelLayers >= 4)
481  FromConfig = FromConfig && conf.exists("thePixelColEfficiency_BPix4") &&
482  conf.exists("thePixelEfficiency_BPix4") && conf.exists("thePixelChipEfficiency_BPix4");
483  if (NumberOfEndcapDisks >= 3)
484  FromConfig = FromConfig && conf.exists("thePixelColEfficiency_FPix4") &&
485  conf.exists("thePixelEfficiency_FPix3") && conf.exists("thePixelChipEfficiency_FPix3");
486  if (FromConfig) {
487  LogInfo("PixelDigitizer ") << "The PixelDigitizer inefficiency configuration is read from the config file.\n";
488  theInstLumiScaleFactor = conf.getParameter<double>("theInstLumiScaleFactor");
489  int i = 0;
490  thePixelColEfficiency[i++] = conf.getParameter<double>("thePixelColEfficiency_BPix1");
491  thePixelColEfficiency[i++] = conf.getParameter<double>("thePixelColEfficiency_BPix2");
492  thePixelColEfficiency[i++] = conf.getParameter<double>("thePixelColEfficiency_BPix3");
493  if (NumberOfBarrelLayers >= 4) {
494  thePixelColEfficiency[i++] = conf.getParameter<double>("thePixelColEfficiency_BPix4");
495  }
496  //
497  i = 0;
498  thePixelEfficiency[i++] = conf.getParameter<double>("thePixelEfficiency_BPix1");
499  thePixelEfficiency[i++] = conf.getParameter<double>("thePixelEfficiency_BPix2");
500  thePixelEfficiency[i++] = conf.getParameter<double>("thePixelEfficiency_BPix3");
501  if (NumberOfBarrelLayers >= 4) {
502  thePixelEfficiency[i++] = conf.getParameter<double>("thePixelEfficiency_BPix4");
503  }
504  //
505  i = 0;
506  thePixelChipEfficiency[i++] = conf.getParameter<double>("thePixelChipEfficiency_BPix1");
507  thePixelChipEfficiency[i++] = conf.getParameter<double>("thePixelChipEfficiency_BPix2");
508  thePixelChipEfficiency[i++] = conf.getParameter<double>("thePixelChipEfficiency_BPix3");
509  if (NumberOfBarrelLayers >= 4) {
510  thePixelChipEfficiency[i++] = conf.getParameter<double>("thePixelChipEfficiency_BPix4");
511  }
512  //
513  if (NumberOfBarrelLayers == 3) {
514  i = 0;
515  theLadderEfficiency_BPix[i++] = conf.getParameter<std::vector<double> >("theLadderEfficiency_BPix1");
516  theLadderEfficiency_BPix[i++] = conf.getParameter<std::vector<double> >("theLadderEfficiency_BPix2");
517  theLadderEfficiency_BPix[i++] = conf.getParameter<std::vector<double> >("theLadderEfficiency_BPix3");
518  if (((theLadderEfficiency_BPix[0].size() != 20) || (theLadderEfficiency_BPix[1].size() != 32) ||
519  (theLadderEfficiency_BPix[2].size() != 44)) &&
520  (NumberOfBarrelLayers == 3))
521  throw cms::Exception("Configuration") << "Wrong ladder number in efficiency config!";
522  //
523  i = 0;
524  theModuleEfficiency_BPix[i++] = conf.getParameter<std::vector<double> >("theModuleEfficiency_BPix1");
525  theModuleEfficiency_BPix[i++] = conf.getParameter<std::vector<double> >("theModuleEfficiency_BPix2");
526  theModuleEfficiency_BPix[i++] = conf.getParameter<std::vector<double> >("theModuleEfficiency_BPix3");
527  if (((theModuleEfficiency_BPix[0].size() != 4) || (theModuleEfficiency_BPix[1].size() != 4) ||
528  (theModuleEfficiency_BPix[2].size() != 4)) &&
529  (NumberOfBarrelLayers == 3))
530  throw cms::Exception("Configuration") << "Wrong module number in efficiency config!";
531  //
532  thePUEfficiency.push_back(conf.getParameter<std::vector<double> >("thePUEfficiency_BPix1"));
533  thePUEfficiency.push_back(conf.getParameter<std::vector<double> >("thePUEfficiency_BPix2"));
534  thePUEfficiency.push_back(conf.getParameter<std::vector<double> >("thePUEfficiency_BPix3"));
535  if (((thePUEfficiency[0].empty()) || (thePUEfficiency[1].empty()) || (thePUEfficiency[2].empty())) &&
536  (NumberOfBarrelLayers == 3))
537  throw cms::Exception("Configuration")
538  << "At least one PU efficiency (BPix) number is needed in efficiency config!";
539  }
540  // The next is needed for Phase2 Tracker studies
541  if (NumberOfBarrelLayers >= 5) {
542  if (NumberOfTotLayers > 20) {
543  throw cms::Exception("Configuration") << "SiPixelDigitizer was given more layers than it can handle";
544  }
545  // For Phase2 tracker layers just set the outermost BPix inefficiency to 99.9% THESE VALUES ARE HARDCODED ALSO ELSEWHERE IN THIS FILE
546  for (int j = 5; j <= NumberOfBarrelLayers; j++) {
547  thePixelColEfficiency[j - 1] = 0.999;
548  thePixelEfficiency[j - 1] = 0.999;
549  thePixelChipEfficiency[j - 1] = 0.999;
550  }
551  }
552  //
553  i = FPixIndex;
554  thePixelColEfficiency[i++] = conf.getParameter<double>("thePixelColEfficiency_FPix1");
555  thePixelColEfficiency[i++] = conf.getParameter<double>("thePixelColEfficiency_FPix2");
556  if (NumberOfEndcapDisks >= 3) {
557  thePixelColEfficiency[i++] = conf.getParameter<double>("thePixelColEfficiency_FPix3");
558  }
559  i = FPixIndex;
560  thePixelEfficiency[i++] = conf.getParameter<double>("thePixelEfficiency_FPix1");
561  thePixelEfficiency[i++] = conf.getParameter<double>("thePixelEfficiency_FPix2");
562  if (NumberOfEndcapDisks >= 3) {
563  thePixelEfficiency[i++] = conf.getParameter<double>("thePixelEfficiency_FPix3");
564  }
565  i = FPixIndex;
566  thePixelChipEfficiency[i++] = conf.getParameter<double>("thePixelChipEfficiency_FPix1");
567  thePixelChipEfficiency[i++] = conf.getParameter<double>("thePixelChipEfficiency_FPix2");
568  if (NumberOfEndcapDisks >= 3) {
569  thePixelChipEfficiency[i++] = conf.getParameter<double>("thePixelChipEfficiency_FPix3");
570  }
571  // The next is needed for Phase2 Tracker studies
572  if (NumberOfEndcapDisks >= 4) {
573  if (NumberOfTotLayers > 20) {
574  throw cms::Exception("Configuration") << "SiPixelDigitizer was given more layers than it can handle";
575  }
576  // For Phase2 tracker layers just set the extra FPix disk inefficiency to 99.9% THESE VALUES ARE HARDCODED ALSO ELSEWHERE IN THIS FILE
577  for (int j = 4 + FPixIndex; j <= NumberOfEndcapDisks + NumberOfBarrelLayers; j++) {
578  thePixelColEfficiency[j - 1] = 0.999;
579  thePixelEfficiency[j - 1] = 0.999;
580  thePixelChipEfficiency[j - 1] = 0.999;
581  }
582  }
583  //FPix Dynamic Inefficiency
584  if (NumberOfBarrelLayers == 3) {
585  i = FPixIndex;
586  theInnerEfficiency_FPix[i++] = conf.getParameter<double>("theInnerEfficiency_FPix1");
587  theInnerEfficiency_FPix[i++] = conf.getParameter<double>("theInnerEfficiency_FPix2");
588  i = FPixIndex;
589  theOuterEfficiency_FPix[i++] = conf.getParameter<double>("theOuterEfficiency_FPix1");
590  theOuterEfficiency_FPix[i++] = conf.getParameter<double>("theOuterEfficiency_FPix2");
591  thePUEfficiency.push_back(conf.getParameter<std::vector<double> >("thePUEfficiency_FPix_Inner"));
592  thePUEfficiency.push_back(conf.getParameter<std::vector<double> >("thePUEfficiency_FPix_Outer"));
593  if (((thePUEfficiency[3].empty()) || (thePUEfficiency[4].empty())) && (NumberOfEndcapDisks == 2))
594  throw cms::Exception("Configuration")
595  << "At least one (FPix) PU efficiency number is needed in efficiency config!";
596  pu_scale.resize(thePUEfficiency.size());
597  }
598  } else
599  LogInfo("PixelDigitizer ") << "The PixelDigitizer inefficiency configuration is read from the database.\n";
600  }
601  // the first "NumberOfBarrelLayers" settings [0],[1], ... , [NumberOfBarrelLayers-1] are for the barrel pixels
602  // the next "NumberOfEndcapDisks" settings [NumberOfBarrelLayers],[NumberOfBarrelLayers+1], ... [NumberOfEndcapDisks+NumberOfBarrelLayers-1]
603 }

References SiPixelDigitizerAlgorithm::AddPixelInefficiency, relativeConstraints::empty, Exception, edm::ParameterSet::exists(), FPixIndex, FromConfig, edm::ParameterSet::getParameter(), mps_fire::i, dqmiolumiharvest::j, SiPixelDigitizerAlgorithm::NumberOfBarrelLayers, SiPixelDigitizerAlgorithm::NumberOfEndcapDisks, pu_scale, findQualityFiles::size, theInnerEfficiency_FPix, theInstLumiScaleFactor, theLadderEfficiency_BPix, theModuleEfficiency_BPix, theOuterEfficiency_FPix, thePixelChipEfficiency, thePixelColEfficiency, thePixelEfficiency, and thePUEfficiency.

Member Function Documentation

◆ init_from_db()

void SiPixelDigitizerAlgorithm::PixelEfficiencies::init_from_db ( const edm::ESHandle< TrackerGeometry > &  geom,
const edm::ESHandle< SiPixelDynamicInefficiency > &  SiPixelDynamicInefficiency 
)

Definition at line 616 of file SiPixelDigitizerAlgorithm.cc.

618  {
620  const std::map<uint32_t, double>& PixelGeomFactorsDBIn = SiPixelDynamicInefficiency->getPixelGeomFactors();
621  const std::map<uint32_t, double>& ColGeomFactorsDB = SiPixelDynamicInefficiency->getColGeomFactors();
622  const std::map<uint32_t, double>& ChipGeomFactorsDB = SiPixelDynamicInefficiency->getChipGeomFactors();
623  const std::map<uint32_t, std::vector<double> >& PUFactors = SiPixelDynamicInefficiency->getPUFactors();
624  std::vector<uint32_t> DetIdmasks = SiPixelDynamicInefficiency->getDetIdmasks();
625 
626  // Loop on all modules, initialize map for easy access
627  for (const auto& it_module : geom->detUnits()) {
628  if (dynamic_cast<PixelGeomDetUnit const*>(it_module) == nullptr)
629  continue;
630  const DetId detid = it_module->geographicalId();
631  uint32_t rawid = detid.rawId();
632  PixelGeomFactors[rawid] = 1;
633  ColGeomFactors[rawid] = 1;
634  ChipGeomFactors[rawid] = 1;
635  PixelGeomFactorsROCStdPixels[rawid] = std::vector<double>(16, 1);
636  PixelGeomFactorsROCBigPixels[rawid] = std::vector<double>(16, 1);
637  }
638 
639  // ROC level inefficiency for phase 1 (disentangle scale factors for big and std size pixels)
640  std::map<uint32_t, double> PixelGeomFactorsDB;
641 
642  if (geom->isThere(GeomDetEnumerators::P1PXB) || geom->isThere(GeomDetEnumerators::P1PXEC)) {
643  for (auto db_factor : PixelGeomFactorsDBIn) {
644  int shift = DetId(db_factor.first).subdetId() == static_cast<int>(PixelSubdetector::PixelBarrel) ? BPixRocIdShift
645  : FPixRocIdShift;
646  unsigned int rocMask = rocIdMaskBits << shift;
647  unsigned int rocId = (((db_factor.first) & rocMask) >> shift);
648  if (rocId != 0) {
649  rocId--;
650  unsigned int rawid = db_factor.first & (~rocMask);
651  const PixelGeomDetUnit* theGeomDet = dynamic_cast<const PixelGeomDetUnit*>(geom->idToDet(rawid));
652  PixelTopology const* topology = &(theGeomDet->specificTopology());
653  const int nPixelsInROC = topology->rowsperroc() * topology->colsperroc();
654  const int nBigPixelsInROC = 2 * topology->rowsperroc() + topology->colsperroc() - 2;
655  double factor = db_factor.second;
656  double badFraction = 1 - factor;
657  double bigPixelFraction = static_cast<double>(nBigPixelsInROC) / nPixelsInROC;
658  double stdPixelFraction = 1. - bigPixelFraction;
659 
660  double badFractionBig = std::min(bigPixelFraction, badFraction);
661  double badFractionStd = std::max(0., badFraction - badFractionBig);
662  double badFractionBigReNormalized = badFractionBig / bigPixelFraction;
663  double badFractionStdReNormalized = badFractionStd / stdPixelFraction;
664  PixelGeomFactorsROCStdPixels[rawid][rocId] *= (1. - badFractionStdReNormalized);
665  PixelGeomFactorsROCBigPixels[rawid][rocId] *= (1. - badFractionBigReNormalized);
666  } else {
667  PixelGeomFactorsDB[db_factor.first] = db_factor.second;
668  }
669  }
670  } // is Phase 1 geometry
671  else {
672  PixelGeomFactorsDB = PixelGeomFactorsDBIn;
673  }
674 
675  // Loop on all modules, store module level geometrical scale factors
676  for (const auto& it_module : geom->detUnits()) {
677  if (dynamic_cast<PixelGeomDetUnit const*>(it_module) == nullptr)
678  continue;
679  const DetId detid = it_module->geographicalId();
680  uint32_t rawid = detid.rawId();
681  for (auto db_factor : PixelGeomFactorsDB)
682  if (matches(detid, DetId(db_factor.first), DetIdmasks))
683  PixelGeomFactors[rawid] *= db_factor.second;
684  for (auto db_factor : ColGeomFactorsDB)
685  if (matches(detid, DetId(db_factor.first), DetIdmasks))
686  ColGeomFactors[rawid] *= db_factor.second;
687  for (auto db_factor : ChipGeomFactorsDB)
688  if (matches(detid, DetId(db_factor.first), DetIdmasks))
689  ChipGeomFactors[rawid] *= db_factor.second;
690  }
691 
692  // piluep scale factors are calculated once per event
693  // therefore vector index is stored in a map for each module that matches to a db_id
694  size_t i = 0;
695  for (auto factor : PUFactors) {
696  const DetId db_id = DetId(factor.first);
697  for (const auto& it_module : geom->detUnits()) {
698  if (dynamic_cast<PixelGeomDetUnit const*>(it_module) == nullptr)
699  continue;
700  const DetId detid = it_module->geographicalId();
701  if (!matches(detid, db_id, DetIdmasks))
702  continue;
703  if (iPU.count(detid.rawId())) {
704  throw cms::Exception("Database")
705  << "Multiple db_ids match to same module in SiPixelDynamicInefficiency DB Object";
706  } else {
707  iPU[detid.rawId()] = i;
708  }
709  }
710  thePUEfficiency.push_back(factor.second);
711  ++i;
712  }
713  pu_scale.resize(thePUEfficiency.size());
714 }

References Exception, DQMScaleToClient_cfi::factor, relativeConstraints::geom, SiPixelDynamicInefficiency::getChipGeomFactors(), SiPixelDynamicInefficiency::getColGeomFactors(), SiPixelDynamicInefficiency::getDetIdmasks(), SiPixelDynamicInefficiency::getPixelGeomFactors(), SiPixelDynamicInefficiency::getPUFactors(), SiPixelDynamicInefficiency::gettheInstLumiScaleFactor(), mps_fire::i, patCandidatesForDimuonsSequences_cff::matches, SiStripPI::max, min(), GeomDetEnumerators::P1PXB, GeomDetEnumerators::P1PXEC, PixelSubdetector::PixelBarrel, DetId::rawId(), edm::shift, PixelGeomDetUnit::specificTopology(), DetId::subdetId(), and ecaldqm::topology().

Referenced by SiPixelDigitizerAlgorithm::init_DynIneffDB().

◆ matches()

bool SiPixelDigitizerAlgorithm::PixelEfficiencies::matches ( const DetId detid,
const DetId db_id,
const std::vector< uint32_t > &  DetIdmasks 
)

Definition at line 716 of file SiPixelDigitizerAlgorithm.cc.

718  {
719  if (detid.subdetId() != db_id.subdetId())
720  return false;
721  for (size_t i = 0; i < DetIdmasks.size(); ++i) {
722  DetId maskid = DetId(DetIdmasks.at(i));
723  if (maskid.subdetId() != db_id.subdetId())
724  continue;
725  if ((detid.rawId() & maskid.rawId()) != (db_id.rawId() & maskid.rawId()) &&
726  (db_id.rawId() & maskid.rawId()) != DetId(db_id.det(), db_id.subdetId()).rawId())
727  return false;
728  }
729  return true;
730 }

References DetId::det(), mps_fire::i, DetId::rawId(), and DetId::subdetId().

Member Data Documentation

◆ ChipGeomFactors

std::map<uint32_t, double> SiPixelDigitizerAlgorithm::PixelEfficiencies::ChipGeomFactors

◆ ColGeomFactors

std::map<uint32_t, double> SiPixelDigitizerAlgorithm::PixelEfficiencies::ColGeomFactors

◆ FPixIndex

unsigned int SiPixelDigitizerAlgorithm::PixelEfficiencies::FPixIndex

◆ FromConfig

bool SiPixelDigitizerAlgorithm::PixelEfficiencies::FromConfig

◆ iPU

std::map<uint32_t, size_t> SiPixelDigitizerAlgorithm::PixelEfficiencies::iPU

◆ PixelFEDChannelCollection_

std::unique_ptr<PixelFEDChannelCollection> SiPixelDigitizerAlgorithm::PixelEfficiencies::PixelFEDChannelCollection_

◆ PixelGeomFactors

std::map<uint32_t, double> SiPixelDigitizerAlgorithm::PixelEfficiencies::PixelGeomFactors

◆ PixelGeomFactorsROCBigPixels

std::map<uint32_t, std::vector<double> > SiPixelDigitizerAlgorithm::PixelEfficiencies::PixelGeomFactorsROCBigPixels

◆ PixelGeomFactorsROCStdPixels

std::map<uint32_t, std::vector<double> > SiPixelDigitizerAlgorithm::PixelEfficiencies::PixelGeomFactorsROCStdPixels

◆ pu_scale

std::vector<double> SiPixelDigitizerAlgorithm::PixelEfficiencies::pu_scale

◆ rocIdMaskBits

const int SiPixelDigitizerAlgorithm::PixelEfficiencies::rocIdMaskBits = 0x1F
static

Definition at line 274 of file SiPixelDigitizerAlgorithm.h.

◆ theInnerEfficiency_FPix

double SiPixelDigitizerAlgorithm::PixelEfficiencies::theInnerEfficiency_FPix[20]

◆ theInstLumiScaleFactor

double SiPixelDigitizerAlgorithm::PixelEfficiencies::theInstLumiScaleFactor

◆ theLadderEfficiency_BPix

std::vector<double> SiPixelDigitizerAlgorithm::PixelEfficiencies::theLadderEfficiency_BPix[20]

◆ theModuleEfficiency_BPix

std::vector<double> SiPixelDigitizerAlgorithm::PixelEfficiencies::theModuleEfficiency_BPix[20]

◆ theOuterEfficiency_FPix

double SiPixelDigitizerAlgorithm::PixelEfficiencies::theOuterEfficiency_FPix[20]

◆ thePixelChipEfficiency

double SiPixelDigitizerAlgorithm::PixelEfficiencies::thePixelChipEfficiency[20]

◆ thePixelColEfficiency

double SiPixelDigitizerAlgorithm::PixelEfficiencies::thePixelColEfficiency[20]

◆ thePixelEfficiency

double SiPixelDigitizerAlgorithm::PixelEfficiencies::thePixelEfficiency[20]

◆ thePUEfficiency

std::vector<std::vector<double> > SiPixelDigitizerAlgorithm::PixelEfficiencies::thePUEfficiency
mps_fire.i
i
Definition: mps_fire.py:355
PixelSubdetector::PixelBarrel
Definition: PixelSubdetector.h:11
SiPixelDigitizerAlgorithm::AddPixelInefficiency
const bool AddPixelInefficiency
Definition: SiPixelDigitizerAlgorithm.h:386
SiPixelDigitizerAlgorithm::PixelEfficiencies::theOuterEfficiency_FPix
double theOuterEfficiency_FPix[20]
Definition: SiPixelDigitizerAlgorithm.h:261
min
T min(T a, T b)
Definition: MathUtil.h:58
DetId::det
constexpr Detector det() const
get the detector field from this detid
Definition: DetId.h:46
edm::LogInfo
Definition: MessageLogger.h:254
SiPixelDigitizerAlgorithm::PixelEfficiencies::rocIdMaskBits
static const int rocIdMaskBits
Definition: SiPixelDigitizerAlgorithm.h:274
SiPixelDigitizerAlgorithm::PixelEfficiencies::thePUEfficiency
std::vector< std::vector< double > > thePUEfficiency
Definition: SiPixelDigitizerAlgorithm.h:252
SiPixelDigitizerAlgorithm::PixelEfficiencies::iPU
std::map< uint32_t, size_t > iPU
Definition: SiPixelDigitizerAlgorithm.h:270
SiPixelDynamicInefficiency
Definition: SiPixelDynamicInefficiency.h:11
DetId
Definition: DetId.h:17
SiPixelDigitizerAlgorithm::PixelEfficiencies::PixelGeomFactorsROCBigPixels
std::map< uint32_t, std::vector< double > > PixelGeomFactorsROCBigPixels
Definition: SiPixelDigitizerAlgorithm.h:267
ecaldqm::topology
const CaloTopology * topology(nullptr)
SiPixelDigitizerAlgorithm::NumberOfBarrelLayers
const int NumberOfBarrelLayers
Definition: SiPixelDigitizerAlgorithm.h:340
GeomDetEnumerators::P1PXEC
Definition: GeomDetEnumerators.h:26
SiPixelDigitizerAlgorithm::PixelEfficiencies::FPixIndex
unsigned int FPixIndex
Definition: SiPixelDigitizerAlgorithm.h:262
PixelGeomDetUnit
Definition: PixelGeomDetUnit.h:15
SiPixelDigitizerAlgorithm::PixelEfficiencies::thePixelChipEfficiency
double thePixelChipEfficiency[20]
Definition: SiPixelDigitizerAlgorithm.h:257
SiPixelDigitizerAlgorithm::PixelEfficiencies::BPixRocIdShift
Definition: SiPixelDigitizerAlgorithm.h:273
relativeConstraints.geom
geom
Definition: relativeConstraints.py:72
DQMScaleToClient_cfi.factor
factor
Definition: DQMScaleToClient_cfi.py:8
PixelTopology
Definition: PixelTopology.h:10
SiPixelDigitizerAlgorithm::PixelEfficiencies::theModuleEfficiency_BPix
std::vector< double > theModuleEfficiency_BPix[20]
Definition: SiPixelDigitizerAlgorithm.h:259
DetId::subdetId
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum)
Definition: DetId.h:48
SiPixelDigitizerAlgorithm::PixelEfficiencies::theInstLumiScaleFactor
double theInstLumiScaleFactor
Definition: SiPixelDigitizerAlgorithm.h:250
edm::ParameterSet::exists
bool exists(std::string const &parameterName) const
checks if a parameter exists
Definition: ParameterSet.cc:674
GeomDetEnumerators::P1PXB
Definition: GeomDetEnumerators.h:25
SiPixelDigitizerAlgorithm::PixelEfficiencies::pu_scale
std::vector< double > pu_scale
Definition: SiPixelDigitizerAlgorithm.h:251
SiPixelDigitizerAlgorithm::PixelEfficiencies::theInnerEfficiency_FPix
double theInnerEfficiency_FPix[20]
Definition: SiPixelDigitizerAlgorithm.h:260
SiPixelDynamicInefficiency::gettheInstLumiScaleFactor
double gettheInstLumiScaleFactor() const
Definition: SiPixelDynamicInefficiency.cc:122
SiStripPI::max
Definition: SiStripPayloadInspectorHelper.h:169
SiPixelDynamicInefficiency::getChipGeomFactors
const std::map< unsigned int, double > & getChipGeomFactors() const
Definition: SiPixelDynamicInefficiency.h:27
PixelGeomDetUnit::specificTopology
virtual const PixelTopology & specificTopology() const
Returns a reference to the pixel proxy topology.
Definition: PixelGeomDetUnit.cc:17
SiPixelDigitizerAlgorithm::PixelEfficiencies::FromConfig
bool FromConfig
Definition: SiPixelDigitizerAlgorithm.h:248
SiPixelDigitizerAlgorithm::PixelEfficiencies::PixelGeomFactorsROCStdPixels
std::map< uint32_t, std::vector< double > > PixelGeomFactorsROCStdPixels
Definition: SiPixelDigitizerAlgorithm.h:266
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
DetId::rawId
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:57
SiPixelDigitizerAlgorithm::PixelEfficiencies::theLadderEfficiency_BPix
std::vector< double > theLadderEfficiency_BPix[20]
Definition: SiPixelDigitizerAlgorithm.h:258
edm::shift
static unsigned const int shift
Definition: LuminosityBlockID.cc:7
SiPixelDigitizerAlgorithm::PixelEfficiencies::thePixelColEfficiency
double thePixelColEfficiency[20]
Definition: SiPixelDigitizerAlgorithm.h:256
SiPixelDigitizerAlgorithm::PixelEfficiencies::FPixRocIdShift
Definition: SiPixelDigitizerAlgorithm.h:273
SiPixelDigitizerAlgorithm::NumberOfEndcapDisks
const int NumberOfEndcapDisks
Definition: SiPixelDigitizerAlgorithm.h:341
relativeConstraints.empty
bool empty
Definition: relativeConstraints.py:46
Exception
Definition: hltDiff.cc:246
SiPixelDynamicInefficiency::getDetIdmasks
const std::vector< uint32_t > getDetIdmasks() const
Definition: SiPixelDynamicInefficiency.h:36
SiPixelDigitizerAlgorithm::PixelEfficiencies::matches
bool matches(const DetId &, const DetId &, const std::vector< uint32_t > &)
Definition: SiPixelDigitizerAlgorithm.cc:716
SiPixelDigitizerAlgorithm::PixelEfficiencies::ColGeomFactors
std::map< uint32_t, double > ColGeomFactors
Definition: SiPixelDigitizerAlgorithm.h:268
SiPixelDynamicInefficiency::getColGeomFactors
const std::map< unsigned int, double > & getColGeomFactors() const
Definition: SiPixelDynamicInefficiency.h:22
SiPixelDynamicInefficiency::getPUFactors
const std::map< unsigned int, std::vector< double > > & getPUFactors() const
Definition: SiPixelDynamicInefficiency.h:30
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
SiPixelDynamicInefficiency::getPixelGeomFactors
const std::map< unsigned int, double > & getPixelGeomFactors() const
Definition: SiPixelDynamicInefficiency.h:19
SiPixelDigitizerAlgorithm::PixelEfficiencies::thePixelEfficiency
double thePixelEfficiency[20]
Definition: SiPixelDigitizerAlgorithm.h:255
SiPixelDigitizerAlgorithm::PixelEfficiencies::PixelGeomFactors
std::map< uint32_t, double > PixelGeomFactors
Definition: SiPixelDigitizerAlgorithm.h:265
SiPixelDigitizerAlgorithm::PixelEfficiencies::ChipGeomFactors
std::map< uint32_t, double > ChipGeomFactors
Definition: SiPixelDigitizerAlgorithm.h:269
findQualityFiles.size
size
Write out results.
Definition: findQualityFiles.py:443