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 245 of file SiPixelDigitizerAlgorithm.h.

Member Enumeration Documentation

◆ shiftEnumerator

Enumerator
FPixRocIdShift 
BPixRocIdShift 

Definition at line 275 of file SiPixelDigitizerAlgorithm.h.

275 { FPixRocIdShift = 3, BPixRocIdShift = 6 };

Constructor & Destructor Documentation

◆ PixelEfficiencies()

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

Definition at line 435 of file SiPixelDigitizerAlgorithm.cc.

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

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 597 of file SiPixelDigitizerAlgorithm.cc.

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

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

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 697 of file SiPixelDigitizerAlgorithm.cc.

699  {
700  if (detid.subdetId() != db_id.subdetId())
701  return false;
702  for (size_t i = 0; i < DetIdmasks.size(); ++i) {
703  DetId maskid = DetId(DetIdmasks.at(i));
704  if (maskid.subdetId() != db_id.subdetId())
705  continue;
706  if ((detid.rawId() & maskid.rawId()) != (db_id.rawId() & maskid.rawId()) &&
707  (db_id.rawId() & maskid.rawId()) != DetId(db_id.det(), db_id.subdetId()).rawId())
708  return false;
709  }
710  return true;
711 }

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 276 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:428
PixelSubdetector::PixelBarrel
Definition: PixelSubdetector.h:11
SiPixelDigitizerAlgorithm::AddPixelInefficiency
const bool AddPixelInefficiency
Definition: SiPixelDigitizerAlgorithm.h:378
SiPixelDigitizerAlgorithm::PixelEfficiencies::theOuterEfficiency_FPix
double theOuterEfficiency_FPix[20]
Definition: SiPixelDigitizerAlgorithm.h:263
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
SiPixelDigitizerAlgorithm::PixelEfficiencies::rocIdMaskBits
static const int rocIdMaskBits
Definition: SiPixelDigitizerAlgorithm.h:276
edm::LogInfo
Log< level::Info, false > LogInfo
Definition: MessageLogger.h:125
SiPixelDigitizerAlgorithm::PixelEfficiencies::thePUEfficiency
std::vector< std::vector< double > > thePUEfficiency
Definition: SiPixelDigitizerAlgorithm.h:254
SiPixelDigitizerAlgorithm::PixelEfficiencies::iPU
std::map< uint32_t, size_t > iPU
Definition: SiPixelDigitizerAlgorithm.h:272
SiPixelDynamicInefficiency
Definition: SiPixelDynamicInefficiency.h:11
DetId
Definition: DetId.h:17
SiPixelDigitizerAlgorithm::PixelEfficiencies::PixelGeomFactorsROCBigPixels
std::map< uint32_t, std::vector< double > > PixelGeomFactorsROCBigPixels
Definition: SiPixelDigitizerAlgorithm.h:269
SiPixelDigitizerAlgorithm::NumberOfBarrelLayers
const int NumberOfBarrelLayers
Definition: SiPixelDigitizerAlgorithm.h:332
GeomDetEnumerators::P1PXEC
Definition: GeomDetEnumerators.h:26
SiPixelDigitizerAlgorithm::PixelEfficiencies::FPixIndex
unsigned int FPixIndex
Definition: SiPixelDigitizerAlgorithm.h:264
PixelGeomDetUnit
Definition: PixelGeomDetUnit.h:15
SiPixelDigitizerAlgorithm::PixelEfficiencies::thePixelChipEfficiency
double thePixelChipEfficiency[20]
Definition: SiPixelDigitizerAlgorithm.h:259
SiPixelDigitizerAlgorithm::PixelEfficiencies::BPixRocIdShift
Definition: SiPixelDigitizerAlgorithm.h:275
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:261
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:252
edm::ParameterSet::exists
bool exists(std::string const &parameterName) const
checks if a parameter exists
Definition: ParameterSet.cc:681
GeomDetEnumerators::P1PXB
Definition: GeomDetEnumerators.h:25
SiPixelDigitizerAlgorithm::PixelEfficiencies::pu_scale
std::vector< double > pu_scale
Definition: SiPixelDigitizerAlgorithm.h:253
SiPixelDigitizerAlgorithm::PixelEfficiencies::theInnerEfficiency_FPix
double theInnerEfficiency_FPix[20]
Definition: SiPixelDigitizerAlgorithm.h:262
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:250
PixelTopology::rowsperroc
virtual int rowsperroc() const =0
SiPixelDigitizerAlgorithm::PixelEfficiencies::PixelGeomFactorsROCStdPixels
std::map< uint32_t, std::vector< double > > PixelGeomFactorsROCStdPixels
Definition: SiPixelDigitizerAlgorithm.h:268
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:260
edm::shift
static unsigned const int shift
Definition: LuminosityBlockID.cc:7
SiPixelDigitizerAlgorithm::PixelEfficiencies::thePixelColEfficiency
double thePixelColEfficiency[20]
Definition: SiPixelDigitizerAlgorithm.h:258
SiPixelDigitizerAlgorithm::PixelEfficiencies::FPixRocIdShift
Definition: SiPixelDigitizerAlgorithm.h:275
SiPixelDigitizerAlgorithm::NumberOfEndcapDisks
const int NumberOfEndcapDisks
Definition: SiPixelDigitizerAlgorithm.h:333
relativeConstraints.empty
bool empty
Definition: relativeConstraints.py:46
Exception
Definition: hltDiff.cc:245
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:697
SiPixelDigitizerAlgorithm::PixelEfficiencies::ColGeomFactors
std::map< uint32_t, double > ColGeomFactors
Definition: SiPixelDigitizerAlgorithm.h:270
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
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:257
SiPixelDigitizerAlgorithm::PixelEfficiencies::PixelGeomFactors
std::map< uint32_t, double > PixelGeomFactors
Definition: SiPixelDigitizerAlgorithm.h:267
SiPixelDigitizerAlgorithm::PixelEfficiencies::ChipGeomFactors
std::map< uint32_t, double > ChipGeomFactors
Definition: SiPixelDigitizerAlgorithm.h:271
findQualityFiles.size
size
Write out results.
Definition: findQualityFiles.py:443