CMS 3D CMS Logo

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

#include <FSQDQM.h>

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

Public Member Functions

 FSQDQM (const edm::ParameterSet &ps)
 
 ~FSQDQM () override
 
- 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
 

Protected Member Functions

void analyze (edm::Event const &e, edm::EventSetup const &eSetup) override
 
- Protected Member Functions inherited from DQMEDAnalyzer
uint64_t meId () const
 

Private Member Functions

void bookHistograms (DQMStore::IBooker &bei, edm::Run const &, edm::EventSetup const &) override
 
void bookHistos (DQMStore *bei)
 

Private Attributes

unsigned int bxNumber_
 
MonitorElementCastorJetMulti
 
MonitorElementCastorJetphi
 
unsigned int eventNumber_
 
MonitorElementh_leadingtrkpt_ntrk_away
 
MonitorElementh_leadingtrkpt_ntrk_towards
 
MonitorElementh_leadingtrkpt_ntrk_transverse
 
MonitorElementh_leadingtrkpt_ptsum_away
 
MonitorElementh_leadingtrkpt_ptsum_towards
 
MonitorElementh_leadingtrkpt_ptsum_transverse
 
MonitorElementh_ntracks
 
MonitorElementh_ntracks_away
 
MonitorElementh_ntracks_towards
 
MonitorElementh_ntracks_transverse
 
MonitorElementh_ptsum_away
 
MonitorElementh_ptsum_towards
 
MonitorElementh_ptsum_transverse
 
MonitorElementh_trkptsum
 
std::vector< int > hltresults
 
std::string labelBS_
 
std::string labelCastorJet_
 
std::string labelPFJet_
 
std::string labelTrack_
 
unsigned int lumiNumber_
 
MonitorElementNPV
 
MonitorElementPFJeteta
 
MonitorElementPFJetMulti
 
MonitorElementPFJetphi
 
MonitorElementPFJetpt
 
MonitorElementPFJetRapidity
 
MonitorElementPV_chi2
 
MonitorElementPV_d0
 
MonitorElementPV_numTrks
 
MonitorElementPV_sumTrks
 
edm::EDGetTokenT< edm::View< reco::Vertex > > pvs_
 
unsigned int runNumber_
 
edm::EDGetTokenT< reco::BasicJetCollectiontok_castorjet_
 
edm::EDGetTokenT< reco::PFJetCollectiontok_pfjet_
 
edm::EDGetTokenT< reco::TrackCollectiontok_track_
 
MonitorElementTrack_HP_dxyvtx_over_dxyerror
 
MonitorElementTrack_HP_dzvtx_over_dzerr
 
MonitorElementTrack_HP_Eta
 
MonitorElementTrack_HP_Phi
 
MonitorElementTrack_HP_Pt
 
MonitorElementTrack_HP_ptErr_over_pt
 
edm::InputTag vertex_
 

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 Attributes inherited from DQMEDAnalyzer
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 
unsigned int streamId_
 

Detailed Description

Definition at line 78 of file FSQDQM.h.

Constructor & Destructor Documentation

◆ FSQDQM()

FSQDQM::FSQDQM ( const edm::ParameterSet ps)

Definition at line 83 of file FSQDQM.cc.

References edm::ParameterSet::getParameter(), and AlCaHLTBitMon_QueryRunRegistry::string.

83  {
84  edm::LogInfo("FSQDQM") << " Creating FSQDQM "
85  << "\n";
86  pvs_ = consumes<edm::View<reco::Vertex> >(iConfig.getParameter<edm::InputTag>("pvs"));
87  labelPFJet_ = iConfig.getParameter<std::string>("LabelPFJet");
88  labelCastorJet_ = iConfig.getParameter<std::string>("LabelCastorJet");
89  labelTrack_ = iConfig.getParameter<std::string>("LabelTrack");
90  tok_pfjet_ = consumes<reco::PFJetCollection>(labelPFJet_);
91  tok_track_ = consumes<reco::TrackCollection>(labelTrack_);
92  tok_castorjet_ = consumes<reco::BasicJetCollection>(labelCastorJet_);
93 }
edm::EDGetTokenT< reco::BasicJetCollection > tok_castorjet_
Definition: FSQDQM.h:95
std::string labelPFJet_
Definition: FSQDQM.h:91
std::string labelTrack_
Definition: FSQDQM.h:91
edm::EDGetTokenT< edm::View< reco::Vertex > > pvs_
Definition: FSQDQM.h:92
edm::EDGetTokenT< reco::PFJetCollection > tok_pfjet_
Definition: FSQDQM.h:94
std::string labelCastorJet_
Definition: FSQDQM.h:91
Log< level::Info, false > LogInfo
edm::EDGetTokenT< reco::TrackCollection > tok_track_
Definition: FSQDQM.h:93

