41 theSeedsCollectionLabel_ = consumes<TrajectorySeedCollection>(
parameters.getParameter<
InputTag>(
"SeedCollection"));
43 seedHitBin =
parameters.getParameter<
int>(
"RecHitBin");
44 seedHitMin =
parameters.getParameter<
double>(
"RecHitMin");
45 seedHitMax =
parameters.getParameter<
double>(
"RecHitMax");
79 string histname =
"NumberOfRecHitsPerSeed_";
80 NumberOfRecHitsPerSeed = ibooker.
book1D(histname,
"Number of seed recHits", seedHitBin, seedHitMin, seedHitMax);
82 histname =
"seedPhi_";
86 histname =
"seedEta_";
89 histname =
"seedTheta_";
100 histname =
"seedPy_";
103 histname =
"seedPz_";
107 histname =
"seedPtErrOverPt_";
109 histname =
"seedPtErrOverPtVsPhi_";
113 histname =
"seedPtErrOverPtVsEta_";
116 histname =
"seedPtErrOverPtVsPt_";
117 seedPtErrVsPt = ibooker.
book2D(
120 histname =
"seedPErrOverP_";
122 histname =
"seedPErrOverPVsPhi_";
125 histname =
"seedPErrOverPVsEta_";
127 histname =
"seedPErrOverPVsPt_";
132 histname =
"seedPxErrOverPx_";
134 histname =
"seedPyErrOverPy_";
136 histname =
"seedPzErrOverPz_";
139 histname =
"seedPhiErr_";
142 histname =
"seedEtaErr_";
147 theService->update(iSetup);
151 iEvent.getByToken(theSeedsCollectionLabel_,
seeds);
154 if (!
seeds.isValid())
165 const GeomDet* gdet = theService->trackingGeometry()->idToDet(seedDetId);
169 double partialPterror =
176 NumberOfRecHitsPerSeed->Fill(
seed->nHits());
~MuonSeedsAnalyzer() override
Destructor.
virtual void setCurrentFolder(std::string const &fullpath)
const std::string metname
Geom::Phi< T > phi() const
Sin< T >::type sin(const T &t)
const CartesianTrajectoryError cartesianError() const
unsigned int detId() const
Abs< T >::type abs(const T &t)
ROOT::Math::SMatrix< double, 6, 6, ROOT::Math::MatRepSym< double, 6 > > AlgebraicSymMatrix66
const CurvilinearTrajectoryError & curvilinearError() const
const AlgebraicSymMatrix55 & matrix() const
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
GlobalVector globalMomentum() const
void analyze(const edm::Event &, const edm::EventSetup &) override
const AlgebraicSymMatrix66 & matrix() const
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
Power< A, B >::type pow(const A &a, const B &b)
Geom::Theta< T > theta() const
MuonSeedsAnalyzer(const edm::ParameterSet &)
Constructor.
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)