Public Types | |
enum | shiftEnumerator { FPixRocIdShift = 3, BPixRocIdShift = 6 } |
Public Member Functions | |
void | init_from_db (const TrackerGeometry *, const 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 210 of file SiPixelDigitizerAlgorithm.h.
Enumerator | |
---|---|
FPixRocIdShift | |
BPixRocIdShift |
Definition at line 240 of file SiPixelDigitizerAlgorithm.h.
SiPixelDigitizerAlgorithm::PixelEfficiencies::PixelEfficiencies | ( | const edm::ParameterSet & | conf, |
bool | AddPixelInefficiency, | ||
int | NumberOfBarrelLayers, | ||
int | NumberOfEndcapDisks | ||
) |
Definition at line 459 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 TrackerGeometry * | geom, |
const SiPixelDynamicInefficiency * | SiPixelDynamicInefficiency | ||
) |
Definition at line 620 of file SiPixelDigitizerAlgorithm.cc.
References PixelTopology::colsperroc(), Exception, relativeConstraints::geom, SiPixelDynamicInefficiency::getChipGeomFactors(), SiPixelDynamicInefficiency::getColGeomFactors(), SiPixelDynamicInefficiency::getDetIdmasks(), SiPixelDynamicInefficiency::getPixelGeomFactors(), SiPixelDynamicInefficiency::getPUFactors(), SiPixelDynamicInefficiency::gettheInstLumiScaleFactor(), mps_fire::i, LogDebug, oniaPATMuonsWithTrigger_cff::matches, SiStripPI::max, SiStripPI::min, dqmiodumpmetadata::n, GeomDetEnumerators::P1PXB, GeomDetEnumerators::P1PXEC, PixelSubdetector::PixelBarrel, DetId::rawId(), PixelTopology::rowsperroc(), edm::shift, PixelGeomDetUnit::specificTopology(), and DetId::subdetId().
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 743 of file SiPixelDigitizerAlgorithm.cc.
References DetId::det(), mps_fire::i, nano_mu_digi_cff::rawId, DetId::rawId(), and DetId::subdetId().
std::map<uint32_t, double> SiPixelDigitizerAlgorithm::PixelEfficiencies::ChipGeomFactors |
Definition at line 236 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::pixel_inefficiency().
std::map<uint32_t, double> SiPixelDigitizerAlgorithm::PixelEfficiencies::ColGeomFactors |
Definition at line 235 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::pixel_inefficiency().
unsigned int SiPixelDigitizerAlgorithm::PixelEfficiencies::FPixIndex |
Definition at line 229 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::pixel_inefficiency(), and PixelEfficiencies().
bool SiPixelDigitizerAlgorithm::PixelEfficiencies::FromConfig |
Definition at line 215 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::init_DynIneffDB(), SiPixelDigitizerAlgorithm::pixel_inefficiency(), PixelEfficiencies(), and SiPixelDigitizerAlgorithm::SiPixelDigitizerAlgorithm().
std::map<uint32_t, size_t> SiPixelDigitizerAlgorithm::PixelEfficiencies::iPU |
Definition at line 237 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::pixel_inefficiency().
std::unique_ptr<PixelFEDChannelCollection> SiPixelDigitizerAlgorithm::PixelEfficiencies::PixelFEDChannelCollection_ |
Definition at line 244 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::chooseScenario(), and SiPixelDigitizerAlgorithm::pixel_inefficiency().
std::map<uint32_t, double> SiPixelDigitizerAlgorithm::PixelEfficiencies::PixelGeomFactors |
Definition at line 232 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::pixel_inefficiency().
std::map<uint32_t, std::vector<double> > SiPixelDigitizerAlgorithm::PixelEfficiencies::PixelGeomFactorsROCBigPixels |
Definition at line 234 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::pixel_inefficiency().
std::map<uint32_t, std::vector<double> > SiPixelDigitizerAlgorithm::PixelEfficiencies::PixelGeomFactorsROCStdPixels |
Definition at line 233 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::pixel_inefficiency().
std::vector<double> SiPixelDigitizerAlgorithm::PixelEfficiencies::pu_scale |
Definition at line 218 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::calculateInstlumiFactor(), SiPixelDigitizerAlgorithm::pixel_inefficiency(), and PixelEfficiencies().
|
static |
Definition at line 241 of file SiPixelDigitizerAlgorithm.h.
double SiPixelDigitizerAlgorithm::PixelEfficiencies::theInnerEfficiency_FPix[20] |
Definition at line 227 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::pixel_inefficiency(), and PixelEfficiencies().
double SiPixelDigitizerAlgorithm::PixelEfficiencies::theInstLumiScaleFactor |
Definition at line 217 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::calculateInstlumiFactor(), and PixelEfficiencies().
std::vector<double> SiPixelDigitizerAlgorithm::PixelEfficiencies::theLadderEfficiency_BPix[20] |
Definition at line 225 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::pixel_inefficiency(), and PixelEfficiencies().
std::vector<double> SiPixelDigitizerAlgorithm::PixelEfficiencies::theModuleEfficiency_BPix[20] |
Definition at line 226 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::pixel_inefficiency(), and PixelEfficiencies().
double SiPixelDigitizerAlgorithm::PixelEfficiencies::theOuterEfficiency_FPix[20] |
Definition at line 228 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::pixel_inefficiency(), and PixelEfficiencies().
double SiPixelDigitizerAlgorithm::PixelEfficiencies::thePixelChipEfficiency[20] |
Definition at line 224 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::pixel_inefficiency(), and PixelEfficiencies().
double SiPixelDigitizerAlgorithm::PixelEfficiencies::thePixelColEfficiency[20] |
Definition at line 223 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::pixel_inefficiency(), and PixelEfficiencies().
double SiPixelDigitizerAlgorithm::PixelEfficiencies::thePixelEfficiency[20] |
Definition at line 222 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::pixel_inefficiency(), and PixelEfficiencies().
std::vector<std::vector<double> > SiPixelDigitizerAlgorithm::PixelEfficiencies::thePUEfficiency |
Definition at line 219 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::calculateInstlumiFactor(), and PixelEfficiencies().