◆ ~FSQDQM()

FSQDQM::~FSQDQM ( )
override

Definition at line 95 of file FSQDQM.cc.

95  {
96  edm::LogInfo("FSQDQM") << " Deleting FSQDQM "
97  << "\n";
98  // do anything here that needs to be done at desctruction time
99  // (e.g. close files, deallocate resources etc.)
100 }
Log< level::Info, false > LogInfo

Member Function Documentation

◆ analyze()

void FSQDQM::analyze ( edm::Event const &  e,
edm::EventSetup const &  eSetup 
)
overrideprotectedvirtual

Reimplemented from DQMEDAnalyzer.

Definition at line 146 of file FSQDQM.cc.

References funct::abs(), SiPixelRawToDigiRegional_cfi::deltaPhi, iEvent, reco::Vertex::isFake(), edm::HandleBase::isValid(), dqmdumpme::k, reco::Vertex::normalizedChi2(), ntracks, reco::Vertex::position(), edm::Handle< T >::product(), reco::TrackBase::qualityByName(), RecoPFJets_cff::recoPFJets, sistrip::runNumber_, mathSSE::sqrt(), reco::Vertex::tracks_begin(), reco::Vertex::tracks_end(), reco::Vertex::tracksSize(), reco::Vertex::x(), reco::Vertex::xError(), reco::Vertex::y(), reco::Vertex::yError(), reco::Vertex::z(), and reco::Vertex::zError().

