99 : m_tjTag(iConfig.getParameter<edm::InputTag>(
"tjTkAssociationMapTag"))
100 , m_aliParamStoreCfg(iConfig.getParameter<edm::
ParameterSet>(
"ParameterStore"))
101 , m_alignableTracker(
NULL)
102 , m_alignableMuon(
NULL)
103 , m_alignmentParameterStore(
NULL)
105 std::vector<std::string> monitors = iConfig.
getUntrackedParameter<std::vector<std::string> >(
"monitors" );
107 for (std::vector<std::string>::const_iterator miter = monitors.begin(); miter != monitors.end(); ++miter) {
110 if (!newMonitor)
throw cms::Exception(
"BadConfig") <<
"Couldn't find monitor named " << *miter;
142 boost::shared_ptr<TrackerGeometry> theTracker(trackerBuilder.
build(&(*theGeometricDet)));
148 boost::shared_ptr<DTGeometry> theMuonDT(
new DTGeometry);
149 DTGeometryBuilder.
build(theMuonDT, &(*cpv), *mdc);
150 boost::shared_ptr<CSCGeometry> theMuonCSC(
new CSCGeometry);
151 CSCGeometryBuilder.
build(theMuonCSC, &(*cpv), *mdc);
178 std::vector<Alignable*> empty_alignables;
184 for (std::vector<AlignmentMonitorBase*>::const_iterator monitor =
m_monitors.begin(); monitor !=
m_monitors.end(); ++monitor) {
187 for (std::vector<AlignmentMonitorBase*>::const_iterator monitor =
m_monitors.begin(); monitor !=
m_monitors.end(); ++monitor) {
188 (*monitor)->startingNewLoop();
205 for (std::vector<AlignmentMonitorBase*>::const_iterator monitor =
m_monitors.begin(); monitor !=
m_monitors.end(); ++monitor) {
206 (*monitor)->duringLoop(iEvent, iSetup, trajTracks);
225 for (std::vector<AlignmentMonitorBase*>::const_iterator monitor =
m_monitors.begin(); monitor !=
m_monitors.end(); ++monitor) {
228 for (std::vector<AlignmentMonitorBase*>::const_iterator monitor =
m_monitors.begin(); monitor !=
m_monitors.end(); ++monitor) {
229 (*monitor)->endOfJob();
T getUntrackedParameter(std::string const &, T const &) const
AlignmentMonitorAsAnalyzer(const edm::ParameterSet &)
std::vector< ConstTrajTrackPair > ConstTrajTrackPairCollection
~AlignmentMonitorAsAnalyzer()
Class to update a given geometry with a set of alignments.
virtual void analyze(const edm::Event &, const edm::EventSetup &)
#define DEFINE_FWK_MODULE(type)
edm::ParameterSet m_aliParamStoreCfg
void build(boost::shared_ptr< CSCGeometry > geom, const DDCompactView *fv, const MuonDDDConstants &muonConstants)
Build the geometry.
tuple AlignmentParameterStore
std::vector< AlignmentMonitorBase * > m_monitors
void applyAlignments(C *geometry, const Alignments *alignments, const AlignmentErrors *alignmentErrors, const AlignTransform &globalCoordinates)
const edm::EventSetup * m_lastSetup
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
AlignmentParameterStore * m_alignmentParameterStore
void build(boost::shared_ptr< DTGeometry > theGeometry, const DDCompactView *cview, const MuonDDDConstants &muonConstants)
TrackerGeometry * build(const GeometricDet *gd)
AlignableTracker * m_alignableTracker
const AlignTransform & DetectorGlobalPosition(const Alignments &allGlobals, const DetId &id)
AlignableMuon * m_alignableMuon
Constructor of the full muon geometry.
std::pair< const Trajectory *, const reco::Track * > ConstTrajTrackPair
T get(const Candidate &c)