59 m_otherdir =
book1D(
"/otherdir/",
"hist",
"this is a histogram in another directory", 10, 0.5, 10.5);
60 m_otherdir2 =
book1D(
"/iterN/otherdir/",
"hist",
"here's one in another directory inside the iterN directories", 10, 0.5, 10.5);
66 for (std::vector<Alignable*>::const_iterator it = alignables.begin(); it != alignables.end(); ++it) {
68 snprintf(name,
sizeof(name),
"xresid%d", (*it)->geomDetId().rawId());
69 snprintf(title,
sizeof(title),
"x track-hit for DetId %d", (*it)->geomDetId().rawId());
89 for (ConstTrajTrackPairCollection::const_iterator it = tracks.begin(); it != tracks.end(); ++it) {
97 std::vector<TrajectoryMeasurement> measurements = traj->
measurements();
98 for (std::vector<TrajectoryMeasurement>::const_iterator im = measurements.begin(); im != measurements.end(); ++im) {
112 std::map<Alignable*, TH1F*>::const_iterator
search =
m_residuals.find(alignable);
AlignableNavigator * pNavigator()
AlignmentParameterStore * pStore()
void book()
Book or retrieve histograms; MUST be reimplemented.
TSOS combine(const TSOS &pTsos1, const TSOS &pTsos2) const
TrajectoryStateOnSurface forwardPredictedState() const
Access to forward predicted state (from fitter or builder)
std::map< Alignable *, TH1F * > m_residuals
LocalPoint localPosition() const
AlignmentMonitorTemplate(const edm::ParameterSet &cfg)
ConstRecHitPointer recHit() const
void event(const edm::Event &iEvent, const edm::EventSetup &iSetup, const ConstTrajTrackPairCollection &iTrajTracks)
Called for each event (by "run()"): may be reimplemented.
DataContainer const & measurements() const
void afterAlignment(const edm::EventSetup &iSetup)
std::vector< ConstTrajTrackPair > ConstTrajTrackPairCollection
~AlignmentMonitorTemplate()
TH1F * book1D(std::string dir, std::string name, std::string title, int nchX, double lowX, double highX)
#define DEFINE_EDM_PLUGIN(factory, type, name)
DetId geographicalId() const
bool detAndSubdetInMap(const DetId &detid) const
Given a DetId, returns true if DetIds with this detector and subdetector id are in the map (not neces...
virtual LocalPoint localPosition() const =0
AlignableDetOrUnitPtr alignableFromDetId(const DetId &detid)
Returns AlignableDetOrUnitPtr corresponding to given DetId.
Alignable * mother() const
Return pointer to container alignable (if any)
TrajectoryStateOnSurface backwardPredictedState() const
Access to backward predicted state (from smoother)
const align::Alignables & alignables(void) const
get all alignables