146  {
147  using namespace edm;
148  using namespace std;
149  using namespace reco;
150 
151  runNumber_ = iEvent.id().run();
152  eventNumber_ = iEvent.id().event();
153  lumiNumber_ = iEvent.id().luminosityBlock();
154  bxNumber_ = iEvent.bunchCrossing();
155 
157  // if(!iEvent.getByToken(pvs_, privtxs)) return;
158  iEvent.getByToken(pvs_, privtxs);
159  double bestvz = -999.9, bestvx = -999.9, bestvy = -999.9;
160  double bestvzError = -999.9, bestvxError = -999.9, bestvyError = -999.9;
161  if (privtxs.isValid()) {
162  const reco::Vertex& pvtx = privtxs->front();
163  NPV->Fill(privtxs->size());
164  if (privtxs->begin() != privtxs->end() && !(pvtx.isFake()) && pvtx.position().Rho() <= 2. &&
165  fabs(pvtx.position().z()) <= 24) {
166  bestvz = pvtx.z();
167  bestvx = pvtx.x();
168  bestvy = pvtx.y();
169  bestvzError = pvtx.zError();
170  bestvxError = pvtx.xError();
171  bestvyError = pvtx.yError();
172  PV_chi2->Fill(pvtx.normalizedChi2());
173  PV_d0->Fill(sqrt(pvtx.x() * pvtx.x() + pvtx.y() * pvtx.y()));
174  PV_numTrks->Fill(pvtx.tracksSize());
175  double vertex_sumTrks = 0.0;
176  for (reco::Vertex::trackRef_iterator iTrack = pvtx.tracks_begin(); iTrack != pvtx.tracks_end(); iTrack++) {
177  vertex_sumTrks += (*iTrack)->pt();
178  }
179  PV_sumTrks->Fill(vertex_sumTrks);
180  }
181  }
182 
183  std::vector<Jet> recoPFJets;
184  recoPFJets.clear();
185  int nPFCHSJet = 0;
186  edm::Handle<PFJetCollection> pfjetchscoll;
187  // if(!iEvent.getByToken(tok_pfjet_, pfjetchscoll)) return;
188  iEvent.getByToken(tok_pfjet_, pfjetchscoll);
189  if (pfjetchscoll.isValid()) {
190  const reco::PFJetCollection* pfchsjets = pfjetchscoll.product();
191  reco::PFJetCollection::const_iterator pfjetchsclus = pfchsjets->begin();
192  for (pfjetchsclus = pfchsjets->begin(); pfjetchsclus != pfchsjets->end(); ++pfjetchsclus) {
193  PFJetpt->Fill(pfjetchsclus->pt());
194  PFJeteta->Fill(pfjetchsclus->eta());
195  PFJetphi->Fill(pfjetchsclus->phi());
196  PFJetRapidity->Fill(pfjetchsclus->rapidity());
197  nPFCHSJet++;
198  }
199  PFJetMulti->Fill(nPFCHSJet);
200  }
201 
202  std::vector<Jet> recoCastorJets;
203  recoCastorJets.clear();
205  // if(!iEvent.getByToken(tok_castorjet_, castorJets)) return;
206  iEvent.getByToken(tok_castorjet_, castorJets);
207  if (castorJets.isValid()) {
208  for (unsigned ijet = 0; ijet < castorJets->size(); ijet++) {
209  recoCastorJets.push_back((*castorJets)[ijet]);
210  }
211  for (unsigned ijet = 0; ijet < recoCastorJets.size(); ijet++) {
212  // cout<<recoCastorJets[ijet].pt()<<endl;
213  CastorJetphi->Fill(recoCastorJets[ijet].phi());
214 
215  CastorJetMulti->Fill(recoCastorJets.size());
216  }
217  }
219  // if(!iEvent.getByToken(tok_track_, itracks)) return;
220  iEvent.getByToken(tok_track_, itracks);
221  if (itracks.isValid()) {
223  std::vector<TLorentzVector> T_trackRec_P4;
224 
225  int ntracks = 0;
226  int ntracks_towards = 0;
227  int ntracks_transverse = 0;
228  int ntracks_away = 0;
229  float ptsum = 0;
230  float dphi = 0;
231  float ptsum_towards = 0;
232  float ptsum_transverse = 0;
233  float ptsum_away = 0;
234 
235  T_trackRec_P4.clear();
236  for (reco::TrackCollection::const_iterator iT = itracks->begin(); iT != itracks->end(); ++iT) {
237  if (iT->quality(hiPurity)) {
238  math::XYZPoint bestvtx(bestvx, bestvy, bestvz);
239  double dzvtx = iT->dz(bestvtx);
240  double dxyvtx = iT->dxy(bestvtx);
241  double dzerror = sqrt(iT->dzError() * iT->dzError() + bestvzError * bestvzError);
242  double dxyerror = sqrt(iT->d0Error() * iT->d0Error() + bestvxError * bestvyError);
243  if ((iT->ptError()) / iT->pt() < 0.05 && dzvtx < 3.0 && dxyvtx < 3.0) {
244  TLorentzVector trk;
245  trk.SetPtEtaPhiE(iT->pt(), iT->eta(), iT->phi(), iT->p());
246  T_trackRec_P4.push_back(trk);
247  Track_HP_Eta->Fill(iT->eta());
248  Track_HP_Phi->Fill(iT->phi());
249  Track_HP_Pt->Fill(iT->pt());
250  Track_HP_ptErr_over_pt->Fill((iT->ptError()) / iT->pt());
251  Track_HP_dzvtx_over_dzerr->Fill(dzvtx / dzerror);
252  Track_HP_dxyvtx_over_dxyerror->Fill(dxyvtx / dxyerror);
253  }
254  }
255  }
256 
257  float highest_pt_track = -999;
258  int index = -999;
259  for (unsigned int k = 0; k < T_trackRec_P4.size(); k++) {
260  if (T_trackRec_P4.at(k).Pt() > highest_pt_track) {
261  highest_pt_track = T_trackRec_P4.at(k).Pt();
262  index = k;
263  }
264  }
265  unsigned int finalid = abs(index);
266  // if(T_trackRec_P4.at(index).Pt()!=0.){
267  if (finalid < T_trackRec_P4.size()) {
268  // std::sort(T_trackRec_P4.begin(), T_trackRec_P4.end(), SortByPt());
269  for (unsigned int itrk = 0; itrk < T_trackRec_P4.size(); itrk++) {
270  ++ntracks;
271  ptsum = ptsum + T_trackRec_P4.at(itrk).Pt();
272  dphi = deltaPhi(T_trackRec_P4.at(itrk).Phi(), T_trackRec_P4.at(index).Phi());
273  if (fabs(dphi) < 1.05) {
274  ++ntracks_towards;
275  ptsum_towards = ptsum_towards + T_trackRec_P4.at(itrk).Pt();
276  }
277  if (fabs(dphi) > 1.05 && fabs(dphi) < 2.09) {
278  ++ntracks_transverse;
279  ptsum_transverse = ptsum_transverse + T_trackRec_P4.at(itrk).Pt();
280  }
281  if (fabs(dphi) > 2.09) {
282  ++ntracks_away;
283  ptsum_away = ptsum_away + T_trackRec_P4.at(itrk).Pt();
284  }
285  }
286 
288  h_trkptsum->Fill(ptsum);
289  h_ptsum_towards->Fill(ptsum_towards);
290  h_ptsum_transverse->Fill(ptsum_transverse);
291  h_ptsum_away->Fill(ptsum_away);
292  h_ntracks_towards->Fill(ntracks_towards);
293  h_ntracks_transverse->Fill(ntracks_transverse);
294  h_ntracks_away->Fill(ntracks_away);
295 
296  if (!T_trackRec_P4.empty()) {
297  h_leadingtrkpt_ntrk_towards->Fill(T_trackRec_P4.at(index).Pt(), ntracks_towards / 8.37);
298  h_leadingtrkpt_ntrk_transverse->Fill(T_trackRec_P4.at(index).Pt(), ntracks_transverse / 8.37);
299  h_leadingtrkpt_ntrk_away->Fill(T_trackRec_P4.at(index).Pt(), ntracks_away / 8.37);
300  h_leadingtrkpt_ptsum_towards->Fill(T_trackRec_P4.at(index).Pt(), ptsum_towards / 8.37);
301  h_leadingtrkpt_ptsum_transverse->Fill(T_trackRec_P4.at(index).Pt(), ptsum_transverse / 8.37);
302  h_leadingtrkpt_ptsum_away->Fill(T_trackRec_P4.at(index).Pt(), ptsum_away / 8.37);
303  }
304  }
305  }
306 } //analyze
unsigned int lumiNumber_
Definition: FSQDQM.h:98
edm::EDGetTokenT< reco::BasicJetCollection > tok_castorjet_
Definition: FSQDQM.h:95
MonitorElement * h_leadingtrkpt_ntrk_transverse
Definition: FSQDQM.h:131
double z() const
z coordinate
Definition: Vertex.h:133
bool isFake() const
Definition: Vertex.h:76
MonitorElement * PV_d0
Definition: FSQDQM.h:117
TrackQuality
track quality
Definition: TrackBase.h:150
MonitorElement * NPV
Definition: FSQDQM.h:115
const Point & position() const
position
Definition: Vertex.h:127
MonitorElement * PV_numTrks
Definition: FSQDQM.h:118
MonitorElement * Track_HP_dxyvtx_over_dxyerror
Definition: FSQDQM.h:114
MonitorElement * h_ptsum_transverse
Definition: FSQDQM.h:121
MonitorElement * h_ntracks_away
Definition: FSQDQM.h:125
T const * product() const
Definition: Handle.h:70
MonitorElement * h_ptsum_towards
Definition: FSQDQM.h:120
MonitorElement * h_ntracks
Definition: FSQDQM.h:127
MonitorElement * PFJetMulti
Definition: FSQDQM.h:107
MonitorElement * h_ntracks_towards
Definition: FSQDQM.h:123
double zError() const
error on z
Definition: Vertex.h:141
MonitorElement * Track_HP_Phi
Definition: FSQDQM.h:109
double xError() const
error on x
Definition: Vertex.h:137
unsigned int runNumber_
Definition: FSQDQM.h:98
trackRef_iterator tracks_end() const
last iterator over tracks
Definition: Vertex.h:110
size_t tracksSize() const
number of tracks
Definition: Vertex.h:112
void Fill(long long x)
MonitorElement * PV_sumTrks
Definition: FSQDQM.h:119
MonitorElement * Track_HP_Eta
Definition: FSQDQM.h:110
int iEvent
Definition: GenABIO.cc:224
MonitorElement * PFJetRapidity
Definition: FSQDQM.h:108
MonitorElement * h_trkptsum
Definition: FSQDQM.h:126
MonitorElement * h_leadingtrkpt_ptsum_away
Definition: FSQDQM.h:132
MonitorElement * PFJetphi
Definition: FSQDQM.h:103
T sqrt(T t)
Definition: SSEVec.h:19
edm::EDGetTokenT< edm::View< reco::Vertex > > pvs_
Definition: FSQDQM.h:92
edm::EDGetTokenT< reco::PFJetCollection > tok_pfjet_
Definition: FSQDQM.h:94
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
trackRef_iterator tracks_begin() const
first iterator over tracks
Definition: Vertex.h:108
double x() const
x coordinate
Definition: Vertex.h:129
MonitorElement * h_leadingtrkpt_ptsum_towards
Definition: FSQDQM.h:133
unsigned int eventNumber_
Definition: FSQDQM.h:98
double y() const
y coordinate
Definition: Vertex.h:131
MonitorElement * PFJeteta
Definition: FSQDQM.h:102
MonitorElement * CastorJetphi
Definition: FSQDQM.h:105
MonitorElement * h_leadingtrkpt_ntrk_towards
Definition: FSQDQM.h:130
unsigned int bxNumber_
Definition: FSQDQM.h:98
double normalizedChi2() const
chi-squared divided by n.d.o.f.
Definition: Vertex.h:125
MonitorElement * PFJetpt
Definition: FSQDQM.h:101
static TrackQuality qualityByName(const std::string &name)
Definition: TrackBase.cc:126
MonitorElement * h_leadingtrkpt_ptsum_transverse
Definition: FSQDQM.h:134
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
MonitorElement * Track_HP_Pt
Definition: FSQDQM.h:111
bool isValid() const
Definition: HandleBase.h:70
edm::EDGetTokenT< reco::TrackCollection > tok_track_
Definition: FSQDQM.h:93
std::vector< PFJet > PFJetCollection
collection of PFJet objects
MonitorElement * Track_HP_dzvtx_over_dzerr
Definition: FSQDQM.h:113
MonitorElement * PV_chi2
Definition: FSQDQM.h:116
fixed size matrix
HLT enums.
double yError() const
error on y
Definition: Vertex.h:139
MonitorElement * CastorJetMulti
Definition: FSQDQM.h:106
MonitorElement * h_ptsum_away
Definition: FSQDQM.h:122
MonitorElement * h_leadingtrkpt_ntrk_away
Definition: FSQDQM.h:129
std::vector< TrackBaseRef >::const_iterator trackRef_iterator
The iteratator for the vector<TrackRef>
Definition: Vertex.h:38
MonitorElement * h_ntracks_transverse
Definition: FSQDQM.h:124
MonitorElement * Track_HP_ptErr_over_pt
Definition: FSQDQM.h:112

