CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
MuonSeedsAnalyzer Class Reference

#include <MuonSeedsAnalyzer.h>

Inheritance diagram for MuonSeedsAnalyzer:
DQMEDAnalyzer edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >

Public Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
 MuonSeedsAnalyzer (const edm::ParameterSet &)
 Constructor. More...
 
 ~MuonSeedsAnalyzer () override
 Destructor. More...
 
- Public Member Functions inherited from DQMEDAnalyzer
void accumulate (edm::Event const &event, edm::EventSetup const &setup) final
 
void beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void beginRun (edm::Run const &run, edm::EventSetup const &setup) final
 
void beginStream (edm::StreamID id) final
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 DQMEDAnalyzer ()
 
void endLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void endRun (edm::Run const &run, edm::EventSetup const &setup) final
 
virtual bool getCanSaveByLumi ()
 
- Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
 EDProducer ()=default
 
 EDProducer (const EDProducer &)=delete
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
const EDProduceroperator= (const EDProducer &)=delete
 

Private Attributes

int Chi2Bin
 
double Chi2Max
 
double Chi2Min
 
int EtaBin
 
int etaErrBin
 
double etaErrMax
 
double etaErrMin
 
double EtaMax
 
double EtaMin
 
std::string metname
 
MonitorElementNumberOfRecHitsPerSeed
 
edm::ParameterSet parameters
 
int pErrBin
 
double pErrMax
 
double pErrMin
 
int PhiBin
 
int phiErrBin
 
double phiErrMax
 
double phiErrMin
 
double PhiMax
 
double PhiMin
 
int pxyzErrBin
 
double pxyzErrMax
 
double pxyzErrMin
 
MonitorElementseedEta
 
MonitorElementseedEtaErr
 
int seedHitBin
 
double seedHitMax
 
double seedHitMin
 
MonitorElementseedPErr
 
MonitorElementseedPErrVsEta
 
MonitorElementseedPErrVsPhi
 
MonitorElementseedPErrVsPt
 
MonitorElementseedPhi
 
MonitorElementseedPhiErr
 
MonitorElementseedPt
 
int seedPtBin
 
MonitorElementseedPtErr
 
MonitorElementseedPtErrVsEta
 
MonitorElementseedPtErrVsPhi
 
MonitorElementseedPtErrVsPt
 
double seedPtMax
 
double seedPtMin
 
MonitorElementseedPx
 
MonitorElementseedPxErr
 
int seedPxyzBin
 
double seedPxyzMax
 
double seedPxyzMin
 
MonitorElementseedPy
 
MonitorElementseedPyErr
 
MonitorElementseedPz
 
MonitorElementseedPzErr
 
MonitorElementseedTheta
 
edm::EDGetTokenT< TrajectorySeedCollectiontheSeedsCollectionLabel_
 
MuonServiceProxytheService
 
int ThetaBin
 
double ThetaMax
 
double ThetaMin
 

Additional Inherited Members

- Public Types inherited from DQMEDAnalyzer
typedef dqm::reco::DQMStore DQMStore
 
typedef dqm::reco::MonitorElement MonitorElement
 
- Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
using CacheTypes = CacheContexts< T... >
 
using GlobalCache = typename CacheTypes::GlobalCache
 
using HasAbility = AbilityChecker< T... >
 
using InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache
 
using LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache
 
using LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache >
 
using LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache
 
using RunCache = typename CacheTypes::RunCache
 
using RunContext = RunContextT< RunCache, GlobalCache >
 
using RunSummaryCache = typename CacheTypes::RunSummaryCache
 
- Static Public Member Functions inherited from DQMEDAnalyzer
static void globalEndJob (DQMEDAnalyzerGlobalCache const *)
 
static void globalEndLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup, LuminosityBlockContext const *context)
 
static void globalEndRunProduce (edm::Run &run, edm::EventSetup const &setup, RunContext const *context)
 
static std::unique_ptr< DQMEDAnalyzerGlobalCacheinitializeGlobalCache (edm::ParameterSet const &)
 
- Protected Member Functions inherited from DQMEDAnalyzer
uint64_t meId () const
 
- Protected Attributes inherited from DQMEDAnalyzer
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 
unsigned int streamId_
 

Detailed Description

DQM monitoring source for muon track seeds

Author
G. Mila - INFN Torino

Definition at line 29 of file MuonSeedsAnalyzer.h.

Constructor & Destructor Documentation

◆ MuonSeedsAnalyzer()

MuonSeedsAnalyzer::MuonSeedsAnalyzer ( const edm::ParameterSet pSet)

Constructor.

