77 virtual void endJob()
override;
105 :
m_tjTag(iConfig.getParameter<
edm::InputTag>(
"tjTkAssociationMapTag"))
113 for (std::vector<std::string>::const_iterator miter = monitors.begin(); miter != monitors.end(); ++miter) {
116 if (!newMonitor)
throw cms::Exception(
"BadConfig") <<
"Couldn't find monitor named " << *miter;
155 boost::shared_ptr<TrackerGeometry> theTracker(trackerBuilder.
build(&(*theGeometricDet), *ptp, tTopo ));
161 auto theMuonDT = std::make_shared<DTGeometry>();
162 DTGeometryBuilder.
build(theMuonDT, &(*cpv), *mdc);
163 auto theMuonCSC = std::make_shared<CSCGeometry>();
164 CSCGeometryBuilder.
build(theMuonCSC, &(*cpv), *mdc);
191 std::vector<Alignable*> empty_alignables;
197 for (std::vector<AlignmentMonitorBase*>::const_iterator monitor =
m_monitors.begin(); monitor !=
m_monitors.end(); ++monitor) {
200 for (std::vector<AlignmentMonitorBase*>::const_iterator monitor =
m_monitors.begin(); monitor !=
m_monitors.end(); ++monitor) {
201 (*monitor)->startingNewLoop();
218 for (std::vector<AlignmentMonitorBase*>::const_iterator monitor =
m_monitors.begin(); monitor !=
m_monitors.end(); ++monitor) {
219 (*monitor)->duringLoop(iEvent, iSetup, trajTracks);
238 for (std::vector<AlignmentMonitorBase*>::const_iterator monitor =
m_monitors.begin(); monitor !=
m_monitors.end(); ++monitor) {
241 for (std::vector<AlignmentMonitorBase*>::const_iterator monitor =
m_monitors.begin(); monitor !=
m_monitors.end(); ++monitor) {
242 (*monitor)->endOfJob();
T getUntrackedParameter(std::string const &, T const &) const
AlignmentMonitorAsAnalyzer(const edm::ParameterSet &)
std::vector< ConstTrajTrackPair > ConstTrajTrackPairCollection
~AlignmentMonitorAsAnalyzer()
friend struct const_iterator
const_iterator end() const
last iterator over the map (read only)
Class to update a given geometry with a set of alignments.
#define DEFINE_FWK_MODULE(type)
edm::ParameterSet m_aliParamStoreCfg
virtual void beginJob() override
TrackerGeometry * build(const GeometricDet *gd, const PTrackerParameters &ptp, const TrackerTopology *tTopo)
std::vector< AlignmentMonitorBase * > m_monitors
const edm::EventSetup * m_lastSetup
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
AlignmentParameterStore * m_alignmentParameterStore
virtual void analyze(const edm::Event &, const edm::EventSetup &) override
void applyAlignments(C *geometry, const Alignments *alignments, const AlignmentErrorsExtended *alignmentErrors, const AlignTransform &globalCoordinates)
virtual void endJob() override
void build(std::shared_ptr< CSCGeometry > geom, const DDCompactView *fv, const MuonDDDConstants &muonConstants)
Build the geometry.
void build(std::shared_ptr< DTGeometry > theGeometry, const DDCompactView *cview, const MuonDDDConstants &muonConstants)
AlignableTracker * m_alignableTracker
const AlignTransform & DetectorGlobalPosition(const Alignments &allGlobals, const DetId &id)
const_iterator begin() const
first iterator over the map (read only)
AlignableMuon * m_alignableMuon
Constructor of the full muon geometry.
T const * product() const
std::pair< const Trajectory *, const reco::Track * > ConstTrajTrackPair
T get(const Candidate &c)