|
|
Go to the documentation of this file.
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());
const CartesianTrajectoryError cartesianError() const
MuonSeedsAnalyzer(const edm::ParameterSet &)
Constructor.
Geom::Theta< T > theta() const
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
virtual void setCurrentFolder(std::string const &fullpath)
Sin< T >::type sin(const T &t)
unsigned int detId() const
ROOT::Math::SMatrix< double, 6, 6, ROOT::Math::MatRepSym< double, 6 > > AlgebraicSymMatrix66
const AlgebraicSymMatrix66 & matrix() const
GlobalVector globalMomentum() const
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
~MuonSeedsAnalyzer() override
Destructor.
const CurvilinearTrajectoryError & curvilinearError() const
Power< A, B >::type pow(const A &a, const B &b)
Abs< T >::type abs(const T &t)
void analyze(const edm::Event &, const edm::EventSetup &) override
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
Geom::Phi< T > phi() const
const AlgebraicSymMatrix55 & matrix() const
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
const std::string metname