#include <AlignmentProducer.h>
Private Member Functions | |
bool | getAliClusterValueMap (const edm::Event &, edm::Handle< AliClusterValueMap > &) override |
bool | getBeamSpot (const edm::Event &, edm::Handle< reco::BeamSpot > &) override |
bool | getTkFittedLasBeamCollection (const edm::Run &, edm::Handle< TkFittedLasBeamCollection > &) override |
bool | getTrajTrackAssociationCollection (const edm::Event &, edm::Handle< TrajTrackAssociationCollection > &) override |
bool | getTsosVectorCollection (const edm::Run &, edm::Handle< TsosVectorCollection > &) override |
Private Attributes | |
edm::EDGetTokenT< AliClusterValueMap > | aliClusterValueMapToken_ |
edm::EDGetTokenT< reco::BeamSpot > | bsToken_ |
const unsigned int | maxLoops_ |
edm::EDGetTokenT< TkFittedLasBeamCollection > | tkFittedLasBeamCollectionToken_ |
edm::EDGetTokenT< TrajTrackAssociationCollection > | trajTrackAssociationCollectionToken_ |
Number of loops to loop. More... | |
edm::EDGetTokenT< TsosVectorCollection > | tsosVectorCollectionToken_ |
Additional Inherited Members | |
Public Types inherited from edm::EDLooperBase | |
enum | Status { kContinue, kStop } |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::eventsetup::ESProductResolverProvider | |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Types inherited from edm::ESProductResolverFactoryProducer | |
using | EventSetupRecordKey = eventsetup::EventSetupRecordKey |
Protected Types inherited from edm::eventsetup::ESProductResolverProvider | |
using | KeyedResolversVector = std::vector< std::pair< DataKey, std::shared_ptr< ESProductResolver > >> |
Protected Member Functions inherited from edm::ESProducerLooper | |
void | registerFactoryWithKey (const eventsetup::EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ESProductResolverFactoryBase > iFactory, const std::string &iLabel=std::string()) override |
void | setIntervalFor (const eventsetup::EventSetupRecordKey &iKey, const IOVSyncValue &iTime, ValidityInterval &oInterval) override |
Protected Member Functions inherited from edm::ESProducer | |
ESConsumesInfo * | consumesInfoPushBackNew () |
unsigned int | consumesInfoSize () const |
template<typename CallbackT , typename TList , typename TRecord > | |
void | registerProducts (std::shared_ptr< std::pair< unsigned int, std::shared_ptr< CallbackT >>> iCallback, const TList *, const TRecord *iRecord, const es::Label &iLabel) |
template<typename CallbackT , typename TRecord > | |
void | registerProducts (std::shared_ptr< std::pair< unsigned int, std::shared_ptr< CallbackT >>>, const eventsetup::produce::Null *, const TRecord *, const es::Label &) |
template<typename T > | |
auto | setWhatProduced (T *iThis, const es::Label &iLabel={}) |
template<typename T > | |
auto | setWhatProduced (T *iThis, const char *iLabel) |
template<typename T > | |
auto | setWhatProduced (T *iThis, const std::string &iLabel) |
template<typename T , typename TDecorator > | |
auto | setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel={}) |
template<typename T , typename TReturn , typename TRecord > | |
auto | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const es::Label &iLabel={}) |
template<typename T , typename TReturn , typename TRecord , typename TDecorator > | |
auto | setWhatProduced (T *iThis, TReturn(T ::*iMethod)(const TRecord &), const TDecorator &iDec, const es::Label &iLabel={}) |
template<typename TFunc > | |
auto | setWhatProduced (TFunc &&func, const es::Label &iLabel={}) |
template<typename TReturn , typename TRecord , typename TFunc , typename TDecorator > | |
ESConsumesCollectorT< TRecord > | setWhatProduced (TFunc &&func, TDecorator &&iDec, const es::Label &iLabel={}) |
void | usesResources (std::vector< std::string > const &) |
Protected Member Functions inherited from edm::ESProductResolverFactoryProducer | |
template<class TFactory > | |
void | registerFactory (std::unique_ptr< TFactory > iFactory, const std::string &iLabel=std::string()) |
KeyedResolversVector | registerResolvers (const EventSetupRecordKey &, unsigned int iovIndex) override |
Protected Member Functions inherited from edm::eventsetup::ESProductResolverProvider | |
template<class T > | |
void | usingRecord () |
void | usingRecordWithKey (const EventSetupRecordKey &key) |
Protected Member Functions inherited from edm::EventSetupRecordIntervalFinder | |
template<class T > | |
void | findingRecord () |
void | findingRecordWithKey (const eventsetup::EventSetupRecordKey &) |
Protected Member Functions inherited from edm::EDLooperBase | |
ModuleChanger * | moduleChanger () |
This only returns a non-zero value during the call to endOfLoop. More... | |
ScheduleInfo const * | scheduleInfo () const |
This returns a non-zero value after the constructor has been called. More... | |
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 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 () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
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) |
Protected Member Functions inherited from AlignmentProducerBase | |
AlignmentProducerBase (const edm::ParameterSet &, edm::ConsumesCollector) | |
void | beginLuminosityBlockImpl (const edm::LuminosityBlock &, const edm::EventSetup &) |
begin lumi block More... | |
void | beginRunImpl (const edm::Run &, const edm::EventSetup &) |
begin run More... | |
void | endLuminosityBlockImpl (const edm::LuminosityBlock &, const edm::EventSetup &) |
end lumi block More... | |
void | endRunImpl (const edm::Run &, const edm::EventSetup &) |
end run More... | |
bool | finish () |
void | initAlignmentAlgorithm (const edm::EventSetup &, bool update=false) |
int | nEvent () const |
bool | processEvent (const edm::Event &, const edm::EventSetup &) |
Process event. More... | |
void | startProcessing () |
Start processing of events. More... | |
void | terminateProcessing (const edm::EventSetup *=nullptr) |
Terminate processing of events. More... | |
virtual | ~AlignmentProducerBase () noexcept(false) |
Protected Attributes inherited from AlignmentProducerBase | |
const edm::InputTag | beamSpotTag_ |
BeamSpot. More... | |
const edm::InputTag | clusterValueMapTag_ |
ValueMap containing associtaion cluster-flag. More... | |
const bool | doMuon_ |
const bool | doTracker_ |
edm::ESHandle< CSCGeometry > | muonCSCGeometry_ |
edm::ESHandle< DTGeometry > | muonDTGeometry_ |
edm::ESHandle< GEMGeometry > | muonGEMGeometry_ |
const edm::InputTag | tjTkAssociationMapTag_ |
Map with tracks/trajectories. More... | |
const edm::InputTag | tkLasBeamTag_ |
LAS beams in edm::Run (ignore if empty) More... | |
std::shared_ptr< TrackerGeometry > | trackerGeometry_ |
const bool | useExtras_ |
Package : Alignment/CommonAlignmentProducer Description : calls alignment algorithms
Definition at line 15 of file AlignmentProducer.h.
AlignmentProducer::AlignmentProducer | ( | const edm::ParameterSet & | config | ) |
Constructor.
Definition at line 13 of file AlignmentProducer.cc.
|
overridedefault |
Destructor.
|
overridevirtual |
Called at lumi block start, calling algorithm's beginLuminosityBlock.
Reimplemented from edm::EDLooperBase.
Definition at line 99 of file AlignmentProducer.cc.
References AlignmentProducerBase::beginLuminosityBlockImpl(), and singleTopDQM_cfi::setup.
|
overridevirtual |
Called at beginning of job.
Reimplemented from edm::EDLooperBase.
Definition at line 38 of file AlignmentProducer.cc.
References AlignmentProducerBase::initAlignmentAlgorithm().
|
overridevirtual |
Called at run start and calling algorithms beginRun.
Reimplemented from edm::EDLooperBase.
Definition at line 93 of file AlignmentProducer.cc.
References AlignmentProducerBase::beginRunImpl(), writedatasetfile::run, and singleTopDQM_cfi::setup.
|
overridevirtual |
Called at each event.
Implements edm::EDLooper.
Definition at line 85 of file AlignmentProducer.cc.
References edm::EDLooperBase::kContinue, edm::EDLooperBase::kStop, AlignmentProducerBase::processEvent(), and singleTopDQM_cfi::setup.
|
overridevirtual |
Called at lumi block end, calling algorithm's endLuminosityBlock.
Reimplemented from edm::EDLooperBase.
Definition at line 104 of file AlignmentProducer.cc.
References AlignmentProducerBase::endLuminosityBlockImpl(), and singleTopDQM_cfi::setup.
|
overridevirtual |
Called at end of job.
Reimplemented from edm::EDLooperBase.
Definition at line 44 of file AlignmentProducer.cc.
References AlignmentProducerBase::finish().
|
overridevirtual |
Called at end of loop.
Implements edm::EDLooperBase.
Definition at line 61 of file AlignmentProducer.cc.
References edm::EDLooperBase::kContinue, edm::EDLooperBase::kStop, maxLoops_, AlignmentProducerBase::nEvent(), and AlignmentProducerBase::terminateProcessing().
|
overridevirtual |
Called at run end - currently reading TkFittedLasBeam if an InpuTag is given for that.
Reimplemented from edm::EDLooperBase.
Definition at line 96 of file AlignmentProducer.cc.
References AlignmentProducerBase::endRunImpl(), writedatasetfile::run, and singleTopDQM_cfi::setup.
|
inlineoverrideprivatevirtual |
Implements AlignmentProducerBase.
Definition at line 92 of file AlignmentProducer.h.
References aliClusterValueMapToken_, and mps_fire::result.
|
inlineoverrideprivatevirtual |
Implements AlignmentProducerBase.
Definition at line 76 of file AlignmentProducer.h.
References bsToken_, and mps_fire::result.
|
inlineoverrideprivatevirtual |
Implements AlignmentProducerBase.
Definition at line 81 of file AlignmentProducer.h.
References mps_fire::result, writedatasetfile::run, and tkFittedLasBeamCollectionToken_.
|
inlineoverrideprivatevirtual |
Implements AlignmentProducerBase.
Definition at line 70 of file AlignmentProducer.h.
References mps_fire::result, and trajTrackAssociationCollectionToken_.
|
inlineoverrideprivatevirtual |
Implements AlignmentProducerBase.
Definition at line 87 of file AlignmentProducer.h.
References mps_fire::result, writedatasetfile::run, and tsosVectorCollectionToken_.
|
virtual |
Produce the tracker geometry.
Definition at line 32 of file AlignmentProducer.cc.
References AlignmentProducerBase::trackerGeometry_.
|
overridevirtual |
Called at beginning of loop.
Implements edm::EDLooperBase.
Definition at line 54 of file AlignmentProducer.cc.
References AlignmentProducerBase::startProcessing().
|
private |
Definition at line 66 of file AlignmentProducer.h.
Referenced by getAliClusterValueMap().
|
private |
Definition at line 63 of file AlignmentProducer.h.
Referenced by getBeamSpot().
|
private |
Definition at line 60 of file AlignmentProducer.h.
Referenced by endOfLoop().
|
private |
Definition at line 64 of file AlignmentProducer.h.
Referenced by getTkFittedLasBeamCollection().
|
private |
Number of loops to loop.
Definition at line 62 of file AlignmentProducer.h.
Referenced by getTrajTrackAssociationCollection().
|
private |
Definition at line 65 of file AlignmentProducer.h.
Referenced by getTsosVectorCollection().