Definition at line 36 of file MuonSeedsAnalyzer.cc.

References MonitorTrackInnerTrackMuons_cff::EtaBin, MonitorTrackSTAMuons_cfi::etaErrBin, MonitorTrackInnerTrackMuons_cff::etaErrMax, MonitorTrackSTAMuons_cfi::etaErrMin, MonitorTrackInnerTrackMuons_cff::EtaMax, MonitorTrackInnerTrackMuons_cff::EtaMin, MuonServiceProxy_cff::MuonServiceProxy, MonitorTrackSTAMuons_cfi::pErrBin, MonitorTrackSTAMuons_cfi::pErrMax, MonitorTrackSTAMuons_cfi::pErrMin, MonitorTrackSTAMuons_cfi::PhiBin, MonitorTrackSTAMuons_cfi::phiErrBin, MonitorTrackInnerTrackMuons_cff::phiErrMax, MonitorTrackSTAMuons_cfi::phiErrMin, MonitorTrackSTAMuons_cfi::PhiMax, MonitorTrackSTAMuons_cfi::PhiMin, muonSeedsAnalyzer_cfi::pxyzErrBin, muonSeedsAnalyzer_cfi::pxyzErrMax, muonSeedsAnalyzer_cfi::pxyzErrMin, muonSeedsAnalyzer_cfi::seedPtBin, muonSeedsAnalyzer_cfi::seedPtMax, muonSeedsAnalyzer_cfi::seedPtMin, muonSeedsAnalyzer_cfi::seedPxyzBin, muonSeedsAnalyzer_cfi::seedPxyzMax, muonSeedsAnalyzer_cfi::seedPxyzMin, MonitorTrackSTAMuons_cfi::ThetaBin, MonitorTrackSTAMuons_cfi::ThetaMax, and MonitorTrackSTAMuons_cfi::ThetaMin.

36  {
37  parameters = pSet;
38 
39  theService = new MuonServiceProxy(parameters.getParameter<ParameterSet>("ServiceParameters"), consumesCollector());
40 
41  theSeedsCollectionLabel_ = consumes<TrajectorySeedCollection>(parameters.getParameter<InputTag>("SeedCollection"));
42 
43  seedHitBin = parameters.getParameter<int>("RecHitBin");
44  seedHitMin = parameters.getParameter<double>("RecHitMin");
45  seedHitMax = parameters.getParameter<double>("RecHitMax");
46  PhiBin = parameters.getParameter<int>("PhiBin");
47  PhiMin = parameters.getParameter<double>("PhiMin");
48  PhiMax = parameters.getParameter<double>("PhiMax");
49  EtaBin = parameters.getParameter<int>("EtaBin");
50  EtaMin = parameters.getParameter<double>("EtaMin");
51  EtaMax = parameters.getParameter<double>("EtaMax");
52  ThetaBin = parameters.getParameter<int>("ThetaBin");
53  ThetaMin = parameters.getParameter<double>("ThetaMin");
54  ThetaMax = parameters.getParameter<double>("ThetaMax");
55  seedPtBin = parameters.getParameter<int>("seedPtBin");
56  seedPtMin = parameters.getParameter<double>("seedPtMin");
57  seedPtMax = parameters.getParameter<double>("seedPtMax");
58  seedPxyzBin = parameters.getParameter<int>("seedPxyzBin");
59  seedPxyzMin = parameters.getParameter<double>("seedPxyzMin");
60  seedPxyzMax = parameters.getParameter<double>("seedPxyzMax");
61  pErrBin = parameters.getParameter<int>("pErrBin");
62  pErrMin = parameters.getParameter<double>("pErrMin");
63  pErrMax = parameters.getParameter<double>("pErrMax");
64  pxyzErrBin = parameters.getParameter<int>("pxyzErrBin");
65  pxyzErrMin = parameters.getParameter<double>("pxyzErrMin");
66  pxyzErrMax = parameters.getParameter<double>("pxyzErrMax");
67  phiErrBin = parameters.getParameter<int>("phiErrBin");
68  phiErrMin = parameters.getParameter<double>("phiErrMin");
69  phiErrMax = parameters.getParameter<double>("phiErrMax");
70  etaErrBin = parameters.getParameter<int>("etaErrBin");
71  etaErrMin = parameters.getParameter<double>("etaErrMin");
72  etaErrMax = parameters.getParameter<double>("etaErrMax");
73 }
T getParameter(std::string const &) const
Definition: ParameterSet.h:307
edm::EDGetTokenT< TrajectorySeedCollection > theSeedsCollectionLabel_
edm::ParameterSet parameters
MuonServiceProxy * theService