◆ bookHistograms()

void FSQDQM::bookHistograms ( DQMStore::IBooker bei,
edm::Run const &  ,
edm::EventSetup const &   
)
overrideprivatevirtual

Implements DQMEDAnalyzer.

Definition at line 101 of file FSQDQM.cc.

References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::bookProfile(), and dqm::implementation::NavigatorBase::setCurrentFolder().

101  {
102  bei.setCurrentFolder("Physics/FSQ");
103  PFJetpt = bei.book1D("PFJetpt", ";p_{T}(PFJet)", 100, 0.0, 100);
104  PFJeteta = bei.book1D("PFJeteta", ";#eta(PFJet)", 50, -2.5, 2.5);
105  PFJetphi = bei.book1D("PFJetphi", ";#phi(PFJet)", 50, -3.14, 3.14);
106  PFJetMulti = bei.book1D("PFJetMulti", ";No. of PFJets", 10, -0.5, 9.5);
107  PFJetRapidity = bei.book1D("PFJetRapidity", ";PFJetRapidity", 50, -6.0, 6.0);
108  CastorJetphi = bei.book1D("CastorJetphi", ";#phi(CastorJet)", 50, -3.14, 3.14);
109  CastorJetMulti = bei.book1D("CastorJetMulti", ";No. of CastorJets", 10, -0.5, 9.5);
110  Track_HP_Phi = bei.book1D("Track_HP_Phi", ";#phi(HPtrack)", 50, -3.14, 3.14);
111  Track_HP_Eta = bei.book1D("Track_HP_Eta", ";#eta(HPtrack)", 50, -2.5, 2.5);
112  Track_HP_Pt = bei.book1D("Track_HP_Pt", ";p_{T}(HPtrack)", 500, 0.0, 50);
113  Track_HP_ptErr_over_pt = bei.book1D("Track_HP_ptErr_over_pt", ";{p_{T}Err}/p_{T}", 100, 0, 0.1);
114  Track_HP_dzvtx_over_dzerr = bei.book1D("Track_HP_dzvtx_over_dzerr", ";dZerr/dZ", 100, -10, 10);
115  Track_HP_dxyvtx_over_dxyerror = bei.book1D("Track_HP_dxyvtx_over_dxyerror", ";dxyErr/dxy", 100, -10, 10);
116  NPV = bei.book1D("NPV", ";NPV", 10, -0.5, 9.5);
117  PV_chi2 = bei.book1D("PV_chi2", ";PV_chi2", 100, 0.0, 2.0);
118  PV_d0 = bei.book1D("PV_d0", ";PV_d0", 100, -10.0, 10.0);
119  PV_numTrks = bei.book1D("PV_numTrks", ";PV_numTrks", 100, -0.5, 99.5);
120  PV_sumTrks = bei.book1D("PV_sumTrks", ";PV_sumTrks", 100, 0, 100);
121  h_ptsum_towards = bei.book1D("h_ptsum_towards", ";h_ptsum_towards", 100, 0, 100);
122  h_ptsum_transverse = bei.book1D("h_ptsum_transverse", ";h_ptsum_transverse", 100, 0, 100);
123 
124  h_ntracks = bei.book1D("h_ntracks", ";h_ntracks", 50, -0.5, 49.5);
125  h_trkptsum = bei.book1D("h_trkptsum", ";h_trkptsum", 100, 0, 100);
126  h_ptsum_away = bei.book1D("h_ptsum_away", ";h_ptsum_away", 100, 0, 100);
127  h_ntracks_towards = bei.book1D("h_ntracks_towards", ";h_ntracks_towards", 50, -0.5, 49.5);
128  h_ntracks_transverse = bei.book1D("h_ntracks_transverse", ";h_ntracks_transverse", 50, -0.5, 49.5);
129  h_ntracks_away = bei.book1D("h_ntracks_away", ";h_ntracks_away", 50, -0.5, 49.5);
130 
132  bei.bookProfile("h_leadingtrkpt_ntrk_away", "h_leadingtrkpt_ntrk_away", 50, 0.0, 50, 0, 30, " ");
134  bei.bookProfile("h_leadingtrkpt_ntrk_towards", "h_leadingtrkpt_ntrk_towards", 50, 0.0, 50, 0, 30, " ");
136  bei.bookProfile("h_leadingtrkpt_ntrk_transverse", "h_leadingtrkpt_ntrk_transverse", 50, 0.0, 50, 0, 30, " ");
138  bei.bookProfile("h_leadingtrkpt_ptsum_away", "h_leadingtrkpt_ptsum_away", 50, 0.0, 50, 0, 30, " ");
140  bei.bookProfile("h_leadingtrkpt_ptsum_towards", "h_leadingtrkpt_ptsum_towards", 50, 0.0, 50, 0, 30, " ");
142  bei.bookProfile("h_leadingtrkpt_ptsum_transverse", "h_leadingtrkpt_ptsum_transverse", 50, 0.0, 50, 0, 30, " ");
143 }
MonitorElement * h_leadingtrkpt_ntrk_transverse
Definition: FSQDQM.h:131
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:32
MonitorElement * PV_d0
Definition: FSQDQM.h:117
MonitorElement * NPV
Definition: FSQDQM.h:115
MonitorElement * PV_numTrks
Definition: FSQDQM.h:118
MonitorElement * Track_HP_dxyvtx_over_dxyerror
Definition: FSQDQM.h:114
MonitorElement * h_ptsum_transverse
Definition: FSQDQM.h:121
MonitorElement * h_ntracks_away
Definition: FSQDQM.h:125
MonitorElement * h_ptsum_towards
Definition: FSQDQM.h:120
MonitorElement * h_ntracks
Definition: FSQDQM.h:127
MonitorElement * PFJetMulti
Definition: FSQDQM.h:107
MonitorElement * h_ntracks_towards
Definition: FSQDQM.h:123
MonitorElement * Track_HP_Phi
Definition: FSQDQM.h:109
MonitorElement * PV_sumTrks
Definition: FSQDQM.h:119
MonitorElement * Track_HP_Eta
Definition: FSQDQM.h:110
MonitorElement * PFJetRapidity
Definition: FSQDQM.h:108
MonitorElement * h_trkptsum
Definition: FSQDQM.h:126
MonitorElement * h_leadingtrkpt_ptsum_away
Definition: FSQDQM.h:132
MonitorElement * bookProfile(TString const &name, TString const &title, int nchX, double lowX, double highX, int, double lowY, double highY, char const *option="s", FUNC onbooking=NOOP())
Definition: DQMStore.h:399
MonitorElement * PFJetphi
Definition: FSQDQM.h:103
MonitorElement * h_leadingtrkpt_ptsum_towards
Definition: FSQDQM.h:133
MonitorElement * PFJeteta
Definition: FSQDQM.h:102
MonitorElement * CastorJetphi
Definition: FSQDQM.h:105
MonitorElement * h_leadingtrkpt_ntrk_towards
Definition: FSQDQM.h:130
MonitorElement * PFJetpt
Definition: FSQDQM.h:101
MonitorElement * h_leadingtrkpt_ptsum_transverse
Definition: FSQDQM.h:134
MonitorElement * Track_HP_Pt
Definition: FSQDQM.h:111
MonitorElement * Track_HP_dzvtx_over_dzerr
Definition: FSQDQM.h:113
MonitorElement * PV_chi2
Definition: FSQDQM.h:116
MonitorElement * CastorJetMulti
Definition: FSQDQM.h:106
MonitorElement * h_ptsum_away
Definition: FSQDQM.h:122
MonitorElement * h_leadingtrkpt_ntrk_away
Definition: FSQDQM.h:129
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 * h_ntracks_transverse
Definition: FSQDQM.h:124
MonitorElement * Track_HP_ptErr_over_pt
Definition: FSQDQM.h:112

