Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &) |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
int | layerFromId (const DetId &id, const TrackerTopology *tTopo) const |
Private Attributes | |
edm::EDGetTokenT < AliClusterValueMap > | aliClusterToken_ |
unsigned int | detid_ |
TFile * | fpresc_ |
float | hitPrescFactor_ |
TRandom3 * | myrand_ |
float | overlapPrescFactor_ |
std::string | prescfilename_ |
std::string | presctreename_ |
int | totnhitspxl_ |
TTree * | tpresc_ |
edm::EDGetTokenT < reco::TrackCollection > | tracksToken_ |
Additional Inherited Members | |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::ProducerBase | |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
void | resetItemsToGetFrom (BranchType iType) |
Definition at line 38 of file AlignmentPrescaler.cc.
AlignmentPrescaler::AlignmentPrescaler | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 68 of file AlignmentPrescaler.cc.
|
overridedefault |
|
overridevirtual |
Reimplemented from edm::one::EDProducerBase.
Definition at line 80 of file AlignmentPrescaler.cc.
References detid_, fpresc_, hitPrescFactor_, myrand_, overlapPrescFactor_, prescfilename_, presctreename_, and tpresc_.
|
overridevirtual |
Reimplemented from edm::one::EDProducerBase.
Definition at line 104 of file AlignmentPrescaler.cc.
References fpresc_, myrand_, and tpresc_.
Referenced by o2olib.O2ORunMgr::executeJob().
|
static |
Definition at line 280 of file AlignmentPrescaler.cc.
References edm::ParameterSetDescription::add(), edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, HLT_FULL_cff::InputTag, edm::ParameterSetDescription::setComment(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 263 of file AlignmentPrescaler.cc.
References PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, TrackerTopology::pxbLayer(), TrackerTopology::pxfDisk(), TrackerTopology::pxfSide(), StripSubdetector::TEC, TrackerTopology::tecWheel(), StripSubdetector::TIB, TrackerTopology::tibLayer(), StripSubdetector::TID, TrackerTopology::tidSide(), TrackerTopology::tidWheel(), StripSubdetector::TOB, and TrackerTopology::tobLayer().
|
overridevirtual |
Implements edm::one::EDProducerBase.
Definition at line 111 of file AlignmentPrescaler.cc.
References aliClusterToken_, SiStripRecHit1D::cluster(), SiStripRecHit2D::cluster(), SiPixelRecHit::cluster(), gather_cfg::cout, edm::EventID::event(), edm::Event::get(), edm::Event::getByToken(), hitPrescFactor_, edm::EventBase::id(), LogDebug, eostools::move(), myrand_, overlapPrescFactor_, edm::Event::put(), findQualityFiles::rr, edm::EventID::run(), tpresc_, HLT_FULL_cff::Tracks, and tracksToken_.
|
private |
Definition at line 50 of file AlignmentPrescaler.cc.
Referenced by produce().
|
private |
Definition at line 61 of file AlignmentPrescaler.cc.
Referenced by beginJob().
|
private |
Definition at line 55 of file AlignmentPrescaler.cc.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 62 of file AlignmentPrescaler.cc.
Referenced by beginJob(), and produce().
|
private |
Definition at line 57 of file AlignmentPrescaler.cc.
Referenced by beginJob(), endJob(), and produce().
|
private |
Definition at line 62 of file AlignmentPrescaler.cc.
Referenced by beginJob(), and produce().
|
private |
Definition at line 52 of file AlignmentPrescaler.cc.
Referenced by beginJob().
|
private |
Definition at line 53 of file AlignmentPrescaler.cc.
Referenced by beginJob().
|
private |
Definition at line 63 of file AlignmentPrescaler.cc.
|
private |
Definition at line 56 of file AlignmentPrescaler.cc.
Referenced by beginJob(), endJob(), and produce().
|
private |
Definition at line 49 of file AlignmentPrescaler.cc.
Referenced by produce().