◆ ~MuonSeedsAnalyzer()

MuonSeedsAnalyzer::~MuonSeedsAnalyzer ( )
override

Destructor.

Definition at line 74 of file MuonSeedsAnalyzer.cc.

74 { delete theService; }
MuonServiceProxy * theService

Member Function Documentation

◆ analyze()

void MuonSeedsAnalyzer::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
overridevirtual

Reimplemented from DQMEDAnalyzer.

Definition at line 146 of file MuonSeedsAnalyzer.cc.

References funct::abs(), TrajectoryStateOnSurface::cartesianError(), TrajectoryStateOnSurface::curvilinearError(), PTrajectoryStateOnDet::detId(), nano_mu_digi_cff::errors, PV3DBase< T, PVType, FrameType >::eta(), TrajectoryStateOnSurface::globalMomentum(), iEvent, LogTrace, PV3DBase< T, PVType, FrameType >::mag(), CartesianTrajectoryError::matrix(), CurvilinearTrajectoryError::matrix(), metname, PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), funct::pow(), fileCollector::seed, HLT_2024v14_cff::seeds, funct::sin(), mathSSE::sqrt(), PV3DBase< T, PVType, FrameType >::theta(), trajectoryStateTransform::transientState(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().

146  {
147  theService->update(iSetup);
148 
149  // Take the seeds container
152 
153  // if not valid, skip
154  if (!seeds.isValid())
155  return;
156 
157  for (TrajectorySeedCollection::const_iterator seed = seeds->begin(); seed != seeds->end(); ++seed) {
158  // const TrajectorySeed sd = *seed;
159 
160  // Get the Trajectory State on Det (persistent version of a TSOS) from the seed
161  PTrajectoryStateOnDet pTSOD = seed->startingState();
162 
163  // Transform it in a TrajectoryStateOnSurface
164  DetId seedDetId(pTSOD.detId());
165  const GeomDet* gdet = theService->trackingGeometry()->idToDet(seedDetId);
166  TrajectoryStateOnSurface seedTSOS =
167  trajectoryStateTransform::transientState(pTSOD, &(gdet->surface()), &*(theService)->magneticField());
169  double partialPterror =
170  errors(3, 3) * pow(seedTSOS.globalMomentum().x(), 2) + errors(4, 4) * pow(seedTSOS.globalMomentum().y(), 2);
171 
172  LogTrace(metname) << "[MuonSeedAnalyzer] Filling the histos";
173 
174  // nhits
175  LogTrace(metname) << "Number od recHits per seed: " << seed->nHits();
176  NumberOfRecHitsPerSeed->Fill(seed->nHits());
177 
178  // pt
179  LogTrace(metname) << "seed momentum: " << seedTSOS.globalMomentum().perp();
180  seedPt->Fill(seedTSOS.globalMomentum().perp());
181 
182  // px
183  LogTrace(metname) << "seed px: " << seedTSOS.globalMomentum().x();
184  seedPx->Fill(seedTSOS.globalMomentum().x());
185 
186  // py
187  LogTrace(metname) << "seed py: " << seedTSOS.globalMomentum().y();
188  seedPy->Fill(seedTSOS.globalMomentum().y());
189 
190  // pz
191  LogTrace(metname) << "seed pz: " << seedTSOS.globalMomentum().z();
192  seedPz->Fill(seedTSOS.globalMomentum().z());
193 
194  // phi
195  LogTrace(metname) << "seed phi: " << seedTSOS.globalMomentum().phi();
196  seedPhi->Fill(seedTSOS.globalMomentum().phi());
197 
198  // theta
199  LogTrace(metname) << "seed theta: " << seedTSOS.globalMomentum().theta();
200  seedTheta->Fill(seedTSOS.globalMomentum().theta());
201 
202  // eta
203  LogTrace(metname) << "seed eta: " << seedTSOS.globalMomentum().eta();
204  seedEta->Fill(seedTSOS.globalMomentum().eta());
205 
206  // pt err
207  LogTrace(metname) << "seed pt error: " << sqrt(partialPterror) / seedTSOS.globalMomentum().perp();
208  seedPtErr->Fill(sqrt(partialPterror) / seedTSOS.globalMomentum().perp());
209 
210  // ptErr/pt Vs phi
211  seedPtErrVsPhi->Fill(seedTSOS.globalMomentum().phi(), sqrt(partialPterror) / seedTSOS.globalMomentum().perp());
212  // ptErr/pt Vs eta
213  seedPtErrVsEta->Fill(seedTSOS.globalMomentum().eta(), sqrt(partialPterror) / seedTSOS.globalMomentum().perp());
214  // ptErr/pt Vs pt
215  seedPtErrVsPt->Fill(seedTSOS.globalMomentum().perp(), sqrt(partialPterror) / seedTSOS.globalMomentum().perp());
216 
217  // px err
218  LogTrace(metname) << "seed px error: " << sqrt(errors(3, 3)) / seedTSOS.globalMomentum().x();
219  seedPxErr->Fill(sqrt(errors(3, 3)) / seedTSOS.globalMomentum().x());
220 
221  // py err
222  LogTrace(metname) << "seed py error: " << sqrt(errors(4, 4)) / seedTSOS.globalMomentum().y();
223  seedPyErr->Fill(sqrt(errors(4, 4)) / seedTSOS.globalMomentum().y());
224 
225  // pz err
226  LogTrace(metname) << "seed pz error: " << sqrt(errors(5, 5)) / seedTSOS.globalMomentum().z();
227  seedPzErr->Fill(sqrt(errors(5, 5)) / seedTSOS.globalMomentum().z());
228 
229  // p err
230  LogTrace(metname) << "seed p error: "
231  << sqrt(partialPterror + errors(5, 5) * pow(seedTSOS.globalMomentum().z(), 2)) /
232  seedTSOS.globalMomentum().mag();
233  seedPErr->Fill(sqrt(partialPterror + errors(5, 5) * pow(seedTSOS.globalMomentum().z(), 2)) /
234  seedTSOS.globalMomentum().mag());
235 
236  // pErr/p Vs phi
238  seedTSOS.globalMomentum().phi(),
239  sqrt(partialPterror + errors(5, 5) * pow(seedTSOS.globalMomentum().z(), 2)) / seedTSOS.globalMomentum().mag());
240  // pErr/p Vs eta
242  seedTSOS.globalMomentum().eta(),
243  sqrt(partialPterror + errors(5, 5) * pow(seedTSOS.globalMomentum().z(), 2)) / seedTSOS.globalMomentum().mag());
244  // pErr/p Vs pt
246  seedTSOS.globalMomentum().perp(),
247  sqrt(partialPterror + errors(5, 5) * pow(seedTSOS.globalMomentum().z(), 2)) / seedTSOS.globalMomentum().mag());
248 
249  // phi err
250  LogTrace(metname) << "seed phi error: " << sqrt(seedTSOS.curvilinearError().matrix()(2, 2));
251  seedPhiErr->Fill(sqrt(seedTSOS.curvilinearError().matrix()(2, 2)));
252 
253  // eta err
254  LogTrace(metname) << "seed eta error: "
255  << sqrt(seedTSOS.curvilinearError().matrix()(1, 1)) * abs(sin(seedTSOS.globalMomentum().theta()));
256  seedEtaErr->Fill(sqrt(seedTSOS.curvilinearError().matrix()(1, 1)) * abs(sin(seedTSOS.globalMomentum().theta())));
257  }
258 }
T perp() const
Definition: PV3DBase.h:69
MonitorElement * seedPx
T z() const
Definition: PV3DBase.h:61
MonitorElement * seedPyErr
Geom::Phi< T > phi() const
Definition: PV3DBase.h:66
Sin< T >::type sin(const T &t)
Definition: Sin.h:22
T eta() const
Definition: PV3DBase.h:73
MonitorElement * seedEta
MonitorElement * seedPErrVsEta
MonitorElement * seedPErrVsPt
MonitorElement * seedPtErrVsPt
MonitorElement * seedEtaErr
MonitorElement * seedPzErr
const CartesianTrajectoryError cartesianError() const
MonitorElement * seedPtErrVsPhi
unsigned int detId() const
#define LogTrace(id)
MonitorElement * seedPErr
void Fill(long long x)
T x() const
Definition: PV3DBase.h:59
T y() const
Definition: PV3DBase.h:60
MonitorElement * NumberOfRecHitsPerSeed
int iEvent
Definition: GenABIO.cc:224
T sqrt(T t)
Definition: SSEVec.h:19
T mag() const
Definition: PV3DBase.h:64
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
MonitorElement * seedPtErrVsEta
edm::EDGetTokenT< TrajectorySeedCollection > theSeedsCollectionLabel_
ROOT::Math::SMatrix< double, 6, 6, ROOT::Math::MatRepSym< double, 6 > > AlgebraicSymMatrix66
Definition: DetId.h:17
MonitorElement * seedPxErr
TrajectoryStateOnSurface transientState(const PTrajectoryStateOnDet &ts, const Surface *surface, const MagneticField *field)
const CurvilinearTrajectoryError & curvilinearError() const
MonitorElement * seedPy
MonitorElement * seedPt
const AlgebraicSymMatrix55 & matrix() const
MonitorElement * seedPtErr
GlobalVector globalMomentum() const
MonitorElement * seedPz
MonitorElement * seedPErrVsPhi
MonitorElement * seedPhi
const AlgebraicSymMatrix66 & matrix() const
Definition: errors.py:1
MonitorElement * seedTheta
MuonServiceProxy * theService
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29
Geom::Theta< T > theta() const
Definition: PV3DBase.h:72
MonitorElement * seedPhiErr

