16 edm::LogInfo(
"Alignment") <<
"@SUB=AlignmentProducer::AlignmentProducer";
33 edm::LogInfo(
"Alignment") <<
"@SUB=AlignmentProducer::produceTracker";
39 edm::LogInfo(
"Alignment") <<
"@SUB=AlignmentProducer::beginOfJob";
45 edm::LogInfo(
"Alignment") <<
"@SUB=AlignmentProducer::endOfJob";
48 edm::LogError(
"Alignment") <<
"@SUB=AlignmentProducer::endOfJob"
49 <<
"Did not process any events in last loop, do not dare to store to DB.";
55 edm::LogInfo(
"Alignment") <<
"@SUB=AlignmentProducer::startingNewLoop"
56 <<
"Starting loop number " << iLoop;
68 edm::LogError(
"Alignment") <<
"@SUB=AlignmentProducer::endOfLoop"
69 <<
"Did not process any events in loop " << iLoop
70 <<
", stop processing without terminating algorithm.";
74 edm::LogInfo(
"Alignment") <<
"@SUB=AlignmentProducer::endOfLoop"
75 <<
"Ending loop " << iLoop <<
", terminating algorithm.";
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
void endOfJob() override
Called at end of job.
T getUntrackedParameter(std::string const &, T const &) const
void terminateProcessing(const edm::EventSetup *=nullptr)
Terminate processing of events.
const edm::InputTag tjTkAssociationMapTag_
Map with tracks/trajectories.
edm::EDGetTokenT< reco::BeamSpot > bsToken_
bool processEvent(const edm::Event &, const edm::EventSetup &)
Process event.
void initAlignmentAlgorithm(const edm::EventSetup &, bool update=false)
const unsigned int maxLoops_
#define DEFINE_FWK_LOOPER(type)
void beginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) override
Called at lumi block start, calling algorithm's beginLuminosityBlock.
Log< level::Error, false > LogError
void startingNewLoop(unsigned int iLoop) override
Called at beginning of loop.
std::shared_ptr< TrackerGeometry > trackerGeometry_
AlignmentProducer(const edm::ParameterSet &)
Constructor.
const edm::InputTag beamSpotTag_
BeamSpot.
void endRunImpl(const edm::Run &, const edm::EventSetup &)
end run
void endLuminosityBlockImpl(const edm::LuminosityBlock &, const edm::EventSetup &)
end lumi block
Status endOfLoop(const edm::EventSetup &, unsigned int iLoop) override
Called at end of loop.
edm::EDGetTokenT< TkFittedLasBeamCollection > tkFittedLasBeamCollectionToken_
void endLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) override
Called at lumi block end, calling algorithm's endLuminosityBlock.
void startProcessing()
Start processing of events.
Log< level::Info, false > LogInfo
virtual void beginOfJob()
edm::EDGetTokenT< TsosVectorCollection > tsosVectorCollectionToken_
tuple config
parse the configuration file
void beginLuminosityBlockImpl(const edm::LuminosityBlock &, const edm::EventSetup &)
begin lumi block
const edm::InputTag tkLasBeamTag_
LAS beams in edm::Run (ignore if empty)
edm::EDGetTokenT< AliClusterValueMap > aliClusterValueMapToken_
virtual std::shared_ptr< TrackerGeometry > produceTracker(const TrackerDigiGeometryRecord &)
Produce the tracker geometry.
void beginRunImpl(const edm::Run &, const edm::EventSetup &)
begin run
const edm::InputTag clusterValueMapTag_
ValueMap containing associtaion cluster-flag.
Status duringLoop(const edm::Event &, const edm::EventSetup &) override
Called at each event.
void endRun(const edm::Run &, const edm::EventSetup &) override
Called at run end - currently reading TkFittedLasBeam if an InpuTag is given for that.
edm::EDGetTokenT< TrajTrackAssociationCollection > trajTrackAssociationCollectionToken_
Number of loops to loop.
void beginRun(const edm::Run &, const edm::EventSetup &) override
Called at run start and calling algorithms beginRun.