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::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 |
Internal use only.
Definition at line 241 of file SiPixelDigitizerAlgorithm.h.
Enumerator | |
---|---|
FPixRocIdShift | |
BPixRocIdShift |
Definition at line 268 of file SiPixelDigitizerAlgorithm.h.
SiPixelDigitizerAlgorithm::PixelEfficiencies::PixelEfficiencies | ( | const edm::ParameterSet & | conf, |
bool | AddPixelInefficiency, | ||
int | NumberOfBarrelLayers, | ||
int | NumberOfEndcapDisks | ||
) |
Definition at line 398 of file SiPixelDigitizerAlgorithm.cc.
References relativeConstraints::empty, Exception, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), mps_fire::i, SiPixelDigitizerAlgorithm::NumberOfBarrelLayers, SiPixelDigitizerAlgorithm::NumberOfEndcapDisks, and findQualityFiles::size.
void SiPixelDigitizerAlgorithm::PixelEfficiencies::init_from_db | ( | const edm::ESHandle< TrackerGeometry > & | geom, |
const edm::ESHandle< SiPixelDynamicInefficiency > & | SiPixelDynamicInefficiency | ||
) |
Definition at line 530 of file SiPixelDigitizerAlgorithm.cc.
References PixelTopology::colsperroc(), TrackerGeometry::detUnits(), Exception, SiPixelDynamicInefficiency::getChipGeomFactors(), SiPixelDynamicInefficiency::getColGeomFactors(), SiPixelDynamicInefficiency::getDetIdmasks(), SiPixelDynamicInefficiency::getPixelGeomFactors(), SiPixelDynamicInefficiency::getPUFactors(), SiPixelDynamicInefficiency::gettheInstLumiScaleFactor(), mps_fire::i, TrackerGeometry::idToDet(), TrackerGeometry::isThere(), patRefSel_triggerMatching_cfi::matches, SiStripPI::max, min(), GeomDetEnumerators::P1PXB, GeomDetEnumerators::P1PXEC, PixelSubdetector::PixelBarrel, DetId::rawId(), PixelTopology::rowsperroc(), edm::shift, PixelGeomDetUnit::specificTopology(), DetId::subdetId(), and ecaldqm::topology().
Referenced by SiPixelDigitizerAlgorithm::init_DynIneffDB().
bool SiPixelDigitizerAlgorithm::PixelEfficiencies::matches | ( | const DetId & | detid, |
const DetId & | db_id, | ||
const std::vector< uint32_t > & | DetIdmasks | ||
) |
Definition at line 620 of file SiPixelDigitizerAlgorithm.cc.
References DetId::det(), mps_fire::i, DetId::rawId(), and DetId::subdetId().
std::map<uint32_t, double> SiPixelDigitizerAlgorithm::PixelEfficiencies::ChipGeomFactors |
Definition at line 264 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::pixel_inefficiency().
std::map<uint32_t, double> SiPixelDigitizerAlgorithm::PixelEfficiencies::ColGeomFactors |
Definition at line 263 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::pixel_inefficiency().
unsigned int SiPixelDigitizerAlgorithm::PixelEfficiencies::FPixIndex |
Definition at line 257 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::pixel_inefficiency().
bool SiPixelDigitizerAlgorithm::PixelEfficiencies::FromConfig |
Definition at line 243 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::init_DynIneffDB(), and SiPixelDigitizerAlgorithm::pixel_inefficiency().
std::map<uint32_t, size_t > SiPixelDigitizerAlgorithm::PixelEfficiencies::iPU |
Definition at line 265 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::pixel_inefficiency().
std::map<uint32_t, double> SiPixelDigitizerAlgorithm::PixelEfficiencies::PixelGeomFactors |
Definition at line 260 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::pixel_inefficiency().
std::map<uint32_t, std::vector<double> > SiPixelDigitizerAlgorithm::PixelEfficiencies::PixelGeomFactorsROCBigPixels |
Definition at line 262 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::pixel_inefficiency().
std::map<uint32_t, std::vector<double> > SiPixelDigitizerAlgorithm::PixelEfficiencies::PixelGeomFactorsROCStdPixels |
Definition at line 261 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::pixel_inefficiency().
std::vector<double> SiPixelDigitizerAlgorithm::PixelEfficiencies::pu_scale |
Definition at line 246 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::calculateInstlumiFactor(), and SiPixelDigitizerAlgorithm::pixel_inefficiency().
|
static |
Definition at line 269 of file SiPixelDigitizerAlgorithm.h.
double SiPixelDigitizerAlgorithm::PixelEfficiencies::theInnerEfficiency_FPix[20] |
Definition at line 255 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::pixel_inefficiency().
double SiPixelDigitizerAlgorithm::PixelEfficiencies::theInstLumiScaleFactor |
Definition at line 245 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::calculateInstlumiFactor().
std::vector<double> SiPixelDigitizerAlgorithm::PixelEfficiencies::theLadderEfficiency_BPix[20] |
Definition at line 253 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::pixel_inefficiency().
std::vector<double> SiPixelDigitizerAlgorithm::PixelEfficiencies::theModuleEfficiency_BPix[20] |
Definition at line 254 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::pixel_inefficiency().
double SiPixelDigitizerAlgorithm::PixelEfficiencies::theOuterEfficiency_FPix[20] |
Definition at line 256 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::pixel_inefficiency().
double SiPixelDigitizerAlgorithm::PixelEfficiencies::thePixelChipEfficiency[20] |
Definition at line 252 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::pixel_inefficiency().
double SiPixelDigitizerAlgorithm::PixelEfficiencies::thePixelColEfficiency[20] |
Definition at line 251 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::pixel_inefficiency().
double SiPixelDigitizerAlgorithm::PixelEfficiencies::thePixelEfficiency[20] |
Definition at line 250 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::pixel_inefficiency().
std::vector<std::vector<double> > SiPixelDigitizerAlgorithm::PixelEfficiencies::thePUEfficiency |
Definition at line 247 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::calculateInstlumiFactor().