◆ bookHistograms()

void MuonSeedsAnalyzer::bookHistograms ( DQMStore::IBooker ibooker,
edm::Run const &  ,
edm::EventSetup const &   
)
overridevirtual

Implements DQMEDAnalyzer.

Definition at line 75 of file MuonSeedsAnalyzer.cc.

References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), dqm::implementation::NavigatorBase::cd(), MonitorTrackInnerTrackMuons_cff::EtaBin, MonitorTrackSTAMuons_cfi::etaErrBin, MonitorTrackInnerTrackMuons_cff::etaErrMax, MonitorTrackSTAMuons_cfi::etaErrMin, MonitorTrackInnerTrackMuons_cff::EtaMax, MonitorTrackInnerTrackMuons_cff::EtaMin, MonitorTrackSTAMuons_cfi::pErrBin, MonitorTrackSTAMuons_cfi::pErrMax, MonitorTrackSTAMuons_cfi::pErrMin, MonitorTrackSTAMuons_cfi::PhiBin, MonitorTrackSTAMuons_cfi::phiErrBin, MonitorTrackInnerTrackMuons_cff::phiErrMax, MonitorTrackSTAMuons_cfi::phiErrMin, MonitorTrackSTAMuons_cfi::PhiMax, MonitorTrackSTAMuons_cfi::PhiMin, muonSeedsAnalyzer_cfi::pxyzErrBin, muonSeedsAnalyzer_cfi::pxyzErrMax, muonSeedsAnalyzer_cfi::pxyzErrMin, muonSeedsAnalyzer_cfi::seedPtBin, muonSeedsAnalyzer_cfi::seedPtMax, muonSeedsAnalyzer_cfi::seedPtMin, muonSeedsAnalyzer_cfi::seedPxyzBin, muonSeedsAnalyzer_cfi::seedPxyzMax, muonSeedsAnalyzer_cfi::seedPxyzMin, dqm::impl::MonitorElement::setAxisTitle(), dqm::implementation::NavigatorBase::setCurrentFolder(), MonitorTrackSTAMuons_cfi::ThetaBin, MonitorTrackSTAMuons_cfi::ThetaMax, and MonitorTrackSTAMuons_cfi::ThetaMin.

