Go to the documentation of this file.
62 m_otherdir =
book1D(
"/otherdir/",
"hist",
"this is a histogram in another directory", 10, 0.5, 10.5);
64 book1D(
"/iterN/otherdir/",
"hist",
"here's one in another directory inside the iterN directories", 10, 0.5, 10.5);
70 for (
const auto& it : alignables) {
72 snprintf(
name,
sizeof(
name),
"xresid%d", it->geomDetId().rawId());
73 snprintf(
title,
sizeof(
title),
"x track-hit for DetId %d", it->geomDetId().rawId());
95 for (ConstTrajTrackPairCollection::const_iterator it =
tracks.begin(); it !=
tracks.end(); ++it) {
103 std::vector<TrajectoryMeasurement> measurements = traj->
measurements();
104 for (std::vector<TrajectoryMeasurement>::const_iterator im = measurements.begin(); im != measurements.end(); ++im) {
107 const DetId id =
hit->geographicalId();
118 std::map<Alignable*, TH1F*>::const_iterator
search =
m_residuals.find(alignable);
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...
AlignmentMonitorTemplate(const edm::ParameterSet &cfg, edm::ConsumesCollector iC)
const align::Alignables & alignables(void) const
get all alignables
std::map< Alignable *, TH1F * > m_residuals
AlignmentParameterStore * pStore()
void book() override
Book or retrieve histograms; MUST be reimplemented.
AlignableNavigator * pNavigator()
void event(const edm::Event &iEvent, const edm::EventSetup &iSetup, const ConstTrajTrackPairCollection &iTrajTracks) override
Called for each event (by "run()"): may be reimplemented.
TrajectoryStateOnSurface const & backwardPredictedState() const
Access to backward predicted state (from smoother)
TrajectoryStateOnSurface const & forwardPredictedState() const
Access to forward predicted state (from fitter or builder)
std::vector< T >::const_iterator search(const cond::Time_t &val, const std::vector< T > &container)
#define DEFINE_EDM_PLUGIN(factory, type, name)
LocalPoint localPosition() const
const uint32_t *__restrict__ const HitContainer *__restrict__ TkSoA *__restrict__ tracks
DataContainer const & measurements() const
TH1F * book1D(std::string dir, std::string name, std::string title, int nchX, double lowX, double highX)
ConstRecHitPointer const & recHit() const
AlignableDetOrUnitPtr alignableFromDetId(const DetId &detid)
Returns AlignableDetOrUnitPtr corresponding to given DetId.
TSOS combine(const TSOS &pTsos1, const TSOS &pTsos2) const
~AlignmentMonitorTemplate() override
std::vector< ConstTrajTrackPair > ConstTrajTrackPairCollection
void afterAlignment() override
Alignable * mother() const
Return pointer to container alignable (if any)