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< PixelFEDChannelCollection > | PixelFEDChannelCollection_ |
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 245 of file SiPixelDigitizerAlgorithm.h.
SiPixelDigitizerAlgorithm::PixelEfficiencies::PixelEfficiencies | ( | const edm::ParameterSet & | conf, |
bool | AddPixelInefficiency, | ||
int | NumberOfBarrelLayers, | ||
int | NumberOfEndcapDisks | ||
) |
Definition at line 435 of file SiPixelDigitizerAlgorithm.cc.
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.
void SiPixelDigitizerAlgorithm::PixelEfficiencies::init_from_db | ( | const edm::ESHandle< TrackerGeometry > & | geom, |
const edm::ESHandle< SiPixelDynamicInefficiency > & | SiPixelDynamicInefficiency | ||
) |
Definition at line 597 of file SiPixelDigitizerAlgorithm.cc.
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().
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.
References DetId::det(), mps_fire::i, DetId::rawId(), and DetId::subdetId().
std::map<uint32_t, double> SiPixelDigitizerAlgorithm::PixelEfficiencies::ChipGeomFactors |
Definition at line 271 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::pixel_inefficiency().
std::map<uint32_t, double> SiPixelDigitizerAlgorithm::PixelEfficiencies::ColGeomFactors |
Definition at line 270 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::pixel_inefficiency().
unsigned int SiPixelDigitizerAlgorithm::PixelEfficiencies::FPixIndex |
Definition at line 264 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::pixel_inefficiency(), and PixelEfficiencies().
bool SiPixelDigitizerAlgorithm::PixelEfficiencies::FromConfig |
Definition at line 250 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::init_DynIneffDB(), SiPixelDigitizerAlgorithm::pixel_inefficiency(), and PixelEfficiencies().
std::map<uint32_t, size_t> SiPixelDigitizerAlgorithm::PixelEfficiencies::iPU |
Definition at line 272 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::pixel_inefficiency().
std::unique_ptr<PixelFEDChannelCollection> SiPixelDigitizerAlgorithm::PixelEfficiencies::PixelFEDChannelCollection_ |
Definition at line 279 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::chooseScenario(), and SiPixelDigitizerAlgorithm::pixel_inefficiency().
std::map<uint32_t, double> SiPixelDigitizerAlgorithm::PixelEfficiencies::PixelGeomFactors |
Definition at line 267 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::pixel_inefficiency().
std::map<uint32_t, std::vector<double> > SiPixelDigitizerAlgorithm::PixelEfficiencies::PixelGeomFactorsROCBigPixels |
Definition at line 269 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::pixel_inefficiency().
std::map<uint32_t, std::vector<double> > SiPixelDigitizerAlgorithm::PixelEfficiencies::PixelGeomFactorsROCStdPixels |
Definition at line 268 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::pixel_inefficiency().
std::vector<double> SiPixelDigitizerAlgorithm::PixelEfficiencies::pu_scale |
Definition at line 253 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::calculateInstlumiFactor(), SiPixelDigitizerAlgorithm::pixel_inefficiency(), and PixelEfficiencies().
|
static |
Definition at line 276 of file SiPixelDigitizerAlgorithm.h.
double SiPixelDigitizerAlgorithm::PixelEfficiencies::theInnerEfficiency_FPix[20] |
Definition at line 262 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::pixel_inefficiency(), and PixelEfficiencies().
double SiPixelDigitizerAlgorithm::PixelEfficiencies::theInstLumiScaleFactor |
Definition at line 252 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::calculateInstlumiFactor(), and PixelEfficiencies().
std::vector<double> SiPixelDigitizerAlgorithm::PixelEfficiencies::theLadderEfficiency_BPix[20] |
Definition at line 260 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::pixel_inefficiency(), and PixelEfficiencies().
std::vector<double> SiPixelDigitizerAlgorithm::PixelEfficiencies::theModuleEfficiency_BPix[20] |
Definition at line 261 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::pixel_inefficiency(), and PixelEfficiencies().
double SiPixelDigitizerAlgorithm::PixelEfficiencies::theOuterEfficiency_FPix[20] |
Definition at line 263 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::pixel_inefficiency(), and PixelEfficiencies().
double SiPixelDigitizerAlgorithm::PixelEfficiencies::thePixelChipEfficiency[20] |
Definition at line 259 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::pixel_inefficiency(), and PixelEfficiencies().
double SiPixelDigitizerAlgorithm::PixelEfficiencies::thePixelColEfficiency[20] |
Definition at line 258 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::pixel_inefficiency(), and PixelEfficiencies().
double SiPixelDigitizerAlgorithm::PixelEfficiencies::thePixelEfficiency[20] |
Definition at line 257 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::pixel_inefficiency(), and PixelEfficiencies().
std::vector<std::vector<double> > SiPixelDigitizerAlgorithm::PixelEfficiencies::thePUEfficiency |
Definition at line 254 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::calculateInstlumiFactor(), and PixelEfficiencies().