75  {
76  ibooker.cd();
77  ibooker.setCurrentFolder("Muons/MuonSeedsAnalyzer");
78 
79  string histname = "NumberOfRecHitsPerSeed_";
80  NumberOfRecHitsPerSeed = ibooker.book1D(histname, "Number of seed recHits", seedHitBin, seedHitMin, seedHitMax);
81 
82  histname = "seedPhi_";
83  seedPhi = ibooker.book1D(histname, "Seed #phi", PhiBin, PhiMin, PhiMax);
84  seedPhi->setAxisTitle("rad");
85 
86  histname = "seedEta_";
87  seedEta = ibooker.book1D(histname, "Seed #eta", EtaBin, EtaMin, EtaMax);
88 
89  histname = "seedTheta_";
90  seedTheta = ibooker.book1D(histname, "Seed #theta", ThetaBin, ThetaMin, ThetaMax);
91  seedTheta->setAxisTitle("rad");
92 
93  histname = "seedPt_";
94  seedPt = ibooker.book1D(histname, "Seed p_{t}", seedPtBin, seedPtMin, seedPtMax);
95  seedPt->setAxisTitle("GeV");
96 
97  histname = "seedPx_";
98  seedPx = ibooker.book1D(histname, "Seed p_{x}", seedPxyzBin, seedPxyzMin, seedPxyzMax);
99  seedPx->setAxisTitle("GeV");
100  histname = "seedPy_";
101  seedPy = ibooker.book1D(histname, "Seed p_{y}", seedPxyzBin, seedPxyzMin, seedPxyzMax);
102  seedPy->setAxisTitle("GeV");
103  histname = "seedPz_";
104  seedPz = ibooker.book1D(histname, "Seed p_{z}", seedPxyzBin, seedPxyzMin, seedPxyzMax);
105  seedPz->setAxisTitle("GeV");
106 
107  histname = "seedPtErrOverPt_";
108  seedPtErr = ibooker.book1D(histname, "Seed p_{t}Err/p_{t}", pErrBin, pErrMin, pErrMax);
109  histname = "seedPtErrOverPtVsPhi_";
111  ibooker.book2D(histname, "Seed p_{t}Err/p_{t} vs #phi", PhiBin, PhiMin, PhiMax, pErrBin, pErrMin, pErrMax);
112  seedPtErrVsPhi->setAxisTitle("rad", 2);
113  histname = "seedPtErrOverPtVsEta_";
115  ibooker.book2D(histname, "Seed p_{t}Err/p_{t} vs #eta", EtaBin, EtaMin, EtaMax, pErrBin, pErrMin, pErrMax);
116  histname = "seedPtErrOverPtVsPt_";
117  seedPtErrVsPt = ibooker.book2D(
118  histname, "Seed p_{t}Err/p_{t} vs p_{t}", seedPtBin / 5, seedPtMin, seedPtMax, pErrBin, pErrMin, pErrMax);
119  seedPtErrVsPt->setAxisTitle("GeV", 2);
120  histname = "seedPErrOverP_";
121  seedPErr = ibooker.book1D(histname, "Seed pErr/p", pErrBin, pErrMin, pErrMax);
122  histname = "seedPErrOverPVsPhi_";
123  seedPErrVsPhi = ibooker.book2D(histname, "Seed pErr/p vs #phi", PhiBin, PhiMin, PhiMax, pErrBin, pErrMin, pErrMax);
124  seedPErrVsPhi->setAxisTitle("rad", 2);
125  histname = "seedPErrOverPVsEta_";
126  seedPErrVsEta = ibooker.book2D(histname, "Seed pErr/p vs #eta", EtaBin, EtaMin, EtaMax, pErrBin, pErrMin, pErrMax);
127  histname = "seedPErrOverPVsPt_";
128  seedPErrVsPt =
129  ibooker.book2D(histname, "Seed pErr/p vs p_{t}", seedPtBin / 5, seedPtMin, seedPtMax, pErrBin, pErrMin, pErrMax);
130  seedPErrVsPt->setAxisTitle("GeV", 2);
131 
132  histname = "seedPxErrOverPx_";
133  seedPxErr = ibooker.book1D(histname, "Seed p_{x}Err/p_{x}", pxyzErrBin, pxyzErrMin, pxyzErrMax);
134  histname = "seedPyErrOverPy_";
135  seedPyErr = ibooker.book1D(histname, "Seed p_{y}Err/p_{y}", pxyzErrBin, pxyzErrMin, pxyzErrMax);
136  histname = "seedPzErrOverPz_";
137  seedPzErr = ibooker.book1D(histname, "Seed p_{z}Err/p_{z}", pxyzErrBin, pxyzErrMin, pxyzErrMax);
138 
139  histname = "seedPhiErr_";
140  seedPhiErr = ibooker.book1D(histname, "Seed #phi error", phiErrBin, phiErrMin, phiErrMax);
141 
142  histname = "seedEtaErr_";
143  seedEtaErr = ibooker.book1D(histname, "Seed #eta error", etaErrBin, etaErrMin, etaErrMax);
144 }
MonitorElement * seedPx
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:36
MonitorElement * seedPyErr
MonitorElement * seedEta
MonitorElement * seedPErrVsEta
MonitorElement * seedPErrVsPt
MonitorElement * seedPtErrVsPt
MonitorElement * seedEtaErr
MonitorElement * seedPzErr
MonitorElement * seedPtErrVsPhi
MonitorElement * seedPErr
MonitorElement * NumberOfRecHitsPerSeed
MonitorElement * seedPtErrVsEta
MonitorElement * seedPxErr
MonitorElement * seedPy
MonitorElement * seedPt
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
Definition: DQMStore.h:221
MonitorElement * seedPtErr
MonitorElement * seedPz
MonitorElement * seedPErrVsPhi
MonitorElement * seedPhi
MonitorElement * seedTheta
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
Definition: DQMStore.h:98
MonitorElement * seedPhiErr
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)