◆ bookHistos()

void FSQDQM::bookHistos ( DQMStore bei)
private

Member Data Documentation

◆ bxNumber_

unsigned int FSQDQM::bxNumber_
private

Definition at line 98 of file FSQDQM.h.

◆ CastorJetMulti

MonitorElement* FSQDQM::CastorJetMulti
private

Definition at line 106 of file FSQDQM.h.

◆ CastorJetphi

MonitorElement* FSQDQM::CastorJetphi
private

Definition at line 105 of file FSQDQM.h.

◆ eventNumber_

unsigned int FSQDQM::eventNumber_
private

Definition at line 98 of file FSQDQM.h.

◆ h_leadingtrkpt_ntrk_away

MonitorElement* FSQDQM::h_leadingtrkpt_ntrk_away
private

Definition at line 129 of file FSQDQM.h.

◆ h_leadingtrkpt_ntrk_towards

MonitorElement* FSQDQM::h_leadingtrkpt_ntrk_towards
private

Definition at line 130 of file FSQDQM.h.

◆ h_leadingtrkpt_ntrk_transverse

MonitorElement* FSQDQM::h_leadingtrkpt_ntrk_transverse
private

Definition at line 131 of file FSQDQM.h.

◆ h_leadingtrkpt_ptsum_away

MonitorElement* FSQDQM::h_leadingtrkpt_ptsum_away
private

