Public Member Functions | |
ApeSettingAlgorithm (const edm::ParameterSet &cfg) | |
Constructor. More... | |
void | initialize (const edm::EventSetup &setup, AlignableTracker *tracker, AlignableMuon *muon, AlignableExtras *extras, AlignmentParameterStore *store) override |
Call at beginning of job. More... | |
void | run (const edm::EventSetup &setup, const EventInfo &eventInfo) override |
Run the algorithm. More... | |
void | terminate (const edm::EventSetup &iSetup) override |
Call at end of job. More... | |
~ApeSettingAlgorithm () override | |
Destructor. More... | |
Public Member Functions inherited from AlignmentAlgorithmBase | |
virtual bool | addCalibrations (const Calibrations &) |
AlignmentAlgorithmBase (const edm::ParameterSet &) | |
Constructor. More... | |
virtual void | beginLuminosityBlock (const edm::EventSetup &setup) |
called at begin of luminosity block (no lumi block info passed yet) More... | |
virtual void | beginRun (const edm::Run &, const edm::EventSetup &, bool changed) |
called at begin of run More... | |
virtual void | endLuminosityBlock (const edm::EventSetup &setup) |
called at end of luminosity block (no lumi block info passed yet) More... | |
virtual void | endRun (const EndRunInfo &runInfo, const edm::EventSetup &setup) |
called at end of run - order of arguments like in EDProducer etc. More... | |
virtual bool | processesEvents () |
Returns whether algorithm proccesses events in current configuration. More... | |
virtual bool | setParametersForRunRange (const RunRange &rr) |
virtual void | startNewLoop () |
virtual bool | storeAlignments () |
Returns whether algorithm produced results to be stored. More... | |
virtual bool | supportsCalibrations () |
virtual void | terminate () |
Called at end of job (must be implemented in derived class) More... | |
virtual | ~AlignmentAlgorithmBase () |
Destructor. More... | |
Private Attributes | |
bool | readApeFromAscii_ |
bool | readFullLocalMatrix_ |
bool | readLocalNotGlobal_ |
bool | saveApeToAscii_ |
bool | saveComposites_ |
bool | saveLocalNotGlobal_ |
bool | setComposites_ |
AlignableNavigator * | theAlignableNavigator |
edm::ParameterSet | theConfig |
AlignableTracker * | theTracker |
Additional Inherited Members | |
Public Types inherited from AlignmentAlgorithmBase | |
typedef std::pair< const Trajectory *, const reco::Track * > | ConstTrajTrackPair |
typedef std::vector< ConstTrajTrackPair > | ConstTrajTrackPairCollection |
using | RunNumber = align::RunNumber |
using | RunRange = align::RunRange |
Definition at line 60 of file ApeSettingAlgorithm.cc.
ApeSettingAlgorithm::ApeSettingAlgorithm | ( | const edm::ParameterSet & | cfg | ) |
Constructor.
Definition at line 97 of file ApeSettingAlgorithm.cc.
References edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), readApeFromAscii_, readFullLocalMatrix_, readLocalNotGlobal_, saveApeToAscii_, saveComposites_, saveLocalNotGlobal_, setComposites_, and theConfig.
|
override |
Destructor.
Definition at line 114 of file ApeSettingAlgorithm.cc.
References theAlignableNavigator.
|
overridevirtual |
Call at beginning of job.
Implements AlignmentAlgorithmBase.
Definition at line 121 of file ApeSettingAlgorithm.cc.
References AlignableNavigator::alignableFromDetId(), edm::FileInPath::fullPath(), edm::ParameterSet::getParameter(), triggerObjects_cff::id, SequenceTypes::ignore(), readApeFromAscii_, readFullLocalMatrix_, readLocalNotGlobal_, setComposites_, theAlignableNavigator, theConfig, theTracker, mixOne_simraw_on_sim_cfi::tracker, TkRotation< T >::xx(), TkRotation< T >::xy(), TkRotation< T >::xz(), TkRotation< T >::yx(), TkRotation< T >::yy(), TkRotation< T >::yz(), TkRotation< T >::zx(), TkRotation< T >::zy(), and TkRotation< T >::zz().
|
overridevirtual |
Run the algorithm.
Implements AlignmentAlgorithmBase.
Definition at line 231 of file ApeSettingAlgorithm.cc.
References DEFINE_EDM_PLUGIN.
Referenced by DTWorkflow.DTWorkflow::all(), Types.EventID::cppID(), Types.LuminosityBlockID::cppID(), and o2olib.O2OTool::execute().
|
overridevirtual |
Call at end of job.
Implements AlignmentAlgorithmBase.
Definition at line 194 of file ApeSettingAlgorithm.cc.
References AlignableNavigator::alignableFromDetId(), AlignableTracker::alignmentErrors(), edm::ParameterSet::getUntrackedParameter(), mps_fire::i, triggerObjects_cff::id, gen::k, AlignmentErrorsExtended::m_alignError, saveApeToAscii_, saveComposites_, saveLocalNotGlobal_, AlCaHLTBitMon_QueryRunRegistry::string, theAlignableNavigator, theConfig, theTracker, TkRotation< T >::xx(), TkRotation< T >::xy(), TkRotation< T >::xz(), TkRotation< T >::yx(), TkRotation< T >::yy(), TkRotation< T >::yz(), TkRotation< T >::zx(), TkRotation< T >::zy(), and TkRotation< T >::zz().
|
private |
Definition at line 84 of file ApeSettingAlgorithm.cc.
Referenced by ApeSettingAlgorithm(), and initialize().
|
private |
Definition at line 84 of file ApeSettingAlgorithm.cc.
Referenced by ApeSettingAlgorithm(), and initialize().
|
private |
Definition at line 85 of file ApeSettingAlgorithm.cc.
Referenced by ApeSettingAlgorithm(), and initialize().
|
private |
Definition at line 84 of file ApeSettingAlgorithm.cc.
Referenced by ApeSettingAlgorithm(), and terminate().
|
private |
Definition at line 86 of file ApeSettingAlgorithm.cc.
Referenced by ApeSettingAlgorithm(), and terminate().
|
private |
Definition at line 85 of file ApeSettingAlgorithm.cc.
Referenced by ApeSettingAlgorithm(), and terminate().
|
private |
Definition at line 86 of file ApeSettingAlgorithm.cc.
Referenced by ApeSettingAlgorithm(), and initialize().
|
private |
Definition at line 82 of file ApeSettingAlgorithm.cc.
Referenced by initialize(), terminate(), and ~ApeSettingAlgorithm().
|
private |
Definition at line 81 of file ApeSettingAlgorithm.cc.
Referenced by ApeSettingAlgorithm(), initialize(), and terminate().
|
private |
Definition at line 83 of file ApeSettingAlgorithm.cc.
Referenced by initialize(), and terminate().