Member Data Documentation

◆ Chi2Bin

int MuonSeedsAnalyzer::Chi2Bin
private

Definition at line 68 of file MuonSeedsAnalyzer.h.

◆ Chi2Max

double MuonSeedsAnalyzer::Chi2Max
private

Definition at line 70 of file MuonSeedsAnalyzer.h.

◆ Chi2Min

double MuonSeedsAnalyzer::Chi2Min
private

Definition at line 69 of file MuonSeedsAnalyzer.h.

◆ EtaBin

int MuonSeedsAnalyzer::EtaBin
private

Definition at line 60 of file MuonSeedsAnalyzer.h.

◆ etaErrBin

int MuonSeedsAnalyzer::etaErrBin
private

Definition at line 92 of file MuonSeedsAnalyzer.h.

◆ etaErrMax

double MuonSeedsAnalyzer::etaErrMax
private

Definition at line 94 of file MuonSeedsAnalyzer.h.

◆ etaErrMin

double MuonSeedsAnalyzer::etaErrMin
private

Definition at line 93 of file MuonSeedsAnalyzer.h.

◆ EtaMax

double MuonSeedsAnalyzer::EtaMax
private

Definition at line 62 of file MuonSeedsAnalyzer.h.

◆ EtaMin

double MuonSeedsAnalyzer::EtaMin
private

