#include <AlignmentProducer.h>
Public Member Functions | |
AlignmentProducer (const edm::ParameterSet &) | |
Constructor. More... | |
void | beginLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) override |
Called at lumi block start, calling algorithm's beginLuminosityBlock. More... | |
void | beginOfJob (const edm::EventSetup &) override |
Called at beginning of job. More... | |
void | beginRun (const edm::Run &, const edm::EventSetup &) override |
Called at run start and calling algorithms beginRun. More... | |
Status | duringLoop (const edm::Event &, const edm::EventSetup &) override |
Called at each event. More... | |
void | endLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) override |
Called at lumi block end, calling algorithm's endLuminosityBlock. More... | |
void | endOfJob () override |
Called at end of job. More... | |
Status | endOfLoop (const edm::EventSetup &, unsigned int iLoop) override |
Called at end of loop. More... | |
void | endRun (const edm::Run &, const edm::EventSetup &) override |
Called at run end - currently reading TkFittedLasBeam if an InpuTag is given for that. More... | |
virtual std::shared_ptr< CSCGeometry > | produceCSC (const MuonGeometryRecord &) |
Produce the muon CSC geometry. More... | |
virtual std::shared_ptr< DTGeometry > | produceDT (const MuonGeometryRecord &) |
Produce the muon DT geometry. More... | |
virtual std::shared_ptr< TrackerGeometry > | produceTracker (const TrackerDigiGeometryRecord &) |
Produce the tracker geometry. More... | |
void | startingNewLoop (unsigned int iLoop) override |
Called at beginning of loop. More... | |
~AlignmentProducer () override=default | |
Destructor. More... | |
Public Member Functions inherited from edm::ESProducerLooper | |
ESProducerLooper () | |
std::set< eventsetup::EventSetupRecordKey > | modifyingRecords () const override |
Public Member Functions inherited from edm::ESProducer | |
ESProducer () | |
~ESProducer ()(false) override | |
Public Member Functions inherited from edm::ESProxyFactoryProducer | |
ESProxyFactoryProducer () | |
void | newInterval (const eventsetup::EventSetupRecordKey &iRecordType, const ValidityInterval &iInterval) override |
overrides DataProxyProvider method More... | |
~ESProxyFactoryProducer () noexcept(false) override | |
Public Member Functions inherited from edm::eventsetup::DataProxyProvider | |
DataProxyProvider () | |
const ComponentDescription & | description () const |
bool | isUsingRecord (const EventSetupRecordKey &) const |
const KeyedProxies & | keyedProxies (const EventSetupRecordKey &iRecordKey) const |
void | resetProxies (const EventSetupRecordKey &iRecordType) |
void | resetProxiesIfTransient (const EventSetupRecordKey &iRecordType) |
void | setAppendToDataLabel (const edm::ParameterSet &) |
void | setDescription (const ComponentDescription &iDescription) |
std::set< EventSetupRecordKey > | usingRecords () const |
virtual | ~DataProxyProvider () noexcept(false) |
Public Member Functions inherited from edm::EventSetupRecordIntervalFinder | |
const eventsetup::ComponentDescription & | descriptionForFinder () const |
EventSetupRecordIntervalFinder () | |
std::set< eventsetup::EventSetupRecordKey > | findingForRecords () const |
const ValidityInterval & | findIntervalFor (const eventsetup::EventSetupRecordKey &, const IOVSyncValue &) |
void | setDescriptionForFinder (const eventsetup::ComponentDescription &iDescription) |
virtual | ~EventSetupRecordIntervalFinder () noexcept(false) |
Public Member Functions inherited from edm::EDLooper | |
EDLooper () | |
EDLooper (EDLooper const &)=delete | |
EDLooper & | operator= (EDLooper const &)=delete |
~EDLooper () override | |
Public Member Functions inherited from edm::EDLooperBase | |
virtual void | attachTo (ActivityRegistry &) |
Override this method if you need to monitor the state of the processing. More... | |
virtual void | beginOfJob (EventSetup const &) |
virtual void | beginOfJob () |
void | copyInfo (ScheduleInfo const &) |
void | doBeginLuminosityBlock (LuminosityBlockPrincipal &, EventSetup const &, ProcessContext *) |
void | doBeginRun (RunPrincipal &, EventSetup const &, ProcessContext *) |
Status | doDuringLoop (EventPrincipal &eventPrincipal, EventSetup const &es, ProcessingController &, StreamContext *) |
void | doEndLuminosityBlock (LuminosityBlockPrincipal &, EventSetup const &, ProcessContext *) |
Status | doEndOfLoop (EventSetup const &es) |
void | doEndRun (RunPrincipal &, EventSetup const &, ProcessContext *) |
void | doStartingNewLoop () |
EDLooperBase () | |
EDLooperBase (EDLooperBase const &)=delete | |
EDLooperBase & | operator= (EDLooperBase const &)=delete |
void | prepareForNextLoop (eventsetup::EventSetupProvider *esp) |
void | setActionTable (ExceptionToActionTable const *actionTable) |
void | setModuleChanger (ModuleChanger *) |
virtual | ~EDLooperBase () noexcept(false) |
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 | |
const unsigned int | maxLoops_ |
Additional Inherited Members | |
Public Types inherited from edm::eventsetup::DataProxyProvider | |
typedef std::vector< std::pair< DataKey, edm::propagate_const< std::shared_ptr< DataProxy > > > > | KeyedProxies |
typedef std::vector< EventSetupRecordKey > | Keys |
typedef std::map< EventSetupRecordKey, KeyedProxies > | RecordProxies |
Public Types inherited from edm::EDLooperBase | |
enum | Status { kContinue, kStop } |
Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider | |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from AlignmentProducerBase | |
AlignmentProducerBase (const edm::ParameterSet &) | |
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 *=0) |
Terminate processing of events. More... | |
virtual | ~AlignmentProducerBase ()(false) |
Protected Member Functions inherited from edm::ESProducerLooper | |
void | registerFactoryWithKey (const eventsetup::EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ProxyFactoryBase > 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 | |
template<typename T > | |
void | setWhatProduced (T *iThis, const es::Label &iLabel=es::Label()) |
template<typename T > | |
void | setWhatProduced (T *iThis, const char *iLabel) |
template<typename T > | |
void | setWhatProduced (T *iThis, const std::string &iLabel) |
template<typename T , typename TDecorator > | |
void | setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel=es::Label()) |
template<typename T , typename TReturn , typename TRecord > | |
void | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const es::Label &iLabel=es::Label()) |
template<typename T , typename TReturn , typename TRecord , typename TArg > | |
void | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel=es::Label()) |
Protected Member Functions inherited from edm::ESProxyFactoryProducer | |
template<class TFactory > | |
void | registerFactory (std::unique_ptr< TFactory > iFactory, const std::string &iLabel=std::string()) |
void | registerProxies (const eventsetup::EventSetupRecordKey &iRecord, KeyedProxies &aProxyList) override |
override DataProxyProvider method More... | |
Protected Member Functions inherited from edm::eventsetup::DataProxyProvider | |
void | eraseAll (const EventSetupRecordKey &iRecordKey) |
deletes all the Proxies in aStream More... | |
void | invalidateProxies (const EventSetupRecordKey &iRecordKey) |
template<class T > | |
void | usingRecord () |
void | usingRecordWithKey (const EventSetupRecordKey &) |
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 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_ |
std::shared_ptr< CSCGeometry > | muonCSCGeometry_ |
std::shared_ptr< DTGeometry > | muonDTGeometry_ |
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 17 of file AlignmentProducer.h.
AlignmentProducer::AlignmentProducer | ( | const edm::ParameterSet & | config | ) |
Constructor.
Definition at line 15 of file AlignmentProducer.cc.
References AlignmentProducerBase::doMuon_, AlignmentProducerBase::doTracker_, maxLoops_, produceCSC(), produceDT(), produceTracker(), and edm::ESProducer::setWhatProduced().
|
overridedefault |
Destructor.
|
override |
Called at lumi block start, calling algorithm's beginLuminosityBlock.
Definition at line 142 of file AlignmentProducer.cc.
References AlignmentProducerBase::beginLuminosityBlockImpl().
|
override |
Called at beginning of job.
Definition at line 60 of file AlignmentProducer.cc.
References AlignmentProducerBase::initAlignmentAlgorithm().
|
override |
Called at run start and calling algorithms beginRun.
Definition at line 128 of file AlignmentProducer.cc.
References AlignmentProducerBase::beginRunImpl().
|
overridevirtual |
Called at each event.
Implements edm::EDLooper.
Definition at line 119 of file AlignmentProducer.cc.
References edm::EDLooperBase::kContinue, edm::EDLooperBase::kStop, and AlignmentProducerBase::processEvent().
|
override |
Called at lumi block end, calling algorithm's endLuminosityBlock.
Definition at line 150 of file AlignmentProducer.cc.
References DEFINE_FWK_LOOPER, and AlignmentProducerBase::endLuminosityBlockImpl().
|
overridevirtual |
Called at end of job.
Reimplemented from edm::EDLooperBase.
Definition at line 68 of file AlignmentProducer.cc.
References AlignmentProducerBase::finish().
|
override |
Called at end of loop.
Definition at line 91 of file AlignmentProducer.cc.
References edm::EDLooperBase::kContinue, edm::EDLooperBase::kStop, maxLoops_, AlignmentProducerBase::nEvent(), and AlignmentProducerBase::terminateProcessing().
|
override |
Called at run end - currently reading TkFittedLasBeam if an InpuTag is given for that.
Definition at line 135 of file AlignmentProducer.cc.
References AlignmentProducerBase::endRunImpl().
|
inlineoverrideprivatevirtual |
Implements AlignmentProducerBase.
Definition at line 121 of file AlignmentProducer.h.
References AlignmentProducerBase::clusterValueMapTag_.
|
inlineoverrideprivatevirtual |
Implements AlignmentProducerBase.
Definition at line 94 of file AlignmentProducer.h.
References AlignmentProducerBase::beamSpotTag_.
|
inlineoverrideprivatevirtual |
Implements AlignmentProducerBase.
Definition at line 103 of file AlignmentProducer.h.
References edm::Run::getByLabel(), and AlignmentProducerBase::tkLasBeamTag_.
|
inlineoverrideprivatevirtual |
Implements AlignmentProducerBase.
Definition at line 85 of file AlignmentProducer.h.
References AlignmentProducerBase::tjTkAssociationMapTag_.
|
inlineoverrideprivatevirtual |
Implements AlignmentProducerBase.
Definition at line 112 of file AlignmentProducer.h.
References edm::Run::getByLabel(), and AlignmentProducerBase::tkLasBeamTag_.
|
virtual |
Produce the muon CSC geometry.
Definition at line 52 of file AlignmentProducer.cc.
References AlignmentProducerBase::muonCSCGeometry_.
Referenced by AlignmentProducer().
|
virtual |
Produce the muon DT geometry.
Definition at line 43 of file AlignmentProducer.cc.
References AlignmentProducerBase::muonDTGeometry_.
Referenced by AlignmentProducer().
|
virtual |
Produce the tracker geometry.
Definition at line 34 of file AlignmentProducer.cc.
References AlignmentProducerBase::trackerGeometry_.
Referenced by AlignmentProducer().
|
overridevirtual |
Called at beginning of loop.
Implements edm::EDLooperBase.
Definition at line 81 of file AlignmentProducer.cc.
References AlignmentProducerBase::startProcessing().
|
private |
Definition at line 77 of file AlignmentProducer.h.
Referenced by AlignmentProducer(), and endOfLoop().