104 :
m_tjTag(iConfig.getParameter<
edm::InputTag>(
"tjTkAssociationMapTag"))
112 for (std::vector<std::string>::const_iterator miter = monitors.begin(); miter != monitors.end(); ++miter) {
115 if (!newMonitor)
throw cms::Exception(
"BadConfig") <<
"Couldn't find monitor named " << *miter;
154 boost::shared_ptr<TrackerGeometry> theTracker(trackerBuilder.
build(&(*theGeometricDet), *ptp, tTopo ));
160 auto theMuonDT = std::make_shared<DTGeometry>();
161 DTGeometryBuilder.
build(theMuonDT, &(*cpv), *mdc);
162 auto theMuonCSC = std::make_shared<CSCGeometry>();
163 CSCGeometryBuilder.
build(theMuonCSC, &(*cpv), *mdc);
196 for (std::vector<AlignmentMonitorBase*>::const_iterator monitor =
m_monitors.begin(); monitor !=
m_monitors.end(); ++monitor) {
199 for (std::vector<AlignmentMonitorBase*>::const_iterator monitor =
m_monitors.begin(); monitor !=
m_monitors.end(); ++monitor) {
200 (*monitor)->startingNewLoop();
217 for (std::vector<AlignmentMonitorBase*>::const_iterator monitor =
m_monitors.begin(); monitor !=
m_monitors.end(); ++monitor) {
218 (*monitor)->duringLoop(iEvent, iSetup, trajTracks);
235 for (std::vector<AlignmentMonitorBase*>::const_iterator monitor =
m_monitors.begin(); monitor !=
m_monitors.end(); ++monitor) {
236 (*monitor)->endOfLoop();
238 for (std::vector<AlignmentMonitorBase*>::const_iterator monitor =
m_monitors.begin(); monitor !=
m_monitors.end(); ++monitor) {
239 (*monitor)->endOfJob();
T getUntrackedParameter(std::string const &, T const &) const
AlignmentMonitorAsAnalyzer(const edm::ParameterSet &)
std::vector< ConstTrajTrackPair > ConstTrajTrackPairCollection
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
TrackerGeometry * build(const GeometricDet *gd, const PTrackerParameters &ptp, const TrackerTopology *tTopo)
~AlignmentMonitorAsAnalyzer() override
std::vector< AlignmentMonitorBase * > m_monitors
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
AlignmentParameterStore * m_alignmentParameterStore
void analyze(const edm::Event &, const edm::EventSetup &) override
void applyAlignments(C *geometry, const Alignments *alignments, const AlignmentErrorsExtended *alignmentErrors, const AlignTransform &globalCoordinates)
void build(std::shared_ptr< CSCGeometry > geom, const DDCompactView *fv, const MuonDDDConstants &muonConstants)
Build the geometry.
std::vector< Alignable * > Alignables
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)