Definition at line 61 of file MuonSeedsAnalyzer.h.

◆ metname

std::string MuonSeedsAnalyzer::metname
private

Definition at line 49 of file MuonSeedsAnalyzer.h.

◆ NumberOfRecHitsPerSeed

MonitorElement* MuonSeedsAnalyzer::NumberOfRecHitsPerSeed
private

Definition at line 97 of file MuonSeedsAnalyzer.h.

◆ parameters

edm::ParameterSet MuonSeedsAnalyzer::parameters
private

Definition at line 43 of file MuonSeedsAnalyzer.h.

◆ pErrBin

int MuonSeedsAnalyzer::pErrBin
private

Definition at line 80 of file MuonSeedsAnalyzer.h.

◆ pErrMax

double MuonSeedsAnalyzer::pErrMax
private

Definition at line 82 of file MuonSeedsAnalyzer.h.

◆ pErrMin

double MuonSeedsAnalyzer::pErrMin
private

Definition at line 81 of file MuonSeedsAnalyzer.h.

◆ PhiBin

int MuonSeedsAnalyzer::PhiBin
private

Definition at line 56 of file MuonSeedsAnalyzer.h.

◆ phiErrBin

int MuonSeedsAnalyzer::phiErrBin
private

Definition at line 88 of file MuonSeedsAnalyzer.h.

◆ phiErrMax

double MuonSeedsAnalyzer::phiErrMax
private

Definition at line 90 of file MuonSeedsAnalyzer.h.

◆ phiErrMin

double MuonSeedsAnalyzer::phiErrMin
private

Definition at line 89 of file MuonSeedsAnalyzer.h.

◆ PhiMax

double MuonSeedsAnalyzer::PhiMax
private

Definition at line 58 of file MuonSeedsAnalyzer.h.

◆ PhiMin

double MuonSeedsAnalyzer::PhiMin
private

Definition at line 57 of file MuonSeedsAnalyzer.h.

◆ pxyzErrBin

int MuonSeedsAnalyzer::pxyzErrBin
private

Definition at line 84 of file MuonSeedsAnalyzer.h.

◆ pxyzErrMax

double MuonSeedsAnalyzer::pxyzErrMax
private

Definition at line 86 of file MuonSeedsAnalyzer.h.

◆ pxyzErrMin

double MuonSeedsAnalyzer::pxyzErrMin
private

Definition at line 85 of file MuonSeedsAnalyzer.h.

◆ seedEta

MonitorElement* MuonSeedsAnalyzer::seedEta
private

Definition at line 99 of file MuonSeedsAnalyzer.h.

◆ seedEtaErr

MonitorElement* MuonSeedsAnalyzer::seedEtaErr
private

Definition at line 117 of file MuonSeedsAnalyzer.h.

◆ seedHitBin

int MuonSeedsAnalyzer::seedHitBin
private

Definition at line 52 of file MuonSeedsAnalyzer.h.

◆ seedHitMax

double MuonSeedsAnalyzer::seedHitMax
private

Definition at line 54 of file MuonSeedsAnalyzer.h.

◆ seedHitMin

double MuonSeedsAnalyzer::seedHitMin
private

Definition at line 53 of file MuonSeedsAnalyzer.h.

◆ seedPErr

MonitorElement* MuonSeedsAnalyzer::seedPErr
private

Definition at line 112 of file MuonSeedsAnalyzer.h.

◆ seedPErrVsEta

MonitorElement* MuonSeedsAnalyzer::seedPErrVsEta
private

Definition at line 114 of file MuonSeedsAnalyzer.h.