Definition at line 132 of file FSQDQM.h.

◆ h_leadingtrkpt_ptsum_towards

MonitorElement* FSQDQM::h_leadingtrkpt_ptsum_towards
private

Definition at line 133 of file FSQDQM.h.

◆ h_leadingtrkpt_ptsum_transverse

MonitorElement* FSQDQM::h_leadingtrkpt_ptsum_transverse
private

Definition at line 134 of file FSQDQM.h.

◆ h_ntracks

MonitorElement* FSQDQM::h_ntracks
private

Definition at line 127 of file FSQDQM.h.

◆ h_ntracks_away

MonitorElement* FSQDQM::h_ntracks_away
private

Definition at line 125 of file FSQDQM.h.

◆ h_ntracks_towards

MonitorElement* FSQDQM::h_ntracks_towards
private

Definition at line 123 of file FSQDQM.h.

◆ h_ntracks_transverse

MonitorElement* FSQDQM::h_ntracks_transverse
private

Definition at line 124 of file FSQDQM.h.

◆ h_ptsum_away

MonitorElement* FSQDQM::h_ptsum_away
private

Definition at line 122 of file FSQDQM.h.

◆ h_ptsum_towards

MonitorElement* FSQDQM::h_ptsum_towards
private

Definition at line 120 of file FSQDQM.h.

