1 #ifndef Alignment_CommonAlignmentAlgorithm_AlignmentAlgorithmBase_h
2 #define Alignment_CommonAlignmentAlgorithm_AlignmentAlgorithmBase_h
40 typedef std::pair<RunNumber,RunNumber>
RunRange;
virtual void beginLuminosityBlock(const edm::EventSetup &setup)
called at begin of luminosity block (no lumi block info passed yet)
virtual void beginRun(const edm::EventSetup &setup)
called at begin of run
virtual void terminate()=0
Call at end of job (must be implemented in derived class)
cond::RealTimeType< cond::runnumber >::type RunNumber
virtual void run(const edm::EventSetup &setup, const EventInfo &eventInfo)=0
Run the algorithm (must be implemented in derived class)
virtual void endLuminosityBlock(const edm::EventSetup &setup)
called at end of luminosity block (no lumi block info passed yet)
AlignmentAlgorithmBase(const edm::ParameterSet &cfg)
Constructor.
std::pair< RunNumber, RunNumber > RunRange
const ConstTrajTrackPairCollection & trajTrackPairs_
const TsosVectorCollection * tkLasBeamTsoses_
might be null!
virtual void endRun(const EndRunInfo &runInfo, const edm::EventSetup &setup)
called at end of run - order of arguments like in EDProducer etc.
virtual bool setParametersForRunRange(const RunRange &rr)
virtual ~AlignmentAlgorithmBase()
Destructor.
EndRunInfo(const edm::RunID &runId, const TkFittedLasBeamCollection *tkLasBeams, const TsosVectorCollection *tkLasBeamTsoses)
const edm::EventID & eventId_
virtual void initialize(const edm::EventSetup &setup, AlignableTracker *tracker, AlignableMuon *muon, AlignableExtras *extras, AlignmentParameterStore *store)=0
Call at beginning of job (must be implemented in derived class)
const AliClusterValueMap * clusterValueMap_
EventInfo(const edm::EventID &eventId, const ConstTrajTrackPairCollection &trajTrackPairs, const reco::BeamSpot &beamSpot, const AliClusterValueMap *clusterValueMap)
const reco::BeamSpot & beamSpot_
const TkFittedLasBeamCollection * tkLasBeams_
const edm::RunID & runId_
define run information passed to algorithms (in endRun)
std::vector< TkFittedLasBeam > TkFittedLasBeamCollection
std::pair< const Trajectory *, const reco::Track * > ConstTrajTrackPair
virtual void startNewLoop()
std::vector< std::vector< TrajectoryStateOnSurface > > TsosVectorCollection
Constructor of the full muon geometry.
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
std::vector< ConstTrajTrackPair > ConstTrajTrackPairCollection
define event information passed to algorithms