◆ seedPErrVsPhi

MonitorElement* MuonSeedsAnalyzer::seedPErrVsPhi
private

Definition at line 113 of file MuonSeedsAnalyzer.h.

◆ seedPErrVsPt

MonitorElement* MuonSeedsAnalyzer::seedPErrVsPt
private

Definition at line 115 of file MuonSeedsAnalyzer.h.

◆ seedPhi

MonitorElement* MuonSeedsAnalyzer::seedPhi
private

Definition at line 98 of file MuonSeedsAnalyzer.h.

◆ seedPhiErr

MonitorElement* MuonSeedsAnalyzer::seedPhiErr
private

Definition at line 116 of file MuonSeedsAnalyzer.h.

◆ seedPt

MonitorElement* MuonSeedsAnalyzer::seedPt
private

Definition at line 101 of file MuonSeedsAnalyzer.h.

◆ seedPtBin

int MuonSeedsAnalyzer::seedPtBin
private

Definition at line 72 of file MuonSeedsAnalyzer.h.

◆ seedPtErr

MonitorElement* MuonSeedsAnalyzer::seedPtErr
private

Definition at line 105 of file MuonSeedsAnalyzer.h.

◆ seedPtErrVsEta

MonitorElement* MuonSeedsAnalyzer::seedPtErrVsEta
private

Definition at line 107 of file MuonSeedsAnalyzer.h.

◆ seedPtErrVsPhi

MonitorElement* MuonSeedsAnalyzer::seedPtErrVsPhi
private

Definition at line 106 of file MuonSeedsAnalyzer.h.

◆ seedPtErrVsPt

MonitorElement* MuonSeedsAnalyzer::seedPtErrVsPt
private

Definition at line 108 of file MuonSeedsAnalyzer.h.

◆ seedPtMax

double MuonSeedsAnalyzer::seedPtMax
private

Definition at line 74 of file MuonSeedsAnalyzer.h.

◆ seedPtMin

double MuonSeedsAnalyzer::seedPtMin
private

Definition at line 73 of file MuonSeedsAnalyzer.h.

◆ seedPx

MonitorElement* MuonSeedsAnalyzer::seedPx
private

Definition at line 102 of file MuonSeedsAnalyzer.h.

◆ seedPxErr

MonitorElement* MuonSeedsAnalyzer::seedPxErr
private

Definition at line 109 of file MuonSeedsAnalyzer.h.

◆ seedPxyzBin

int MuonSeedsAnalyzer::seedPxyzBin
private

Definition at line 76 of file MuonSeedsAnalyzer.h.

◆ seedPxyzMax

double MuonSeedsAnalyzer::seedPxyzMax
private

Definition at line 78 of file MuonSeedsAnalyzer.h.

◆ seedPxyzMin

double MuonSeedsAnalyzer::seedPxyzMin
private

Definition at line 77 of file MuonSeedsAnalyzer.h.

◆ seedPy

MonitorElement* MuonSeedsAnalyzer::seedPy
private

Definition at line 103 of file MuonSeedsAnalyzer.h.

◆ seedPyErr

MonitorElement* MuonSeedsAnalyzer::seedPyErr
private

Definition at line 110 of file MuonSeedsAnalyzer.h.

◆ seedPz

MonitorElement* MuonSeedsAnalyzer::seedPz
private

Definition at line 104 of file MuonSeedsAnalyzer.h.

◆ seedPzErr

MonitorElement* MuonSeedsAnalyzer::seedPzErr
private

Definition at line 111 of file MuonSeedsAnalyzer.h.

◆ seedTheta

MonitorElement* MuonSeedsAnalyzer::seedTheta
private

Definition at line 100 of file MuonSeedsAnalyzer.h.

◆ theSeedsCollectionLabel_

edm::EDGetTokenT<TrajectorySeedCollection> MuonSeedsAnalyzer::theSeedsCollectionLabel_
private

Definition at line 46 of file MuonSeedsAnalyzer.h.

◆ theService

MuonServiceProxy* MuonSeedsAnalyzer::theService
private

Definition at line 42 of file MuonSeedsAnalyzer.h.

◆ ThetaBin

int MuonSeedsAnalyzer::ThetaBin
private

Definition at line 64 of file MuonSeedsAnalyzer.h.

◆ ThetaMax

double MuonSeedsAnalyzer::ThetaMax
private

Definition at line 66 of file MuonSeedsAnalyzer.h.

◆ ThetaMin

double MuonSeedsAnalyzer::ThetaMin
private

Definition at line 65 of file MuonSeedsAnalyzer.h.