◆ h_ptsum_transverse

MonitorElement* FSQDQM::h_ptsum_transverse
private

Definition at line 121 of file FSQDQM.h.

◆ h_trkptsum

MonitorElement* FSQDQM::h_trkptsum
private

Definition at line 126 of file FSQDQM.h.

◆ hltresults

std::vector<int> FSQDQM::hltresults
private

Definition at line 97 of file FSQDQM.h.

◆ labelBS_

std::string FSQDQM::labelBS_
private

Definition at line 91 of file FSQDQM.h.

◆ labelCastorJet_

std::string FSQDQM::labelCastorJet_
private

Definition at line 91 of file FSQDQM.h.

◆ labelPFJet_

std::string FSQDQM::labelPFJet_
private

Definition at line 91 of file FSQDQM.h.

◆ labelTrack_

std::string FSQDQM::labelTrack_
private

Definition at line 91 of file FSQDQM.h.

◆ lumiNumber_

unsigned int FSQDQM::lumiNumber_
private

Definition at line 98 of file FSQDQM.h.

◆ NPV

MonitorElement* FSQDQM::NPV
private

Definition at line 115 of file FSQDQM.h.

◆ PFJeteta

MonitorElement* FSQDQM::PFJeteta
private

Definition at line 102 of file FSQDQM.h.

◆ PFJetMulti

MonitorElement* FSQDQM::PFJetMulti
private

Definition at line 107 of file FSQDQM.h.

◆ PFJetphi

MonitorElement* FSQDQM::PFJetphi
private

Definition at line 103 of file FSQDQM.h.

◆ PFJetpt

MonitorElement* FSQDQM::PFJetpt
private

Definition at line 101 of file FSQDQM.h.

◆ PFJetRapidity

MonitorElement* FSQDQM::PFJetRapidity
private

Definition at line 108 of file FSQDQM.h.

◆ PV_chi2

MonitorElement* FSQDQM::PV_chi2
private

Definition at line 116 of file FSQDQM.h.

◆ PV_d0

MonitorElement* FSQDQM::PV_d0
private

Definition at line 117 of file FSQDQM.h.

◆ PV_numTrks

MonitorElement* FSQDQM::PV_numTrks
private

Definition at line 118 of file FSQDQM.h.

◆ PV_sumTrks

MonitorElement* FSQDQM::PV_sumTrks
private

Definition at line 119 of file FSQDQM.h.

◆ pvs_

edm::EDGetTokenT<edm::View<reco::Vertex> > FSQDQM::pvs_
private

Definition at line 92 of file FSQDQM.h.

◆ runNumber_

unsigned int FSQDQM::runNumber_
private

Definition at line 98 of file FSQDQM.h.

◆ tok_castorjet_

edm::EDGetTokenT<reco::BasicJetCollection> FSQDQM::tok_castorjet_
private

Definition at line 95 of file FSQDQM.h.

◆ tok_pfjet_

edm::EDGetTokenT<reco::PFJetCollection> FSQDQM::tok_pfjet_
private

Definition at line 94 of file FSQDQM.h.

◆ tok_track_

edm::EDGetTokenT<reco::TrackCollection> FSQDQM::tok_track_
private

Definition at line 93 of file FSQDQM.h.

◆ Track_HP_dxyvtx_over_dxyerror

MonitorElement* FSQDQM::Track_HP_dxyvtx_over_dxyerror
private

Definition at line 114 of file FSQDQM.h.

◆ Track_HP_dzvtx_over_dzerr

MonitorElement* FSQDQM::Track_HP_dzvtx_over_dzerr
private

Definition at line 113 of file FSQDQM.h.

◆ Track_HP_Eta

MonitorElement* FSQDQM::Track_HP_Eta
private

Definition at line 110 of file FSQDQM.h.

◆ Track_HP_Phi

MonitorElement* FSQDQM::Track_HP_Phi
private

Definition at line 109 of file FSQDQM.h.

◆ Track_HP_Pt

MonitorElement* FSQDQM::Track_HP_Pt
private

Definition at line 111 of file FSQDQM.h.

◆ Track_HP_ptErr_over_pt

MonitorElement* FSQDQM::Track_HP_ptErr_over_pt
private

Definition at line 112 of file FSQDQM.h.

◆ vertex_

edm::InputTag FSQDQM::vertex_
private

Definition at line 90 of file FSQDQM.h.