CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Types | Private Member Functions | Private Attributes
QcdUeDQM Class Reference

#include <QcdUeDQM.h>

Inheritance diagram for QcdUeDQM:
edm::EDAnalyzer edm::EDConsumerBase

Public Member Functions

void analyze (const edm::Event &iEvent, const edm::EventSetup &iSetup)
 
void beginJob (void)
 
void beginLuminosityBlock (const edm::LuminosityBlock &l, const edm::EventSetup &iSetup)
 
void beginRun (const edm::Run &r, const edm::EventSetup &iSetup)
 
void endJob (void)
 
void endLuminosityBlock (const edm::LuminosityBlock &l, const edm::EventSetup &iSetup)
 
void endRun (const edm::Run &r, const edm::EventSetup &iSetup)
 
 QcdUeDQM (const edm::ParameterSet &parameters)
 
virtual ~QcdUeDQM ()
 
- Public Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
virtual ~EDAnalyzer ()
 
- Public Member Functions inherited from edm::EDConsumerBase
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Private Types

typedef std::vector< const
reco::Track * > 
container
 

Private Member Functions

void book1D (std::vector< MonitorElement * > &mes, const std::string &name, const std::string &title, int nx, double x1, double x2, bool sumw2=1, bool sbox=1)
 
void book2D (std::vector< MonitorElement * > &mes, const std::string &name, const std::string &title, int nx, double x1, double x2, int ny, double y1, double y2, bool sumw2=1, bool sbox=1)
 
void bookProfile (std::vector< MonitorElement * > &mes, const std::string &name, const std::string &title, int nx, double x1, double x2, double y1, double y2, bool sumw2=1, bool sbox=1)
 
void create1D (std::vector< TH1F * > &mes, const std::string &name, const std::string &title, int nx, double x1, double x2, bool sumw2=1, bool sbox=1)
 
void create2D (std::vector< TH2F * > &mes, const std::string &name, const std::string &title, int nx, double x1, double x2, int ny, double y1, double y2, bool sumw2=1, bool sbox=1)
 
void createHistos ()
 
void createProfile (std::vector< TProfile * > &mes, const std::string &name, const std::string &title, int nx, double x1, double x2, double y1, double y2, bool sumw2=1, bool sbox=1)
 
void fill1D (std::vector< TH1F * > &hs, double val, double w=1.)
 
void fill1D (std::vector< MonitorElement * > &mes, double val, double w=1.)
 
void fill2D (std::vector< TH2F * > &hs, double valx, double valy, double w=1.)
 
void fill2D (std::vector< MonitorElement * > &mes, double valx, double valy, double w=1.)
 
void fill3D (std::vector< TH3F * > &hs, int gbin, double w=1.)
 
void fillChargedJetSpectra (const edm::Handle< reco::TrackJetCollection > trackJets)
 
void fillHltBits (const edm::Event &iEvent, const edm::EventSetup &iSetup)
 
void fillProfile (std::vector< TProfile * > &hs, double valx, double valy, double w=1.)
 
void fillProfile (std::vector< MonitorElement * > &mes, double valx, double valy, double w=1.)
 
void fillpTMaxRelated (const std::vector< const reco::Track * > &track)
 
void fillUE_with_ChargedJets (const std::vector< const reco::Track * > &track, const edm::Handle< reco::TrackJetCollection > &trackJets)
 
void fillUE_with_MaxpTtrack (const std::vector< const reco::Track * > &track)
 
bool fillVtxPlots (const reco::BeamSpot *bs, const edm::Handle< reco::VertexCollection > vtxColl)
 
template<typename TYPE >
void getProduct (const std::string name, edm::Handle< TYPE > &prod, const edm::Event &event) const
 
template<typename TYPE >
bool getProductSafe (const std::string name, edm::Handle< TYPE > &prod, const edm::Event &event) const
 
void setLabel1D (std::vector< MonitorElement * > &mes)
 
bool trackSelection (const reco::Track &trk, const reco::BeamSpot *bs, const reco::Vertex &vtx, int sizevtx)
 

Private Attributes

std::vector
< reco::TrackBase::TrackAlgorithm
algorithm_
 
bool allowTriplets_
 
edm::EDGetTokenT< reco::BeamSpotbsLabel_
 
double bsPos_
 
bool bsuse_
 
edm::EDGetTokenT
< reco::CaloJetCollection
caloJetLabel_
 
edm::EDGetTokenT
< reco::TrackJetCollection
chargedJetLabel_
 
double diffvtxbs_
 
MonitorElementh2TrigCorr_
 
std::vector< MonitorElement * > hBeamSpot_x_
 
std::vector< MonitorElement * > hBeamSpot_y_
 
std::vector< MonitorElement * > hBeamSpot_z_
 
std::vector< MonitorElement * > hChargedJetConstituent_
 
std::vector< MonitorElement * > hChargedJetMulti_
 
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Away500_
 
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Away900_
 
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Toward500_
 
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Toward900_
 
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Transverse500_
 
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Transverse900_
 
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Away500_
 
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Away900_
 
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Toward500_
 
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Toward900_
 
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Transverse500_
 
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Transverse900_
 
std::vector< MonitorElement * > hdPhi_chargedJet_tracks_
 
std::vector< MonitorElement * > hdPhi_maxpTTrack_tracks_
 
std::vector< MonitorElement * > hGoodTrkEta500_
 
std::vector< MonitorElement * > hGoodTrkEta900_
 
std::vector< MonitorElement * > hGoodTrkPhi500_
 
std::vector< MonitorElement * > hGoodTrkPhi900_
 
std::vector< MonitorElement * > hGoodTrkPt500_
 
std::vector< MonitorElement * > hGoodTrkPt900_
 
std::vector< MonitorElement * > hLeadingChargedJet_etaSpectrum_
 
std::vector< MonitorElement * > hLeadingChargedJet_phiSpectrum_
 
std::vector< MonitorElement * > hLeadingChargedJet_pTSpectrum_
 
std::vector< MonitorElement * > hLeadingTrack_etaSpectrum_
 
std::vector< MonitorElement * > hLeadingTrack_phiSpectrum_
 
std::vector< MonitorElement * > hLeadingTrack_pTSpectrum_
 
HLTConfigProvider hltConfig
 
std::vector< std::string > hltProcNames_
 
std::string hltResName_
 
std::vector< int > hltTrgBits_
 
std::vector< bool > hltTrgDeci_
 
std::vector< std::string > hltTrgNames_
 
std::vector< std::string > hltTrgUsedNames_
 
std::string hltUsedResName_
 
std::vector< MonitorElement * > hNevts_
 
std::vector< MonitorElement * > hNgoodTrk_
 
std::vector< MonitorElement * > hNtrackerLayer_
 
std::vector< MonitorElement * > hNtrackerPixelLayer_
 
std::vector< MonitorElement * > hNtrackerStripPixelLayer_
 
std::vector< MonitorElement * > hNvertices_
 
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Away500_
 
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Away900_
 
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Toward500_
 
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Toward900_
 
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Transverse500_
 
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Transverse900_
 
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Away500_
 
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Away900_
 
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Toward500_
 
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Toward900_
 
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Transverse500_
 
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Transverse900_
 
std::vector< MonitorElement * > hRatioDxySigmaDxyBS_
 
std::vector< MonitorElement * > hRatioDxySigmaDxyPV_
 
std::vector< MonitorElement * > hRatioDzSigmaDzBS_
 
std::vector< MonitorElement * > hRatioDzSigmaDzPV_
 
std::vector< MonitorElement * > hRatioPtErrorPt_
 
std::vector< MonitorElement * > hTrkChi2_
 
std::vector< MonitorElement * > hTrkEta_
 
std::vector< MonitorElement * > hTrkNdof_
 
std::vector< MonitorElement * > hTrkPhi_
 
std::vector< MonitorElement * > hTrkPt_
 
std::vector< MonitorElement * > hVertex_ndof_
 
std::vector< MonitorElement * > hVertex_rho_
 
std::vector< MonitorElement * > hVertex_x_
 
std::vector< MonitorElement * > hVertex_y_
 
std::vector< MonitorElement * > hVertex_z_
 
std::vector< MonitorElement * > hVertex_z_bs_
 
bool isHltConfigSuccessful_
 
double lip_
 
double maxChi2_
 
double maxRapidity_
 
int min3DHit_
 
int minHit_
 
double minRapidity_
 
double ptErr_pt_
 
double ptMin_
 
double pxlLayerMinCut_
 
std::vector
< reco::TrackBase::TrackQuality
quality_
 
MonitorElementrepSumMap_
 
MonitorElementrepSummary_
 
bool requirePIX1_
 
container selected_
 
const TrackerGeometrytgeo_
 
DQMStoretheDbe_
 
double tip_
 
edm::EDGetTokenT
< reco::TrackCollection
trackLabel_
 
int verbose_
 
reco::Vertex vtx1
 
edm::EDGetTokenT
< reco::VertexCollection
vtxLabel_
 
double vtxntk_
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Detailed Description

Definition at line 51 of file QcdUeDQM.h.

Member Typedef Documentation

typedef std::vector<const reco::Track *> QcdUeDQM::container
private

Definition at line 427 of file QcdUeDQM.h.

Constructor & Destructor Documentation

QcdUeDQM::QcdUeDQM ( const edm::ParameterSet parameters)

Definition at line 55 of file QcdUeDQM.cc.

References reco::TrackBase::algoByName(), algorithm(), algorithm_, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), hltProcNames_, hltTrgNames_, isHltConfigSuccessful_, j, quality_, and reco::TrackBase::qualityByName().

56  : hltResName_(parameters.getUntrackedParameter<string>("hltTrgResults")),
57  verbose_(parameters.getUntrackedParameter<int>("verbose", 3)),
58  tgeo_(0),
59  theDbe_(0),
60  repSumMap_(0),
61  repSummary_(0),
62  h2TrigCorr_(0),
63  ptMin_(parameters.getParameter<double>("ptMin")),
64  minRapidity_(parameters.getParameter<double>("minRapidity")),
65  maxRapidity_(parameters.getParameter<double>("maxRapidity")),
66  tip_(parameters.getParameter<double>("tip")),
67  lip_(parameters.getParameter<double>("lip")),
68  diffvtxbs_(parameters.getParameter<double>("diffvtxbs")),
69  ptErr_pt_(parameters.getParameter<double>("ptErr_pt")),
70  vtxntk_(parameters.getParameter<double>("vtxntk")),
71  minHit_(parameters.getParameter<int>("minHit")),
72  pxlLayerMinCut_(parameters.getParameter<double>("pxlLayerMinCut")),
73  requirePIX1_(parameters.getParameter<bool>("requirePIX1")),
74  min3DHit_(parameters.getParameter<int>("min3DHit")),
75  maxChi2_(parameters.getParameter<double>("maxChi2")),
76  bsuse_(parameters.getParameter<bool>("bsuse")),
77  allowTriplets_(parameters.getParameter<bool>("allowTriplets")),
78  bsPos_(parameters.getParameter<double>("bsPos")),
79  caloJetLabel_(consumes<reco::CaloJetCollection>(
80  parameters.getUntrackedParameter<edm::InputTag>("caloJetTag"))),
81  chargedJetLabel_(consumes<reco::TrackJetCollection>(
82  parameters.getUntrackedParameter<edm::InputTag>("chargedJetTag"))),
83  trackLabel_(consumes<reco::TrackCollection>(
84  parameters.getUntrackedParameter<edm::InputTag>("trackTag"))),
85  vtxLabel_(consumes<reco::VertexCollection>(
86  parameters.getUntrackedParameter<edm::InputTag>("vtxTag"))),
87  bsLabel_(consumes<reco::BeamSpot>(
88  parameters.getParameter<edm::InputTag>("beamSpotTag"))) {
89  // Constructor.
90  std::vector<std::string> quality =
91  parameters.getParameter<std::vector<std::string> >("quality");
92  for (unsigned int j = 0; j < quality.size(); j++)
93  quality_.push_back(reco::TrackBase::qualityByName(quality[j]));
94  std::vector<std::string> algorithm =
95  parameters.getParameter<std::vector<std::string> >("algorithm");
96  for (unsigned int j = 0; j < algorithm.size(); j++)
97  algorithm_.push_back(reco::TrackBase::algoByName(algorithm[j]));
98 
99  if (parameters.exists("hltTrgNames"))
100  hltTrgNames_ =
101  parameters.getUntrackedParameter<vector<string> >("hltTrgNames");
102 
103  if (parameters.exists("hltProcNames"))
104  hltProcNames_ =
105  parameters.getUntrackedParameter<vector<string> >("hltProcNames");
106  else {
107  // hltProcNames_.push_back("FU");
108  hltProcNames_.push_back("HLT");
109  }
110 
111  isHltConfigSuccessful_ = false; // init
112 }
bool bsuse_
Definition: QcdUeDQM.h:417
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
< trclass="colgroup">< tdclass="colgroup"colspan=5 > Ecal cluster collections</td ></tr >< tr >< td >< ahref="classreco_1_1BasicCluster.html"> reco::BasicCluster</a ></td >< td >< ahref="DataFormats_EgammaReco.html"> reco::BasicClusterCollection</a ></td >< td >< ahref="#"> hybridSuperClusters</a ></td >< tdclass="description"> Basic clusters reconstructed with hybrid algorithm(barrel only)</td >< td >S.Rahatlou</td ></tr >< tr >< td >< a href
int verbose_
Definition: QcdUeDQM.h:139
bool exists(std::string const &parameterName) const
checks if a parameter exists
edm::EDGetTokenT< reco::TrackCollection > trackLabel_
Definition: QcdUeDQM.h:422
edm::EDGetTokenT< reco::CaloJetCollection > caloJetLabel_
Definition: QcdUeDQM.h:420
double ptErr_pt_
Definition: QcdUeDQM.h:410
bool requirePIX1_
Definition: QcdUeDQM.h:414
bool isHltConfigSuccessful_
Definition: QcdUeDQM.h:67
std::vector< std::string > hltTrgNames_
Definition: QcdUeDQM.h:133
edm::EDGetTokenT< reco::TrackJetCollection > chargedJetLabel_
Definition: QcdUeDQM.h:421
MonitorElement * repSumMap_
Definition: QcdUeDQM.h:142
std::vector< std::string > hltProcNames_
Definition: QcdUeDQM.h:132
std::string hltResName_
Definition: QcdUeDQM.h:131
MonitorElement * h2TrigCorr_
Definition: QcdUeDQM.h:144
double bsPos_
Definition: QcdUeDQM.h:419
double maxChi2_
Definition: QcdUeDQM.h:416
int j
Definition: DBlmapReader.cc:9
double lip_
Definition: QcdUeDQM.h:408
std::vector< reco::TrackBase::TrackAlgorithm > algorithm_
Definition: QcdUeDQM.h:426
edm::EDGetTokenT< reco::BeamSpot > bsLabel_
Definition: QcdUeDQM.h:424
edm::EDGetTokenT< reco::VertexCollection > vtxLabel_
Definition: QcdUeDQM.h:423
static TrackQuality qualityByName(const std::string &name)
Definition: TrackBase.cc:102
bool allowTriplets_
Definition: QcdUeDQM.h:418
double ptMin_
Definition: QcdUeDQM.h:404
MonitorElement * repSummary_
Definition: QcdUeDQM.h:143
double diffvtxbs_
Definition: QcdUeDQM.h:409
double minRapidity_
Definition: QcdUeDQM.h:405
int min3DHit_
Definition: QcdUeDQM.h:415
double pxlLayerMinCut_
Definition: QcdUeDQM.h:413
static TrackAlgorithm algoByName(const std::string &name)
Definition: TrackBase.cc:114
std::vector< reco::TrackBase::TrackQuality > quality_
Definition: QcdUeDQM.h:425
DQMStore * theDbe_
Definition: QcdUeDQM.h:141
double maxRapidity_
Definition: QcdUeDQM.h:406
const TrackerGeometry * tgeo_
Definition: QcdUeDQM.h:140
double vtxntk_
Definition: QcdUeDQM.h:411
int minHit_
Definition: QcdUeDQM.h:412
double tip_
Definition: QcdUeDQM.h:407
QcdUeDQM::~QcdUeDQM ( )
virtual

Definition at line 115 of file QcdUeDQM.cc.

115  {
116  // Destructor.
117 }

Member Function Documentation

void QcdUeDQM::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
virtual

Implements edm::EDAnalyzer.

Definition at line 120 of file QcdUeDQM.cc.

References SiPixelRawToDigiRegional_cfi::beamSpot, bsLabel_, caloJetLabel_, chargedJetLabel_, fill1D(), fillChargedJetSpectra(), fillHltBits(), fillpTMaxRelated(), fillUE_with_ChargedJets(), fillUE_with_MaxpTtrack(), fillVtxPlots(), edm::Event::getByToken(), hNevts_, isHltConfigSuccessful_, edm::Handle< T >::product(), selected_, python.multivaluedict::sort(), trackLabel_, testEve_cfg::tracks, trackSelection(), vtx1, and vtxLabel_.

120  {
121  if (!isHltConfigSuccessful_) return;
122 
123  // Analyze the given event.
124 
126  bool ValidBS_ = iEvent.getByToken(bsLabel_, beamSpot);
127  if (!ValidBS_) return;
128 
130  bool ValidTrack_ = iEvent.getByToken(trackLabel_, tracks);
131  if (!ValidTrack_) return;
132 
134  bool ValidTrackJet_ = iEvent.getByToken(chargedJetLabel_, trkJets);
135  if (!ValidTrackJet_) return;
136 
138  bool ValidCaloJet_ = iEvent.getByToken(caloJetLabel_, calJets);
139  if (!ValidCaloJet_) return;
140 
142  bool ValidVtxColl_ = iEvent.getByToken(vtxLabel_, vertexColl);
143  if (!ValidVtxColl_) return;
144 
145  reco::TrackCollection tracks_sort = *tracks;
146  std::sort(tracks_sort.begin(), tracks_sort.end(), PtSorter());
147 
148  // get tracker geometry
149  /* ESHandle<TrackerGeometry> trackerHandle;
150  iSetup.get<TrackerDigiGeometryRecord>().get(trackerHandle);
151  tgeo_ = trackerHandle.product();
152  if (!tgeo_)return;
153  */
154  selected_.clear();
155  fillHltBits(iEvent, iSetup);
156  // select good tracks
157  if (fillVtxPlots(beamSpot.product(), vertexColl)) {
158  fill1D(hNevts_, 1);
159  for (reco::TrackCollection::const_iterator Trk = tracks_sort.begin();
160  Trk != tracks_sort.end(); ++Trk) {
161 
162  if (trackSelection(*Trk, beamSpot.product(), vtx1, vertexColl->size()))
163  selected_.push_back(&*Trk);
164  }
165 
167  fillChargedJetSpectra(trkJets);
168  // fillCaloJetSpectra(calJets);
170  if (trkJets->size() > 0) fillUE_with_ChargedJets(selected_, trkJets);
171  // if(calJets->size()>0)fillUE_with_CaloJets(selected_,calJets);
172  }
173 }
void fillHltBits(const edm::Event &iEvent, const edm::EventSetup &iSetup)
Definition: QcdUeDQM.cc:1208
void fill1D(std::vector< TH1F * > &hs, double val, double w=1.)
Definition: QcdUeDQM.cc:673
bool trackSelection(const reco::Track &trk, const reco::BeamSpot *bs, const reco::Vertex &vtx, int sizevtx)
Definition: QcdUeDQM.cc:749
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:446
std::vector< Track > TrackCollection
collection of Tracks
Definition: TrackFwd.h:13
edm::EDGetTokenT< reco::TrackCollection > trackLabel_
Definition: QcdUeDQM.h:422
bool fillVtxPlots(const reco::BeamSpot *bs, const edm::Handle< reco::VertexCollection > vtxColl)
Definition: QcdUeDQM.cc:862
edm::EDGetTokenT< reco::CaloJetCollection > caloJetLabel_
Definition: QcdUeDQM.h:420
void fillUE_with_ChargedJets(const std::vector< const reco::Track * > &track, const edm::Handle< reco::TrackJetCollection > &trackJets)
Definition: QcdUeDQM.cc:1026
bool isHltConfigSuccessful_
Definition: QcdUeDQM.h:67
void fillUE_with_MaxpTtrack(const std::vector< const reco::Track * > &track)
Definition: QcdUeDQM.cc:943
edm::EDGetTokenT< reco::TrackJetCollection > chargedJetLabel_
Definition: QcdUeDQM.h:421
reco::Vertex vtx1
Definition: QcdUeDQM.h:429
edm::EDGetTokenT< reco::BeamSpot > bsLabel_
Definition: QcdUeDQM.h:424
edm::EDGetTokenT< reco::VertexCollection > vtxLabel_
Definition: QcdUeDQM.h:423
T const * product() const
Definition: Handle.h:81
tuple tracks
Definition: testEve_cfg.py:39
container selected_
Definition: QcdUeDQM.h:428
std::vector< MonitorElement * > hNevts_
Definition: QcdUeDQM.h:146
void fillChargedJetSpectra(const edm::Handle< reco::TrackJetCollection > trackJets)
Definition: QcdUeDQM.cc:906
void fillpTMaxRelated(const std::vector< const reco::Track * > &track)
Definition: QcdUeDQM.cc:887
void QcdUeDQM::beginJob ( void  )
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 176 of file QcdUeDQM.cc.

References cppFunctionSkipper::operator, and theDbe_.

176  {
177  // Begin job and setup the DQM store.
178 
180  if (!theDbe_) return;
181 
182  // theDbe_->setCurrentFolder("Physics/QcdUe");
183 }
DQMStore * theDbe_
Definition: QcdUeDQM.h:141
void QcdUeDQM::beginLuminosityBlock ( const edm::LuminosityBlock l,
const edm::EventSetup iSetup 
)
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 186 of file QcdUeDQM.cc.

References isHltConfigSuccessful_.

187  {
188  if (!isHltConfigSuccessful_) return;
189 
190  // At the moment, nothing needed to be done.
191 }
bool isHltConfigSuccessful_
Definition: QcdUeDQM.h:67
void QcdUeDQM::beginRun ( const edm::Run r,
const edm::EventSetup iSetup 
)
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 194 of file QcdUeDQM.cc.

References gather_cfg::cout, CP, createHistos(), newFWLiteAna::found, hltConfig, hltProcNames_, hltResName_, hltTrgBits_, hltTrgDeci_, hltTrgNames_, hltTrgUsedNames_, hltUsedResName_, i, HLTConfigProvider::init(), isHltConfigSuccessful_, j, HLTConfigProvider::size(), and HLTConfigProvider::triggerName().

194  {
195 
196  // indicating change of HLT cfg at run boundries
197  // for HLTConfigProvider::init()
198  bool isHltCfgChange = false;
199  isHltConfigSuccessful_ = false; // init
200 
201  string teststr;
202  for (size_t i = 0; i < hltProcNames_.size(); ++i) {
203  if (i > 0) teststr += ", ";
204  teststr += hltProcNames_.at(i);
205  if (hltConfig.init(run, iSetup, hltProcNames_.at(i), isHltCfgChange)) {
206  isHltConfigSuccessful_ = true;
208  if (hltResName_.find(':') == string::npos)
209  hltUsedResName_ += "::";
210  else
211  hltUsedResName_ += ":";
213  break;
214  }
215  }
216 
217  if (!isHltConfigSuccessful_) return;
218 
219  // setup "Any" bit
220  hltTrgBits_.clear();
221  hltTrgBits_.push_back(-1);
222  hltTrgDeci_.clear();
223  hltTrgDeci_.push_back(true);
224  hltTrgUsedNames_.clear();
225  hltTrgUsedNames_.push_back("Any");
226 
227  // figure out relation of trigger name to trigger bit and store used trigger
228  // names/bits
229  for (size_t i = 0; i < hltTrgNames_.size(); ++i) {
230  const string &n1(hltTrgNames_.at(i));
231  // unsigned int hlt_prescale = hltConfig.prescaleValue(iSetup, n1);
232  // cout<<"trigger=="<<n1<<"presc=="<<hlt_prescale<<endl;
233  bool found = 0;
234  for (size_t j = 0; j < hltConfig.size(); ++j) {
235  const string &n2(hltConfig.triggerName(j));
236  if (n2 == n1) {
237  hltTrgBits_.push_back(j);
238  hltTrgUsedNames_.push_back(n1);
239  hltTrgDeci_.push_back(false);
240  found = 1;
241  break;
242  }
243  }
244  if (!found) {
245  CP(2) cout << "Could not find trigger bit" << endl;
246  }
247  }
248 
249  // book monitoring histograms
250  createHistos();
252 }
unsigned int size() const
number of trigger paths in trigger table
int i
Definition: DBlmapReader.cc:9
const std::string & triggerName(unsigned int triggerIndex) const
void createHistos()
Definition: QcdUeDQM.cc:323
std::string hltUsedResName_
Definition: QcdUeDQM.h:138
std::vector< std::string > hltTrgUsedNames_
Definition: QcdUeDQM.h:137
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:7
bool isHltConfigSuccessful_
Definition: QcdUeDQM.h:67
std::vector< std::string > hltTrgNames_
Definition: QcdUeDQM.h:133
std::vector< std::string > hltProcNames_
Definition: QcdUeDQM.h:132
std::string hltResName_
Definition: QcdUeDQM.h:131
std::vector< int > hltTrgBits_
Definition: QcdUeDQM.h:135
HLTConfigProvider hltConfig
Definition: QcdUeDQM.h:129
int j
Definition: DBlmapReader.cc:9
bool init(const edm::Run &iRun, const edm::EventSetup &iSetup, const std::string &processName, bool &changed)
d&#39;tor
tuple cout
Definition: gather_cfg.py:121
#define CP(level)
Definition: QcdUeDQM.cc:45
std::vector< bool > hltTrgDeci_
Definition: QcdUeDQM.h:136
void QcdUeDQM::book1D ( std::vector< MonitorElement * > &  mes,
const std::string &  name,
const std::string &  title,
int  nx,
double  x1,
double  x2,
bool  sumw2 = 1,
bool  sbox = 1 
)
private

Definition at line 255 of file QcdUeDQM.cc.

References alignCSCRings::e, MonitorElement::getTH1(), hltTrgUsedNames_, i, AlCaHLTBitMon_QueryRunRegistry::string, and theDbe_.

Referenced by createHistos().

257  {
258  // Book 1D histos.
259 
260  for (size_t i = 0; i < hltTrgUsedNames_.size(); ++i) {
261  std::string folderName = "Physics/QcdUe/" + hltTrgUsedNames_.at(i);
262  theDbe_->setCurrentFolder(folderName);
263  MonitorElement *e = theDbe_->book1D(
264  Form("%s_%s", name.c_str(), hltTrgUsedNames_.at(i).c_str()),
265  Form("%s: %s", hltTrgUsedNames_.at(i).c_str(), title.c_str()), nx, x1,
266  x2);
267  TH1 *h1 = e->getTH1();
268  if (sumw2) {
269  if (0 == h1->GetSumw2N()) { // protect against re-summing (would cause
270  // exception)
271  h1->Sumw2();
272  }
273  }
274  h1->SetStats(sbox);
275  mes.push_back(e);
276  }
277 }
int i
Definition: DBlmapReader.cc:9
std::vector< std::string > hltTrgUsedNames_
Definition: QcdUeDQM.h:137
TH1 * getTH1(void) const
DQMStore * theDbe_
Definition: QcdUeDQM.h:141
void QcdUeDQM::book2D ( std::vector< MonitorElement * > &  mes,
const std::string &  name,
const std::string &  title,
int  nx,
double  x1,
double  x2,
int  ny,
double  y1,
double  y2,
bool  sumw2 = 1,
bool  sbox = 1 
)
private

Definition at line 280 of file QcdUeDQM.cc.

References alignCSCRings::e, MonitorElement::getTH1(), hltTrgUsedNames_, i, AlCaHLTBitMon_QueryRunRegistry::string, and theDbe_.

283  {
284  // Book 2D histos.
285 
286  for (size_t i = 0; i < hltTrgUsedNames_.size(); ++i) {
287  std::string folderName = "Physics/QcdUe/" + hltTrgUsedNames_.at(i);
288  theDbe_->setCurrentFolder(folderName);
289  MonitorElement *e = theDbe_->book2D(
290  Form("%s_%s", name.c_str(), hltTrgUsedNames_.at(i).c_str()),
291  Form("%s: %s", hltTrgUsedNames_.at(i).c_str(), title.c_str()), nx, x1,
292  x2, ny, y1, y2);
293  TH1 *h1 = e->getTH1();
294  if (sumw2) {
295  if (0 == h1->GetSumw2N()) { // protect against re-summing (would cause
296  // exception)
297  h1->Sumw2();
298  }
299  }
300  h1->SetStats(sbox);
301  mes.push_back(e);
302  }
303 }
int i
Definition: DBlmapReader.cc:9
std::vector< std::string > hltTrgUsedNames_
Definition: QcdUeDQM.h:137
TH1 * getTH1(void) const
DQMStore * theDbe_
Definition: QcdUeDQM.h:141
void QcdUeDQM::bookProfile ( std::vector< MonitorElement * > &  mes,
const std::string &  name,
const std::string &  title,
int  nx,
double  x1,
double  x2,
double  y1,
double  y2,
bool  sumw2 = 1,
bool  sbox = 1 
)
private

Definition at line 306 of file QcdUeDQM.cc.

References alignCSCRings::e, hltTrgUsedNames_, i, AlCaHLTBitMon_QueryRunRegistry::string, and theDbe_.

Referenced by createHistos().

309  {
310  // Book Profile histos.
311 
312  for (size_t i = 0; i < hltTrgUsedNames_.size(); ++i) {
313  std::string folderName = "Physics/QcdUe/" + hltTrgUsedNames_.at(i);
314  theDbe_->setCurrentFolder(folderName);
315  MonitorElement *e = theDbe_->bookProfile(
316  Form("%s_%s", name.c_str(), hltTrgUsedNames_.at(i).c_str()),
317  Form("%s: %s", hltTrgUsedNames_.at(i).c_str(), title.c_str()), nx, x1,
318  x2, y1, y2, " ");
319  mes.push_back(e);
320  }
321 }
int i
Definition: DBlmapReader.cc:9
std::vector< std::string > hltTrgUsedNames_
Definition: QcdUeDQM.h:137
DQMStore * theDbe_
Definition: QcdUeDQM.h:141
void QcdUeDQM::create1D ( std::vector< TH1F * > &  mes,
const std::string &  name,
const std::string &  title,
int  nx,
double  x1,
double  x2,
bool  sumw2 = 1,
bool  sbox = 1 
)
private
void QcdUeDQM::create2D ( std::vector< TH2F * > &  mes,
const std::string &  name,
const std::string &  title,
int  nx,
double  x1,
double  x2,
int  ny,
double  y1,
double  y2,
bool  sumw2 = 1,
bool  sbox = 1 
)
private
void QcdUeDQM::createHistos ( )
private

Definition at line 323 of file QcdUeDQM.cc.

References book1D(), bookProfile(), MonitorElement::getTH1(), h, h2TrigCorr_, hBeamSpot_x_, hBeamSpot_y_, hBeamSpot_z_, hChargedJetMulti_, hdNdEtadPhi_pTMax_Away500_, hdNdEtadPhi_pTMax_Away900_, hdNdEtadPhi_pTMax_Toward500_, hdNdEtadPhi_pTMax_Toward900_, hdNdEtadPhi_pTMax_Transverse500_, hdNdEtadPhi_pTMax_Transverse900_, hdNdEtadPhi_trackJet_Away500_, hdNdEtadPhi_trackJet_Away900_, hdNdEtadPhi_trackJet_Toward500_, hdNdEtadPhi_trackJet_Toward900_, hdNdEtadPhi_trackJet_Transverse500_, hdNdEtadPhi_trackJet_Transverse900_, hdPhi_chargedJet_tracks_, hdPhi_maxpTTrack_tracks_, hGoodTrkEta500_, hGoodTrkEta900_, hGoodTrkPhi500_, hGoodTrkPhi900_, hGoodTrkPt500_, hGoodTrkPt900_, hLeadingChargedJet_etaSpectrum_, hLeadingChargedJet_phiSpectrum_, hLeadingChargedJet_pTSpectrum_, hLeadingTrack_etaSpectrum_, hLeadingTrack_phiSpectrum_, hLeadingTrack_pTSpectrum_, hltTrgUsedNames_, hNevts_, hNgoodTrk_, hNtrackerLayer_, hNtrackerPixelLayer_, hNtrackerStripPixelLayer_, hNvertices_, hpTSumdEtadPhi_pTMax_Away500_, hpTSumdEtadPhi_pTMax_Away900_, hpTSumdEtadPhi_pTMax_Toward500_, hpTSumdEtadPhi_pTMax_Toward900_, hpTSumdEtadPhi_pTMax_Transverse500_, hpTSumdEtadPhi_pTMax_Transverse900_, hpTSumdEtadPhi_trackJet_Away500_, hpTSumdEtadPhi_trackJet_Away900_, hpTSumdEtadPhi_trackJet_Toward500_, hpTSumdEtadPhi_trackJet_Toward900_, hpTSumdEtadPhi_trackJet_Transverse500_, hpTSumdEtadPhi_trackJet_Transverse900_, hRatioDxySigmaDxyBS_, hRatioDxySigmaDxyPV_, hRatioDzSigmaDzBS_, hRatioDzSigmaDzPV_, hRatioPtErrorPt_, hTrkChi2_, hTrkEta_, hTrkNdof_, hTrkPhi_, hTrkPt_, hVertex_ndof_, hVertex_rho_, hVertex_x_, hVertex_y_, hVertex_z_, hVertex_z_bs_, i, MonitorElement::setBinLabel(), and theDbe_.

Referenced by beginRun().

323  {
324  // Book histograms if needed.
325 
326  /* if (1) {
327  theDbe_->setCurrentFolder("Physics/EventInfo/");
328  repSumMap_ =
329  theDbe_->book2D("reportSummaryMap","reportSummaryMap",1,0,1,1,0,1);
330  repSummary_ = theDbe_->bookFloat("reportSummary");
331  }
332  */
333  theDbe_->setCurrentFolder("Physics/QcdUe");
334 
335  if (1) {
336  const int Nx = hltTrgUsedNames_.size();
337  const double x1 = -0.5;
338  const double x2 = Nx - 0.5;
339  h2TrigCorr_ = theDbe_->book2D("h2TriCorr", "Trigger bit x vs y;y&&!x;x&&y",
340  Nx, x1, x2, Nx, x1, x2);
341  for (size_t i = 1; i <= hltTrgUsedNames_.size(); ++i) {
344  }
345  TH1 *h = h2TrigCorr_->getTH1();
346  if (h) h->SetStats(0);
347  }
348  book1D(hNevts_, "hNevts", "number of events", 2, 0, 2);
349  book1D(hNtrackerLayer_, "hNtrackerLayer",
350  "number of tracker layers;multiplicity", 20, -0.5, 19.5);
351  book1D(hNtrackerPixelLayer_, "hNtrackerPixelLayer",
352  "number of pixel layers;multiplicity", 10, -0.5, 9.5);
353  book1D(hNtrackerStripPixelLayer_, "hNtrackerStripPixelLayer",
354  "number of strip + pixel layers;multiplicity", 30, -0.5, 39.5);
355  book1D(hRatioPtErrorPt_, "hRatioPtErrorPt", "ratio of pT error and track pT",
356  25, 0., 5.);
357  book1D(hTrkPt_, "hTrkPt", "pT of all tracks", 50, 0., 50.);
358  book1D(hTrkEta_, "hTrkEta", "eta of all tracks", 40, -4., 4.);
359  book1D(hTrkPhi_, "hTrkPhi", "phi of all tracks", 40, -4., 4.);
360  book1D(
361  hRatioDxySigmaDxyBS_, "hRatioDxySigmaDxyBS",
362  "ratio of transverse impact parameter and its significance wrt beam spot",
363  60, -10., 10);
364  book1D(hRatioDxySigmaDxyPV_, "hRatioDxySigmaDxyPV",
365  "ratio of transverse impact parameter and its significance wrt PV", 60,
366  -10., 10);
367  book1D(hRatioDzSigmaDzBS_, "hRatioDzSigmaDzBS",
368  "ratio of longitudinal impact parameter and its significance wrt beam "
369  "spot",
370  80, -20., 20);
371  book1D(hRatioDzSigmaDzPV_, "hRatioDzSigmaDzPV",
372  "ratio of longitudinal impact parameter and its significance wrt PV",
373  80, -20., 20);
374  book1D(hTrkChi2_, "hTrkChi2", "track chi2", 30, 0., 30);
375  book1D(hTrkNdof_, "hTrkNdof", "track NDOF", 100, 0, 100);
376 
377  book1D(hNgoodTrk_, "hNgoodTrk", "number of good tracks", 50, -0.5, 49.5);
378 
379  book1D(hGoodTrkPt500_, "hGoodTrkPt500",
380  "pT of all good tracks with pT > 500 MeV", 50, 0., 50.);
381  book1D(hGoodTrkEta500_, "hGoodTrkEta500",
382  "eta of all good tracks pT > 500 MeV", 40, -4., 4.);
383  book1D(hGoodTrkPhi500_, "hGoodTrkPhi500",
384  "phi of all good tracks pT > 500 MeV", 40, -4., 4.);
385 
386  book1D(hGoodTrkPt900_, "hGoodTrkPt900",
387  "pT of all good tracks with pT > 900 MeV", 50, 0., 50.);
388  book1D(hGoodTrkEta900_, "hGoodTrkEta900",
389  "eta of all good tracks pT > 900 MeV", 40, -4., 4.);
390  book1D(hGoodTrkPhi900_, "hGoodTrkPhi900",
391  "phi of all good tracks pT > 900 MeV", 40, -4., 4.);
392 
393  book1D(hNvertices_, "hNvertices", "number of vertices", 5, -0.5, 4.5);
394  book1D(hVertex_z_, "hVertex_z", "z position of vertex; z[cm]", 200, -50, 50);
395  book1D(hVertex_y_, "hVertex_y", "y position of vertex; y[cm]", 100, -5, 5);
396  book1D(hVertex_x_, "hVertex_x", "x position of vertex; x[cm]", 100, -5, 5);
397  book1D(hVertex_ndof_, "hVertex_ndof", "ndof of vertex", 100, 0, 100);
398  book1D(hVertex_rho_, "hVertex_rho", "rho of vertex", 100, 0, 5);
399  book1D(hVertex_z_bs_, "hVertex_z_bs",
400  "z position of vertex from beamspot; z[cm]", 200, -50, 50);
401 
402  book1D(hBeamSpot_z_, "hBeamSpot_z", "z position of beamspot; z[cm]", 100, -20,
403  20);
404  book1D(hBeamSpot_y_, "hBeamSpot_y", "y position of beamspot; y[cm]", 50, -10,
405  10);
406  book1D(hBeamSpot_x_, "hBeamSpot_x", "x position of beamspot; x[cm]", 50, -10,
407  10);
408 
409  if (1) {
410  const int Nx = 25;
411  const double x1 = 0.0;
412  const double x2 = 50.0;
413  book1D(hLeadingTrack_pTSpectrum_, "hLeadingTrack_pTSpectrum",
414  "pT spectrum of leading track;pT(GeV/c)", Nx, x1, x2);
415  // book1D(hLeadingCaloJet_pTSpectrum_,"hLeadingCalo_pTSpectrum","pT
416  // spectrum of leading calo jet;pT(GeV/c)",Nx,x1,x2);
417  book1D(hLeadingChargedJet_pTSpectrum_, "hLeadingChargedJet_pTSpectrum",
418  "pT spectrum of leading track jet;pT(GeV/c)", Nx, x1, x2);
419  }
420 
421  if (1) {
422  const int Nx = 24;
423  const double x1 = -4.;
424  const double x2 = 4.;
425  book1D(hLeadingTrack_phiSpectrum_, "hLeadingTrack_phiSpectrum",
426  "#phi spectrum of leading track;#phi", Nx, x1, x2);
427  // book1D(hLeadingCaloJet_phiSpectrum_,"hLeadingCaloJet_phiSpectrum","#phi
428  // spectrum of leading calo jet;#phi",Nx,x1,x2);
429  book1D(hLeadingChargedJet_phiSpectrum_, "hLeadingChargedJet_phiSpectrum",
430  "#phi spectrum of leading track jet;#phi", Nx, x1, x2);
431  }
432 
433  if (1) {
434  const int Nx = 24;
435  const double x1 = -4.;
436  const double x2 = 4.;
437  book1D(hLeadingTrack_etaSpectrum_, "hLeadingTrack_etaSpectrum",
438  "#eta spectrum of leading track;#eta", Nx, x1, x2);
439  // book1D(hLeadingCaloJet_etaSpectrum_,"hLeadingCaloJet_etaSpectrum","#eta
440  // spectrum of leading calo jet;#eta",Nx,x1,x2);
441  book1D(hLeadingChargedJet_etaSpectrum_, "hLeadingChargedJet_etaSpectrum",
442  "#eta spectrum of leading track jet;#eta", Nx, x1, x2);
443  }
444 
445  if (1) {
446  const int Nx = 75;
447  const double x1 = 0.0;
448  const double x2 = 75.0;
449  const double y1 = 0.;
450  const double y2 = 10.;
451  bookProfile(hdNdEtadPhi_pTMax_Toward500_, "hdNdEtadPhi_pTMax_Toward500",
452  "Average number of tracks (pT > 500 MeV) in toward region vs "
453  "leading track pT;pT(GeV/c);dN/d#eta d#phi",
454  Nx, x1, x2, y1, y2, 0, 0);
456  "hdNdEtadPhi_pTMax_Transverse500",
457  "Average number of tracks (pT > 500 MeV) in transverse region "
458  "vs leading track pT;pT(GeV/c);dN/d#eta d#phi",
459  Nx, x1, x2, y1, y2, 0, 0);
460  bookProfile(hdNdEtadPhi_pTMax_Away500_, "hdNdEtadPhi_pTMax_Away500",
461  "Average number of tracks (pT > 500 MeV) in away region vs "
462  "leading track pT;pT(GeV/c);dN/d#eta d#phi",
463  Nx, x1, x2, y1, y2, 0, 0);
464  /*
465  bookProfile(hdNdEtadPhi_caloJet_Toward500_,"hdNdEtadPhi_caloJet_Toward500",
466  "Average number of tracks (pT > 500 MeV) in toward region vs
467  leading calo jet pT;pT(GeV/c);dN/d#eta d#phi",Nx,x1,x2,y1,y2,0,0);
468  bookProfile(hdNdEtadPhi_caloJet_Transverse500_,"hdNdEtadPhi_caloJet_Transverse500",
469  "Average number of tracks (pT > 500 MeV) in transverse
470  region vs leading calo jet pT;pT(GeV/c);dN/d#eta
471  d#phi",Nx,x1,x2,y1,y2,0,0);
472  bookProfile(hdNdEtadPhi_caloJet_Away500_,"hdNdEtadPhi_caloJet_Away500",
473  "Average number of tracks (pT > 500 MeV) in away region vs
474  leading calo jet pT;pT(GeV/c);dN/d#eta d#phi",Nx,x1,x2,y1,y2,0,0);
475  */
476 
478  "hdNdEtadPhi_trackJet_Toward500",
479  "Average number of tracks (pT > 500 MeV) in toward region vs "
480  "leading track jet pT;pT(GeV/c);dN/d#eta d#phi",
481  Nx, x1, x2, y1, y2);
483  "hdNdEtadPhi_trackJet_Transverse500",
484  "Average number of tracks (pT > 500 MeV) in transverse region "
485  "vs leading track jet pT;pT(GeV/c);dN/d#eta d#phi",
486  Nx, x1, x2, y1, y2, 0, 0);
487  bookProfile(hdNdEtadPhi_trackJet_Away500_, "hdNdEtadPhi_trackJet_Away500",
488  "Average number of tracks (pT > 500 MeV) in away region vs "
489  "leading track jet pT;pT(GeV/c);dN/d#eta d#phi",
490  Nx, x1, x2, y1, y2, 0, 0);
491 
493  "hpTSumdEtadPhi_pTMax_Toward500",
494  "Average number of tracks (pT > 500 MeV) in toward region vs "
495  "leading track pT;pT(GeV/c);dpTSum/d#eta d#phi",
496  Nx, x1, x2, y1, y2, 0, 0);
498  "hpTSumdEtadPhi_pTMax_Transverse500",
499  "Average number of tracks (pT > 500 MeV) in transverse region "
500  "vs leading track pT;pT(GeV/c);dpTSum/d#eta d#phi",
501  Nx, x1, x2, y1, y2, 0, 0);
502  bookProfile(hpTSumdEtadPhi_pTMax_Away500_, "hpTSumdEtadPhi_pTMax_Away500",
503  "Average number of tracks (pT > 500 MeV) in away region vs "
504  "leading track pT;pT(GeV/c);dpTSum/d#eta d#phi",
505  Nx, x1, x2, y1, y2, 0, 0);
506  /*
507  bookProfile(hpTSumdEtadPhi_caloJet_Toward500_,"hpTSumdEtadPhi_caloJet_Toward500",
508  "Average number of tracks (pT > 500 MeV) in toward region
509  vs leading calo jet pT;pT(GeV/c);dpTSum/d#eta d#phi",Nx,x1,x2,y1,y2,0,0);
510  bookProfile(hpTSumdEtadPhi_caloJet_Transverse500_,"hpTSumdEtadPhi_caloJet_Transverse500",
511  "Average number of tracks (pT > 500 MeV) in transverse
512  region vs leading calo jet pT;pT(GeV/c);dpTSum/d#eta
513  d#phi",Nx,x1,x2,y1,y2,0,0);
514  bookProfile(hpTSumdEtadPhi_caloJet_Away500_,"hpTSumdEtadPhi_caloJet_Away500",
515  "Average number of tracks (pT > 500 MeV) in away region vs
516  leading calo jet pT;pT(GeV/c);dpTSum/d#eta d#phi",Nx,x1,x2,y1,y2,0,0);
517  */
518 
520  "hpTSumdEtadPhi_trackJet_Toward500",
521  "Average number of tracks (pT > 500 MeV) in toward region vs "
522  "leading track jet pT;pT(GeV/c);dpTSum/d#eta d#phi",
523  Nx, x1, x2, y1, y2, 0, 0);
525  "hpTSumdEtadPhi_trackJet_Transverse500",
526  "Average number of tracks (pT > 500 MeV) in transverse region "
527  "vs leading track jet pT;pT(GeV/c);dpTSum/d#eta d#phi",
528  Nx, x1, x2, y1, y2, 0, 0);
530  "hpTSumdEtadPhi_trackJet_Away500",
531  "Average number of tracks (pT > 500 MeV) in away region vs "
532  "leading track jet pT;pT(GeV/c);dpTSum/d#eta d#phi",
533  Nx, x1, x2, y1, y2, 0, 0);
534 
535  bookProfile(hdNdEtadPhi_pTMax_Toward900_, "hdNdEtadPhi_pTMax_Toward900",
536  "Average number of tracks (pT > 900 MeV) in toward region vs "
537  "leading track pT;pT(GeV/c);dN/d#eta d#phi",
538  Nx, x1, x2, y1, y2, 0, 0);
540  "hdNdEtadPhi_pTMax_Transverse900",
541  "Average number of tracks (pT > 900 MeV) in transverse region "
542  "vs leading track pT;pT(GeV/c);dN/d#eta d#phi",
543  Nx, x1, x2, y1, y2, 0, 0);
544  bookProfile(hdNdEtadPhi_pTMax_Away900_, "hdNdEtadPhi_pTMax_Away900",
545  "Average number of tracks (pT > 900 MeV) in away region vs "
546  "leading track pT;pT(GeV/c);dN/d#eta d#phi",
547  Nx, x1, x2, y1, y2, 0, 0);
548  /*
549  bookProfile(hdNdEtadPhi_caloJet_Toward900_,"hdNdEtadPhi_caloJet_Toward900",
550  "Average number of tracks (pT > 900 MeV) in toward region
551  vs leading calo jet pT;pT(GeV/c);dN/d#eta d#phi",Nx,x1,x2,y1,y2,0,0);
552  bookProfile(hdNdEtadPhi_caloJet_Transverse900_,"hdNdEtadPhi_caloJet_Transverse900",
553  "Average number of tracks (pT > 900 MeV) in transverse
554  region vs leading calo jet pT;pT(GeV/c);dN/d#eta
555  d#phi",Nx,x1,x2,y1,y2,0,0);
556  bookProfile(hdNdEtadPhi_caloJet_Away900_,"hdNdEtadPhi_caloJet_Away900",
557  "Average number of tracks (pT > 900 MeV) in away region vs
558  leading calo jet pT;pT(GeV/c);dN/d#eta d#phi",Nx,x1,x2,y1,y2,0,0);
559  */
560 
562  "hdNdEtadPhi_trackJet_Toward900",
563  "Average number of tracks (pT > 900 MeV) in toward region vs "
564  "leading track jet pT;pT(GeV/c);dN/d#eta d#phi",
565  Nx, x1, x2, y1, y2);
567  "hdNdEtadPhi_trackJet_Transverse900",
568  "Average number of tracks (pT > 900 MeV) in transverse region "
569  "vs leading track jet pT;pT(GeV/c);dN/d#eta d#phi",
570  Nx, x1, x2, y1, y2, 0, 0);
571  bookProfile(hdNdEtadPhi_trackJet_Away900_, "hdNdEtadPhi_trackJet_Away900",
572  "Average number of tracks (pT > 900 MeV) in away region vs "
573  "leading track jet pT;pT(GeV/c);dN/d#eta d#phi",
574  Nx, x1, x2, y1, y2, 0, 0);
575 
577  "hpTSumdEtadPhi_pTMax_Toward900",
578  "Average number of tracks (pT > 900 MeV) in toward region vs "
579  "leading track pT;pT(GeV/c);dpTSum/d#eta d#phi",
580  Nx, x1, x2, y1, y2, 0, 0);
582  "hpTSumdEtadPhi_pTMax_Transverse900",
583  "Average number of tracks (pT > 900 MeV) in transverse region "
584  "vs leading track pT;pT(GeV/c);dpTSum/d#eta d#phi",
585  Nx, x1, x2, y1, y2, 0, 0);
586  bookProfile(hpTSumdEtadPhi_pTMax_Away900_, "hpTSumdEtadPhi_pTMax_Away900",
587  "Average number of tracks (pT > 900 MeV) in away region vs "
588  "leading track pT;pT(GeV/c);dpTSum/d#eta d#phi",
589  Nx, x1, x2, y1, y2, 0, 0);
590  /*
591  bookProfile(hpTSumdEtadPhi_caloJet_Toward900_,"hpTSumdEtadPhi_caloJet_Toward900",
592  "Average number of tracks (pT > 900 MeV) in toward region
593  vs leading calo jet pT;pT(GeV/c);dpTSum/d#eta d#phi",Nx,x1,x2,y1,y2,0,0);
594  bookProfile(hpTSumdEtadPhi_caloJet_Transverse900_,"hpTSumdEtadPhi_caloJet_Transverse900",
595  "Average number of tracks (pT > 900 MeV) in transverse
596  region vs leading calo jet pT;pT(GeV/c);dpTSum/d#eta
597  d#phi",Nx,x1,x2,y1,y2,0,0);
598  bookProfile(hpTSumdEtadPhi_caloJet_Away900_,"hpTSumdEtadPhi_caloJet_Away900",
599  "Average number of tracks (pT > 900 MeV) in away region vs
600  leading calo jet pT;pT(GeV/c);dpTSum/d#eta d#phi",Nx,x1,x2,y1,y2,0,0);
601  */
603  "hpTSumdEtadPhi_trackJet_Toward900",
604  "Average number of tracks (pT > 900 MeV) in toward region vs "
605  "leading track jet pT;pT(GeV/c);dpTSum/d#eta d#phi",
606  Nx, x1, x2, y1, y2, 0, 0);
608  "hpTSumdEtadPhi_trackJet_Transverse900",
609  "Average number of tracks (pT > 900 MeV) in transverse region "
610  "vs leading track jet pT;pT(GeV/c);dpTSum/d#eta d#phi",
611  Nx, x1, x2, y1, y2, 0, 0);
613  "hpTSumdEtadPhi_trackJet_Away900",
614  "Average number of tracks (pT > 900 MeV) in away region vs "
615  "leading track jet pT;pT(GeV/c);dpTSum/d#eta d#phi",
616  Nx, x1, x2, y1, y2, 0, 0);
617  }
618 
619  if (1) {
620  const int Nx = 20;
621  const double x1 = 0.0;
622  const double x2 = 20.0;
623 
624  book1D(hChargedJetMulti_, "hChargedJetMulti",
625  "Charged jet multiplicity;multiplicities", Nx, x1, x2);
626  // book1D(hCaloJetMulti_,"hCaloJetMulti","Calo jet
627  // multiplicity;multiplicities",Nx,x1,x2);
628  }
629 
630  if (1) {
631  const int Nx = 60;
632  const double x1 = -180.0;
633  const double x2 = 180.0;
634 
635  book1D(hdPhi_maxpTTrack_tracks_, "hdPhi_maxpTTrack_tracks",
636  "delta phi between leading tracks and other "
637  "tracks;#Delta#phi(leading track-track)",
638  Nx, x1, x2);
639  // book1D(hdPhi_caloJet_tracks_,"hdPhi_caloJet_tracks","delta phi
640  // between leading calo jet and tracks;#Delta#phi(leading calo
641  // jet-track)",Nx,x1,x2);
642  book1D(hdPhi_chargedJet_tracks_, "hdPhi_chargedJet_tracks",
643  "delta phi between leading charged jet and "
644  "tracks;#Delta#phi(leading charged jet-track)",
645  Nx, x1, x2);
646  }
647 }
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Toward900_
Definition: QcdUeDQM.h:338
int i
Definition: DBlmapReader.cc:9
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Transverse900_
Definition: QcdUeDQM.h:392
std::vector< MonitorElement * > hTrkNdof_
Definition: QcdUeDQM.h:166
std::vector< MonitorElement * > hGoodTrkPhi500_
Definition: QcdUeDQM.h:157
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Transverse500_
Definition: QcdUeDQM.h:230
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Away900_
Definition: QcdUeDQM.h:367
std::vector< MonitorElement * > hLeadingChargedJet_phiSpectrum_
Definition: QcdUeDQM.h:219
std::vector< MonitorElement * > hTrkChi2_
Definition: QcdUeDQM.h:165
std::vector< MonitorElement * > hVertex_z_bs_
Definition: QcdUeDQM.h:174
std::vector< MonitorElement * > hGoodTrkEta900_
Definition: QcdUeDQM.h:159
std::vector< MonitorElement * > hGoodTrkPt900_
Definition: QcdUeDQM.h:158
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Away500_
Definition: QcdUeDQM.h:305
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Away900_
Definition: QcdUeDQM.h:395
std::vector< std::string > hltTrgUsedNames_
Definition: QcdUeDQM.h:137
void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
std::vector< MonitorElement * > hTrkEta_
Definition: QcdUeDQM.h:152
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Away500_
Definition: QcdUeDQM.h:259
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Transverse500_
Definition: QcdUeDQM.h:274
std::vector< MonitorElement * > hLeadingChargedJet_etaSpectrum_
Definition: QcdUeDQM.h:215
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Away900_
Definition: QcdUeDQM.h:327
std::vector< MonitorElement * > hLeadingTrack_etaSpectrum_
Definition: QcdUeDQM.h:182
std::vector< MonitorElement * > hLeadingChargedJet_pTSpectrum_
Definition: QcdUeDQM.h:191
std::vector< MonitorElement * > hGoodTrkPhi900_
Definition: QcdUeDQM.h:160
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Toward500_
Definition: QcdUeDQM.h:290
std::vector< MonitorElement * > hVertex_ndof_
Definition: QcdUeDQM.h:172
std::vector< MonitorElement * > hVertex_rho_
Definition: QcdUeDQM.h:173
std::vector< MonitorElement * > hNtrackerLayer_
Definition: QcdUeDQM.h:147
std::vector< MonitorElement * > hRatioDzSigmaDzBS_
Definition: QcdUeDQM.h:163
MonitorElement * h2TrigCorr_
Definition: QcdUeDQM.h:144
std::vector< MonitorElement * > hVertex_y_
Definition: QcdUeDQM.h:170
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Toward500_
Definition: QcdUeDQM.h:266
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Toward900_
Definition: QcdUeDQM.h:380
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Away900_
Definition: QcdUeDQM.h:349
TH1 * getTH1(void) const
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
std::vector< MonitorElement * > hVertex_x_
Definition: QcdUeDQM.h:171
std::vector< MonitorElement * > hLeadingTrack_phiSpectrum_
Definition: QcdUeDQM.h:184
std::vector< MonitorElement * > hChargedJetMulti_
Definition: QcdUeDQM.h:187
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Toward900_
Definition: QcdUeDQM.h:356
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Transverse900_
Definition: QcdUeDQM.h:346
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Transverse900_
Definition: QcdUeDQM.h:320
std::vector< MonitorElement * > hGoodTrkPt500_
Definition: QcdUeDQM.h:155
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Toward500_
Definition: QcdUeDQM.h:224
std::vector< MonitorElement * > hTrkPhi_
Definition: QcdUeDQM.h:153
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Toward900_
Definition: QcdUeDQM.h:314
std::vector< MonitorElement * > hdPhi_maxpTTrack_tracks_
Definition: QcdUeDQM.h:206
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Toward500_
Definition: QcdUeDQM.h:248
std::vector< MonitorElement * > hNvertices_
Definition: QcdUeDQM.h:168
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Away500_
Definition: QcdUeDQM.h:237
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Transverse500_
Definition: QcdUeDQM.h:302
std::vector< MonitorElement * > hNgoodTrk_
Definition: QcdUeDQM.h:154
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Away500_
Definition: QcdUeDQM.h:277
std::vector< MonitorElement * > hBeamSpot_y_
Definition: QcdUeDQM.h:177
std::vector< MonitorElement * > hLeadingTrack_pTSpectrum_
Definition: QcdUeDQM.h:180
std::vector< MonitorElement * > hRatioDxySigmaDxyBS_
Definition: QcdUeDQM.h:161
std::vector< MonitorElement * > hRatioDxySigmaDxyPV_
Definition: QcdUeDQM.h:162
std::vector< MonitorElement * > hdPhi_chargedJet_tracks_
Definition: QcdUeDQM.h:211
std::vector< MonitorElement * > hNtrackerStripPixelLayer_
Definition: QcdUeDQM.h:149
void bookProfile(std::vector< MonitorElement * > &mes, const std::string &name, const std::string &title, int nx, double x1, double x2, double y1, double y2, bool sumw2=1, bool sbox=1)
Definition: QcdUeDQM.cc:306
std::vector< MonitorElement * > hNevts_
Definition: QcdUeDQM.h:146
std::vector< MonitorElement * > hBeamSpot_x_
Definition: QcdUeDQM.h:178
std::vector< MonitorElement * > hTrkPt_
Definition: QcdUeDQM.h:151
std::vector< MonitorElement * > hGoodTrkEta500_
Definition: QcdUeDQM.h:156
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Transverse500_
Definition: QcdUeDQM.h:256
DQMStore * theDbe_
Definition: QcdUeDQM.h:141
std::vector< MonitorElement * > hVertex_z_
Definition: QcdUeDQM.h:169
std::vector< MonitorElement * > hRatioDzSigmaDzPV_
Definition: QcdUeDQM.h:164
std::vector< MonitorElement * > hRatioPtErrorPt_
Definition: QcdUeDQM.h:150
std::vector< MonitorElement * > hNtrackerPixelLayer_
Definition: QcdUeDQM.h:148
std::vector< MonitorElement * > hBeamSpot_z_
Definition: QcdUeDQM.h:176
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Transverse900_
Definition: QcdUeDQM.h:364
void book1D(std::vector< MonitorElement * > &mes, const std::string &name, const std::string &title, int nx, double x1, double x2, bool sumw2=1, bool sbox=1)
Definition: QcdUeDQM.cc:255
void QcdUeDQM::createProfile ( std::vector< TProfile * > &  mes,
const std::string &  name,
const std::string &  title,
int  nx,
double  x1,
double  x2,
double  y1,
double  y2,
bool  sumw2 = 1,
bool  sbox = 1 
)
private
void QcdUeDQM::endJob ( void  )
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 650 of file QcdUeDQM.cc.

650 {}
void QcdUeDQM::endLuminosityBlock ( const edm::LuminosityBlock l,
const edm::EventSetup iSetup 
)
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 654 of file QcdUeDQM.cc.

References isHltConfigSuccessful_.

655  {
656  if (!isHltConfigSuccessful_) return;
657 
658  // Update various histograms.
659 
660  // repSummary_->Fill(1.);
661  // repSumMap_->Fill(0.5,0.5,1.);
662 }
bool isHltConfigSuccessful_
Definition: QcdUeDQM.h:67
void QcdUeDQM::endRun ( const edm::Run r,
const edm::EventSetup iSetup 
)
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 666 of file QcdUeDQM.cc.

References isHltConfigSuccessful_.

666  {
667  if (!isHltConfigSuccessful_) return;
668 
669  // End run, cleanup. TODO: can this be called several times in DQM???
670 }
bool isHltConfigSuccessful_
Definition: QcdUeDQM.h:67
void QcdUeDQM::fill1D ( std::vector< TH1F * > &  hs,
double  val,
double  w = 1. 
)
private

Definition at line 673 of file QcdUeDQM.cc.

References hltTrgDeci_, and i.

Referenced by analyze(), fillChargedJetSpectra(), fillpTMaxRelated(), fillUE_with_ChargedJets(), fillUE_with_MaxpTtrack(), fillVtxPlots(), and trackSelection().

673  {
674  // Loop over histograms and fill if trigger has fired.
675 
676  for (size_t i = 0; i < hs.size(); ++i) {
677  if (!hltTrgDeci_.at(i)) continue;
678  hs.at(i)->Fill(val, w);
679  }
680 }
int i
Definition: DBlmapReader.cc:9
T w() const
std::vector< bool > hltTrgDeci_
Definition: QcdUeDQM.h:136
void QcdUeDQM::fill1D ( std::vector< MonitorElement * > &  mes,
double  val,
double  w = 1. 
)
private

Definition at line 683 of file QcdUeDQM.cc.

References hltTrgDeci_, and i.

684  {
685  // Loop over histograms and fill if trigger has fired.
686 
687  for (size_t i = 0; i < mes.size(); ++i) {
688  if (!hltTrgDeci_.at(i)) continue;
689  mes.at(i)->Fill(val, w);
690  }
691 }
int i
Definition: DBlmapReader.cc:9
T w() const
std::vector< bool > hltTrgDeci_
Definition: QcdUeDQM.h:136
void QcdUeDQM::fill2D ( std::vector< TH2F * > &  hs,
double  valx,
double  valy,
double  w = 1. 
)
private

Definition at line 705 of file QcdUeDQM.cc.

References hltTrgDeci_, and i.

706  {
707  // Loop over histograms and fill if trigger has fired.
708 
709  for (size_t i = 0; i < hs.size(); ++i) {
710  if (!hltTrgDeci_.at(i)) continue;
711  hs.at(i)->Fill(valx, valy, w);
712  }
713 }
int i
Definition: DBlmapReader.cc:9
T w() const
std::vector< bool > hltTrgDeci_
Definition: QcdUeDQM.h:136
void QcdUeDQM::fill2D ( std::vector< MonitorElement * > &  mes,
double  valx,
double  valy,
double  w = 1. 
)
private

Definition at line 716 of file QcdUeDQM.cc.

References hltTrgDeci_, and i.

717  {
718  // Loop over histograms and fill if trigger has fired.
719 
720  for (size_t i = 0; i < mes.size(); ++i) {
721  if (!hltTrgDeci_.at(i)) continue;
722  mes.at(i)->Fill(valx, valy, w);
723  }
724 }
int i
Definition: DBlmapReader.cc:9
T w() const
std::vector< bool > hltTrgDeci_
Definition: QcdUeDQM.h:136
void QcdUeDQM::fill3D ( std::vector< TH3F * > &  hs,
int  gbin,
double  w = 1. 
)
private
void QcdUeDQM::fillChargedJetSpectra ( const edm::Handle< reco::TrackJetCollection trackJets)
private

Definition at line 906 of file QcdUeDQM.cc.

References f, fill1D(), hChargedJetMulti_, hLeadingChargedJet_etaSpectrum_, hLeadingChargedJet_phiSpectrum_, and hLeadingChargedJet_pTSpectrum_.

Referenced by analyze().

907  {
908  fill1D(hChargedJetMulti_, trackJets->size());
909  for (reco::TrackJetCollection::const_iterator f = trackJets->begin();
910  f != trackJets->end(); f++) {
911  if (f != trackJets->begin()) continue;
915  }
916 }
void fill1D(std::vector< TH1F * > &hs, double val, double w=1.)
Definition: QcdUeDQM.cc:673
std::vector< MonitorElement * > hLeadingChargedJet_phiSpectrum_
Definition: QcdUeDQM.h:219
std::vector< MonitorElement * > hLeadingChargedJet_etaSpectrum_
Definition: QcdUeDQM.h:215
std::vector< MonitorElement * > hLeadingChargedJet_pTSpectrum_
Definition: QcdUeDQM.h:191
double f[11][100]
std::vector< MonitorElement * > hChargedJetMulti_
Definition: QcdUeDQM.h:187
void QcdUeDQM::fillHltBits ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
private

Definition at line 1208 of file QcdUeDQM.cc.

References MonitorElement::Fill(), getProduct(), h2TrigCorr_, hltTrgBits_, hltTrgDeci_, hltUsedResName_, i, j, and findQualityFiles::size.

Referenced by analyze().

1208  {
1209  // Fill HLT trigger bits.
1210 
1211  Handle<TriggerResults> triggerResultsHLT;
1212  getProduct(hltUsedResName_, triggerResultsHLT, iEvent);
1213 
1214  /* const unsigned int ntrigs(triggerResultsHLT.product()->size());
1215  if( ntrigs != 0 ) {
1216  const edm::TriggerNames & triggerNames =
1217  iEvent.triggerNames(*triggerResultsHLT);
1218  for (unsigned int j=0; j!=ntrigs; j++) {
1219  // if(triggerResultsHLT->accept(j)){
1220  // unsigned int hlt_prescale = hltConfig_.prescaleValue(iEvent, iSetup,
1221  triggerName);
1222  cout<<"trigger fired"<<triggerNames.triggerName(j)<<endl;
1223  for(unsigned int itrigName = 0; itrigName < hltTrgNames_.size();
1224  itrigName++ ) {
1225  unsigned int hlt_prescale = hltConfig.prescaleValue(iEvent, iSetup,
1226  hltTrgNames_[itrigName]);
1227 
1228  if(triggerNames.triggerIndex(hltTrgNames_[itrigName]) >= (unsigned
1229  int)ntrigs ) continue;
1230  // if(
1231  triggerResultsHLT->accept(triggerNames.triggerIndex(hltTrgNames_[itrigName]))
1232  )cout<<hltTrgNames_[itrigName]<<endl;
1233 
1234  }
1235  }
1236  }
1237  // }
1238  */
1239  for (size_t i = 0; i < hltTrgBits_.size(); ++i) {
1240  if (hltTrgBits_.at(i) < 0) continue; // ignore unknown trigger
1241  size_t tbit = hltTrgBits_.at(i);
1242  if (tbit < triggerResultsHLT->size()) {
1243  hltTrgDeci_[i] = triggerResultsHLT->accept(tbit);
1244  }
1245  }
1246  // fill correlation histogram
1247  for (size_t i = 0; i < hltTrgBits_.size(); ++i) {
1248  if (hltTrgDeci_.at(i)) h2TrigCorr_->Fill(i, i);
1249  for (size_t j = i + 1; j < hltTrgBits_.size(); ++j) {
1250  if (hltTrgDeci_.at(i) && hltTrgDeci_.at(j)) h2TrigCorr_->Fill(i, j);
1251  if (hltTrgDeci_.at(i) && !hltTrgDeci_.at(j)) h2TrigCorr_->Fill(j, i);
1252  }
1253  }
1254 }
int i
Definition: DBlmapReader.cc:9
void getProduct(const std::string name, edm::Handle< TYPE > &prod, const edm::Event &event) const
Definition: QcdUeDQM.h:434
std::string hltUsedResName_
Definition: QcdUeDQM.h:138
void Fill(long long x)
MonitorElement * h2TrigCorr_
Definition: QcdUeDQM.h:144
std::vector< int > hltTrgBits_
Definition: QcdUeDQM.h:135
int j
Definition: DBlmapReader.cc:9
tuple size
Write out results.
std::vector< bool > hltTrgDeci_
Definition: QcdUeDQM.h:136
void QcdUeDQM::fillProfile ( std::vector< TProfile * > &  hs,
double  valx,
double  valy,
double  w = 1. 
)
private

Definition at line 726 of file QcdUeDQM.cc.

References hltTrgDeci_, and i.

Referenced by fillUE_with_ChargedJets(), and fillUE_with_MaxpTtrack().

727  {
728  // Loop over histograms and fill if trigger has fired.
729 
730  for (size_t i = 0; i < hs.size(); ++i) {
731  if (!hltTrgDeci_.at(i)) continue;
732  hs.at(i)->Fill(valx, valy, w);
733  }
734 }
int i
Definition: DBlmapReader.cc:9
T w() const
std::vector< bool > hltTrgDeci_
Definition: QcdUeDQM.h:136
void QcdUeDQM::fillProfile ( std::vector< MonitorElement * > &  mes,
double  valx,
double  valy,
double  w = 1. 
)
private

Definition at line 737 of file QcdUeDQM.cc.

References hltTrgDeci_, i, w(), and detailsBasic3DVector::y.

738  {
739  // Loop over histograms and fill if trigger has fired.
740 
741  for (size_t i = 0; i < mes.size(); ++i) {
742  if (!hltTrgDeci_.at(i)) continue;
743  const double y = valy * w;
744  mes.at(i)->Fill(valx, y);
745  }
746 }
int i
Definition: DBlmapReader.cc:9
T w() const
std::vector< bool > hltTrgDeci_
Definition: QcdUeDQM.h:136
void QcdUeDQM::fillpTMaxRelated ( const std::vector< const reco::Track * > &  track)
private

Definition at line 887 of file QcdUeDQM.cc.

References eta(), fill1D(), hGoodTrkEta500_, hGoodTrkEta900_, hGoodTrkPhi500_, hGoodTrkPhi900_, hGoodTrkPt500_, hGoodTrkPt900_, hLeadingTrack_etaSpectrum_, hLeadingTrack_phiSpectrum_, hLeadingTrack_pTSpectrum_, hNgoodTrk_, i, phi, and RecoTauCleanerPlugins::pt.

Referenced by analyze().

887  {
888  fill1D(hNgoodTrk_, track.size());
889  if (track.size() > 0) {
890  fill1D(hLeadingTrack_pTSpectrum_, track[0]->pt());
891  fill1D(hLeadingTrack_phiSpectrum_, track[0]->phi());
892  fill1D(hLeadingTrack_etaSpectrum_, track[0]->eta());
893  }
894  for (size_t i = 0; i < track.size(); i++) {
895  fill1D(hGoodTrkPt500_, track[i]->pt());
896  fill1D(hGoodTrkEta500_, track[i]->eta());
897  fill1D(hGoodTrkPhi500_, track[i]->phi());
898  if (track[i]->pt() > 0.9) {
899  fill1D(hGoodTrkPt900_, track[i]->pt());
900  fill1D(hGoodTrkEta900_, track[i]->eta());
901  fill1D(hGoodTrkPhi900_, track[i]->phi());
902  }
903  }
904 }
int i
Definition: DBlmapReader.cc:9
void fill1D(std::vector< TH1F * > &hs, double val, double w=1.)
Definition: QcdUeDQM.cc:673
std::vector< MonitorElement * > hGoodTrkPhi500_
Definition: QcdUeDQM.h:157
std::vector< MonitorElement * > hGoodTrkEta900_
Definition: QcdUeDQM.h:159
std::vector< MonitorElement * > hGoodTrkPt900_
Definition: QcdUeDQM.h:158
std::vector< MonitorElement * > hLeadingTrack_etaSpectrum_
Definition: QcdUeDQM.h:182
T eta() const
std::vector< MonitorElement * > hGoodTrkPhi900_
Definition: QcdUeDQM.h:160
std::vector< MonitorElement * > hLeadingTrack_phiSpectrum_
Definition: QcdUeDQM.h:184
std::vector< MonitorElement * > hGoodTrkPt500_
Definition: QcdUeDQM.h:155
std::vector< MonitorElement * > hNgoodTrk_
Definition: QcdUeDQM.h:154
std::vector< MonitorElement * > hLeadingTrack_pTSpectrum_
Definition: QcdUeDQM.h:180
std::vector< MonitorElement * > hGoodTrkEta500_
Definition: QcdUeDQM.h:156
Definition: DDAxes.h:10
void QcdUeDQM::fillUE_with_ChargedJets ( const std::vector< const reco::Track * > &  track,
const edm::Handle< reco::TrackJetCollection > &  trackJets 
)
private

Definition at line 1026 of file QcdUeDQM.cc.

References SiPixelRawToDigiRegional_cfi::deltaPhi, fill1D(), fillProfile(), hdNdEtadPhi_trackJet_Away500_, hdNdEtadPhi_trackJet_Away900_, hdNdEtadPhi_trackJet_Toward500_, hdNdEtadPhi_trackJet_Toward900_, hdNdEtadPhi_trackJet_Transverse500_, hdNdEtadPhi_trackJet_Transverse900_, hdPhi_chargedJet_tracks_, hpTSumdEtadPhi_trackJet_Away500_, hpTSumdEtadPhi_trackJet_Away900_, hpTSumdEtadPhi_trackJet_Toward500_, hpTSumdEtadPhi_trackJet_Toward900_, hpTSumdEtadPhi_trackJet_Transverse500_, hpTSumdEtadPhi_trackJet_Transverse900_, i, reco::btau::jetPhi, phi, PI, RecoTauCleanerPlugins::pt, and w().

Referenced by analyze().

1028  {
1029  double w = 0.119;
1030  double nTrk500_TransReg = 0;
1031  double nTrk500_AwayReg = 0;
1032  double nTrk500_TowardReg = 0;
1033 
1034  double pTSum500_TransReg = 0;
1035  double pTSum500_AwayReg = 0;
1036  double pTSum500_TowardReg = 0;
1037 
1038  double nTrk900_TransReg = 0;
1039  double nTrk900_AwayReg = 0;
1040  double nTrk900_TowardReg = 0;
1041 
1042  double pTSum900_TransReg = 0;
1043  double pTSum900_AwayReg = 0;
1044  double pTSum900_TowardReg = 0;
1045 
1046  if (!(trackJets->empty()) && (trackJets->begin())->pt() > 1.) {
1047  double jetPhi = (trackJets->begin())->phi();
1048  for (size_t i = 0; i < track.size(); i++) {
1049  double dphi = (180. / PI) * (deltaPhi(jetPhi, track[i]->phi()));
1051  if (fabs(dphi) > 60. && fabs(dphi) < 120.) {
1052  pTSum500_TransReg = pTSum500_TransReg + track[i]->pt();
1053  nTrk500_TransReg++;
1054  if (track[i]->pt() > 0.9) {
1055  pTSum900_TransReg = pTSum900_TransReg + track[i]->pt();
1056  nTrk900_TransReg++;
1057  }
1058  }
1059 
1060  if (fabs(dphi) > 120. && fabs(dphi) < 180.) {
1061  pTSum500_AwayReg = pTSum500_AwayReg + track[i]->pt();
1062  nTrk500_AwayReg++;
1063  if (track[i]->pt() > 0.9) {
1064  pTSum900_AwayReg = pTSum900_AwayReg + track[i]->pt();
1065  nTrk900_AwayReg++;
1066  }
1067  }
1068  if (fabs(dphi) < 60.) {
1069  pTSum500_TowardReg = pTSum500_TowardReg + track[i]->pt();
1070  nTrk500_TowardReg++;
1071  if (track[i]->pt() > 0.9) {
1072  pTSum900_TowardReg = pTSum900_TowardReg + track[i]->pt();
1073  nTrk900_TowardReg++;
1074  }
1075  }
1076  } // tracks loop
1077 
1078  } // leading track jet
1079 
1080  fillProfile(hdNdEtadPhi_trackJet_Toward500_, (trackJets->begin())->pt(),
1081  nTrk500_TowardReg, w);
1082  fillProfile(hdNdEtadPhi_trackJet_Transverse500_, (trackJets->begin())->pt(),
1083  nTrk500_TransReg, w);
1084  fillProfile(hdNdEtadPhi_trackJet_Away500_, (trackJets->begin())->pt(),
1085  nTrk500_AwayReg, w);
1086 
1087  fillProfile(hpTSumdEtadPhi_trackJet_Toward500_, (trackJets->begin())->pt(),
1088  pTSum500_TowardReg, w);
1090  (trackJets->begin())->pt(), pTSum500_TransReg, w);
1091  fillProfile(hpTSumdEtadPhi_trackJet_Away500_, (trackJets->begin())->pt(),
1092  pTSum500_AwayReg, w);
1093 
1094  fillProfile(hdNdEtadPhi_trackJet_Toward900_, (trackJets->begin())->pt(),
1095  nTrk900_TowardReg, w);
1096  fillProfile(hdNdEtadPhi_trackJet_Transverse900_, (trackJets->begin())->pt(),
1097  nTrk900_TransReg, w);
1098  fillProfile(hdNdEtadPhi_trackJet_Away900_, (trackJets->begin())->pt(),
1099  nTrk900_AwayReg, w);
1100 
1101  fillProfile(hpTSumdEtadPhi_trackJet_Toward900_, (trackJets->begin())->pt(),
1102  pTSum900_TowardReg, w);
1104  (trackJets->begin())->pt(), pTSum900_TransReg, w);
1105  fillProfile(hpTSumdEtadPhi_trackJet_Away900_, (trackJets->begin())->pt(),
1106  pTSum900_AwayReg, w);
1107 }
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Toward900_
Definition: QcdUeDQM.h:338
int i
Definition: DBlmapReader.cc:9
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Transverse900_
Definition: QcdUeDQM.h:392
#define PI
void fill1D(std::vector< TH1F * > &hs, double val, double w=1.)
Definition: QcdUeDQM.cc:673
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Away500_
Definition: QcdUeDQM.h:305
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Away900_
Definition: QcdUeDQM.h:395
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Away500_
Definition: QcdUeDQM.h:259
void fillProfile(std::vector< TProfile * > &hs, double valx, double valy, double w=1.)
Definition: QcdUeDQM.cc:726
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Toward500_
Definition: QcdUeDQM.h:290
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Toward900_
Definition: QcdUeDQM.h:380
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Away900_
Definition: QcdUeDQM.h:349
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Transverse900_
Definition: QcdUeDQM.h:346
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Toward500_
Definition: QcdUeDQM.h:248
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Transverse500_
Definition: QcdUeDQM.h:302
std::vector< MonitorElement * > hdPhi_chargedJet_tracks_
Definition: QcdUeDQM.h:211
T w() const
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Transverse500_
Definition: QcdUeDQM.h:256
Definition: DDAxes.h:10
void QcdUeDQM::fillUE_with_MaxpTtrack ( const std::vector< const reco::Track * > &  track)
private

Definition at line 943 of file QcdUeDQM.cc.

References SiPixelRawToDigiRegional_cfi::deltaPhi, fill1D(), fillProfile(), hdNdEtadPhi_pTMax_Away500_, hdNdEtadPhi_pTMax_Away900_, hdNdEtadPhi_pTMax_Toward500_, hdNdEtadPhi_pTMax_Toward900_, hdNdEtadPhi_pTMax_Transverse500_, hdNdEtadPhi_pTMax_Transverse900_, hdPhi_maxpTTrack_tracks_, hpTSumdEtadPhi_pTMax_Away500_, hpTSumdEtadPhi_pTMax_Away900_, hpTSumdEtadPhi_pTMax_Toward500_, hpTSumdEtadPhi_pTMax_Toward900_, hpTSumdEtadPhi_pTMax_Transverse500_, hpTSumdEtadPhi_pTMax_Transverse900_, i, phi, PI, RecoTauCleanerPlugins::pt, and w().

Referenced by analyze().

944  {
945  double w = 0.119;
946  // double w = 1.;
947  double nTrk500_TransReg = 0;
948  double nTrk500_AwayReg = 0;
949  double nTrk500_TowardReg = 0;
950 
951  double pTSum500_TransReg = 0;
952  double pTSum500_AwayReg = 0;
953  double pTSum500_TowardReg = 0;
954 
955  double nTrk900_TransReg = 0;
956  double nTrk900_AwayReg = 0;
957  double nTrk900_TowardReg = 0;
958 
959  double pTSum900_TransReg = 0;
960  double pTSum900_AwayReg = 0;
961  double pTSum900_TowardReg = 0;
962  if (track.size() > 0) {
963  if (track[0]->pt() > 1.) {
964  for (size_t i = 1; i < track.size(); i++) {
965 
966  double dphi =
967  (180. / PI) * (deltaPhi(track[0]->phi(), track[i]->phi()));
969  if (fabs(dphi) > 60. && fabs(dphi) < 120.) {
970  pTSum500_TransReg = pTSum500_TransReg + track[i]->pt();
971  nTrk500_TransReg++;
972  if (track[i]->pt() > 0.9) {
973  pTSum900_TransReg = pTSum900_TransReg + track[i]->pt();
974  nTrk900_TransReg++;
975  }
976  }
977 
978  if (fabs(dphi) > 120. && fabs(dphi) < 180.) {
979  pTSum500_AwayReg = pTSum500_AwayReg + track[i]->pt();
980  nTrk500_AwayReg++;
981  if (track[i]->pt() > 0.9) {
982  pTSum900_AwayReg = pTSum900_AwayReg + track[i]->pt();
983  nTrk900_AwayReg++;
984  }
985  }
986 
987  if (fabs(dphi) < 60.) {
988  pTSum500_TowardReg = pTSum500_TowardReg + track[i]->pt();
989  nTrk500_TowardReg++;
990  if (track[i]->pt() > 0.9) {
991  pTSum900_TowardReg = pTSum900_TowardReg + track[i]->pt();
992  nTrk900_TowardReg++;
993  }
994  }
995  } // track loop
996  } // leading track
997  // non empty collection
998  fillProfile(hdNdEtadPhi_pTMax_Toward500_, track[0]->pt(), nTrk500_TowardReg,
999  w);
1001  nTrk500_TransReg, w);
1002  fillProfile(hdNdEtadPhi_pTMax_Away500_, track[0]->pt(), nTrk500_AwayReg, w);
1003 
1005  pTSum500_TowardReg, w);
1007  pTSum500_TransReg, w);
1008  fillProfile(hpTSumdEtadPhi_pTMax_Away500_, track[0]->pt(), pTSum500_AwayReg,
1009  w);
1010 
1011  fillProfile(hdNdEtadPhi_pTMax_Toward900_, track[0]->pt(), nTrk900_TowardReg,
1012  w);
1014  nTrk900_TransReg, w);
1015  fillProfile(hdNdEtadPhi_pTMax_Away900_, track[0]->pt(), nTrk900_AwayReg, w);
1016 
1018  pTSum900_TowardReg, w);
1020  pTSum900_TransReg, w);
1021  fillProfile(hpTSumdEtadPhi_pTMax_Away900_, track[0]->pt(), pTSum900_AwayReg,
1022  w);
1023  }
1024 }
int i
Definition: DBlmapReader.cc:9
#define PI
void fill1D(std::vector< TH1F * > &hs, double val, double w=1.)
Definition: QcdUeDQM.cc:673
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Transverse500_
Definition: QcdUeDQM.h:230
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Away900_
Definition: QcdUeDQM.h:367
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Transverse500_
Definition: QcdUeDQM.h:274
void fillProfile(std::vector< TProfile * > &hs, double valx, double valy, double w=1.)
Definition: QcdUeDQM.cc:726
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Away900_
Definition: QcdUeDQM.h:327
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Toward500_
Definition: QcdUeDQM.h:266
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Toward900_
Definition: QcdUeDQM.h:356
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Transverse900_
Definition: QcdUeDQM.h:320
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Toward500_
Definition: QcdUeDQM.h:224
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Toward900_
Definition: QcdUeDQM.h:314
std::vector< MonitorElement * > hdPhi_maxpTTrack_tracks_
Definition: QcdUeDQM.h:206
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Away500_
Definition: QcdUeDQM.h:237
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Away500_
Definition: QcdUeDQM.h:277
T w() const
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Transverse900_
Definition: QcdUeDQM.h:364
Definition: DDAxes.h:10
bool QcdUeDQM::fillVtxPlots ( const reco::BeamSpot bs,
const edm::Handle< reco::VertexCollection vtxColl 
)
private

Definition at line 862 of file QcdUeDQM.cc.

References diffvtxbs_, fill1D(), hNvertices_, hVertex_ndof_, hVertex_rho_, hVertex_x_, hVertex_y_, hVertex_z_, hVertex_z_bs_, edm::Handle< T >::product(), vtx1, and reco::BeamSpot::z0().

Referenced by analyze().

863  {
864  const reco::VertexCollection theVertices = *(vtxColl.product());
865  bool goodVtx = false;
866  fill1D(hNvertices_, theVertices.size());
867  for (reco::VertexCollection::const_iterator vertexIt = theVertices.begin();
868  vertexIt != theVertices.end(); ++vertexIt) {
869  fill1D(hVertex_z_, vertexIt->z());
870  fill1D(hVertex_y_, vertexIt->y());
871  fill1D(hVertex_x_, vertexIt->x());
872  fill1D(hVertex_ndof_, vertexIt->ndof());
873  fill1D(hVertex_rho_, vertexIt->position().rho());
874  fill1D(hVertex_z_bs_, (vertexIt->z() - bs->z0()));
875 
876  if (fabs(vertexIt->z() - bs->z0()) < diffvtxbs_ && vertexIt->ndof() >= 4 &&
877  vertexIt->position().rho() <= 2.0) {
878  goodVtx = true;
879  vtx1 = (*vertexIt);
880 
881  break;
882  }
883  } // Loop over vertcies
884  return goodVtx;
885 }
double z0() const
z coordinate
Definition: BeamSpot.h:68
void fill1D(std::vector< TH1F * > &hs, double val, double w=1.)
Definition: QcdUeDQM.cc:673
std::vector< MonitorElement * > hVertex_z_bs_
Definition: QcdUeDQM.h:174
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
std::vector< MonitorElement * > hVertex_ndof_
Definition: QcdUeDQM.h:172
std::vector< MonitorElement * > hVertex_rho_
Definition: QcdUeDQM.h:173
std::vector< MonitorElement * > hVertex_y_
Definition: QcdUeDQM.h:170
reco::Vertex vtx1
Definition: QcdUeDQM.h:429
std::vector< MonitorElement * > hVertex_x_
Definition: QcdUeDQM.h:171
std::vector< MonitorElement * > hNvertices_
Definition: QcdUeDQM.h:168
T const * product() const
Definition: Handle.h:81
double diffvtxbs_
Definition: QcdUeDQM.h:409
std::vector< MonitorElement * > hVertex_z_
Definition: QcdUeDQM.h:169
template<typename TYPE >
void QcdUeDQM::getProduct ( const std::string  name,
edm::Handle< TYPE > &  prod,
const edm::Event event 
) const
inlineprivate

Definition at line 434 of file QcdUeDQM.h.

References edm::errors::Configuration, and edm::HandleBase::isValid().

Referenced by fillHltBits().

436  {
437  // Try to access data collection from EDM file. We check if we really get just
438  // one
439  // product with the given name. If not we throw an exception.
440 
441  event.getByLabel(edm::InputTag(name), prod);
442  if (!prod.isValid())
443  throw edm::Exception(edm::errors::Configuration, "QcdUeDQM::GetProduct()\n")
444  << "Collection with label " << name << " is not valid" << std::endl;
445 }
bool isValid() const
Definition: HandleBase.h:76
template<typename TYPE >
bool QcdUeDQM::getProductSafe ( const std::string  name,
edm::Handle< TYPE > &  prod,
const edm::Event event 
) const
inlineprivate

Definition at line 449 of file QcdUeDQM.h.

References edm::HandleBase::isValid().

451  {
452  // Try to safely access data collection from EDM file. We check if we really
453  // get just one
454  // product with the given name. If not, we return false.
455 
456  if (name.size() == 0) return false;
457 
458  try {
459  event.getByLabel(edm::InputTag(name), prod);
460  if (!prod.isValid()) return false;
461  }
462  catch (...) {
463  return false;
464  }
465  return true;
466 }
bool isValid() const
Definition: HandleBase.h:76
void QcdUeDQM::setLabel1D ( std::vector< MonitorElement * > &  mes)
private

Definition at line 694 of file QcdUeDQM.cc.

References GOODCOLL_filter_cfg::cut, hltTrgDeci_, i, and j.

694  {
695  // Loop over histograms and fill if trigger has fired.
696  string cut[5] = {"Nevt", "vtx!=bmspt", "Zvtx<10cm",
697  "pT>1GeV", "trackFromVtx"};
698  for (size_t i = 0; i < mes.size(); ++i) {
699  if (!hltTrgDeci_.at(i)) continue;
700  for (size_t j = 1; j < 6; j++) mes.at(i)->setBinLabel(j, cut[j - 1], 1);
701  }
702 }
int i
Definition: DBlmapReader.cc:9
int j
Definition: DBlmapReader.cc:9
std::vector< bool > hltTrgDeci_
Definition: QcdUeDQM.h:136
bool QcdUeDQM::trackSelection ( const reco::Track trk,
const reco::BeamSpot bs,
const reco::Vertex vtx,
int  sizevtx 
)
private

Definition at line 749 of file QcdUeDQM.cc.

References reco::TrackBase::algo(), algorithm_, allowTriplets_, bsuse_, reco::TrackBase::dxy(), reco::TrackBase::dxyError(), reco::TrackBase::dz(), reco::TrackBase::dzError(), reco::TrackBase::eta(), fill1D(), spr::find(), reco::HitPattern::getHitPattern(), reco::HitPattern::getLayer(), hBeamSpot_x_, hBeamSpot_y_, hBeamSpot_z_, reco::TrackBase::hitPattern(), hNtrackerLayer_, hNtrackerPixelLayer_, hNtrackerStripPixelLayer_, hRatioDxySigmaDxyBS_, hRatioDxySigmaDxyPV_, hRatioDzSigmaDzBS_, hRatioDzSigmaDzPV_, hRatioPtErrorPt_, hTrkChi2_, hTrkEta_, hTrkNdof_, hTrkPhi_, hTrkPt_, i, lip_, maxChi2_, maxRapidity_, min3DHit_, minHit_, minRapidity_, reco::TrackBase::ndof(), reco::TrackBase::normalizedChi2(), reco::HitPattern::numberOfHits(), reco::HitPattern::numberOfValidStripLayersWithMonoAndStereo(), AlCaHLTBitMon_ParallelJobs::p, reco::TrackBase::phi(), reco::HitPattern::pixelHitFilter(), reco::HitPattern::pixelLayersWithMeasurement(), reco::BeamSpot::position(), reco::Vertex::position(), reco::TrackBase::pt(), ptErr_pt_, reco::TrackBase::ptError(), ptMin_, pxlLayerMinCut_, reco::TrackBase::quality(), quality_, requirePIX1_, tip_, reco::HitPattern::TRACK_HITS, reco::HitPattern::trackerLayersWithMeasurement(), reco::HitPattern::validHitFilter(), reco::BeamSpot::x0(), reco::BeamSpot::y0(), and reco::BeamSpot::z0().

Referenced by analyze().

750  {
751  bool goodTrk = false;
752 
753  if (sizevtx != 1) return 0; // selection events with only a vertex
754 
755  // Fill basic information of all the tracks
758 
762 
763  fill1D(hRatioPtErrorPt_, (trk.ptError() / trk.pt()));
764  fill1D(hTrkPt_, trk.pt());
765  fill1D(hTrkEta_, trk.eta());
766  fill1D(hTrkPhi_, trk.phi());
767  fill1D(hRatioDxySigmaDxyBS_, (trk.dxy(bs->position()) / trk.dxyError()));
768  fill1D(hRatioDxySigmaDxyPV_, (trk.dxy(vtx.position()) / trk.dxyError()));
769  fill1D(hRatioDzSigmaDzBS_, (trk.dz(bs->position()) / trk.dzError()));
770  fill1D(hRatioDzSigmaDzPV_, (trk.dz(vtx.position()) / trk.dzError()));
772  fill1D(hTrkNdof_, trk.ndof());
773 
774  fill1D(hBeamSpot_x_, bs->x0());
775  fill1D(hBeamSpot_y_, bs->y0());
776  fill1D(hBeamSpot_z_, bs->z0());
777 
778  // number of layers
779  bool layerMinCutbool =
783 
784  // number of pixel layers
785  bool pxlLayerMinCutbool =
787 
788  // cut on the hits in pixel layers
789  bool hasPIX1 = false;
790  if (requirePIX1_) {
791  const reco::HitPattern &p = trk.hitPattern();
792  for (int i = 0; i < p.numberOfHits(reco::HitPattern::TRACK_HITS); i++) {
796  reco::HitPattern::getLayer(hit) == 1) {
797  hasPIX1 = true;
798  break;
799  }
800  }
801  } else {
802  hasPIX1 = true;
803  }
804 
805  // cut on the pT error
806  bool ptErrorbool =
807  (trk.ptError() / trk.pt() < ptErr_pt_ ||
810 
811  // quality cut
812  bool quality_ok = true;
813  if (quality_.size() != 0) {
814  quality_ok = false;
815  for (unsigned int i = 0; i < quality_.size(); ++i) {
816  if (trk.quality(quality_[i])) {
817  quality_ok = true;
818  break;
819  }
820  }
821  }
822  //-----
823  bool algo_ok = true;
824  if (algorithm_.size() != 0) {
825  if (std::find(algorithm_.begin(), algorithm_.end(), trk.algo()) ==
826  algorithm_.end())
827  algo_ok = false;
828  }
829 
830  if (bsuse_ == 1) {
831  if (hasPIX1 && pxlLayerMinCutbool && layerMinCutbool &&
834  min3DHit_ &&
835  ptErrorbool && fabs(trk.pt()) >= ptMin_ && trk.eta() >= minRapidity_ &&
836  trk.eta() <= maxRapidity_ &&
837  fabs(trk.dxy(bs->position()) / trk.dxyError()) < tip_ &&
838  fabs(trk.dz(bs->position()) / trk.dzError()) < lip_ &&
839  trk.normalizedChi2() <= maxChi2_ && quality_ok && algo_ok) {
840  goodTrk = true;
841  }
842  }
843 
844  if (bsuse_ == 0) {
845  if (hasPIX1 && pxlLayerMinCutbool && layerMinCutbool &&
848  min3DHit_ &&
849  ptErrorbool && fabs(trk.pt()) >= ptMin_ && trk.eta() >= minRapidity_ &&
850  trk.eta() <= maxRapidity_ &&
851  fabs(trk.dxy(vtx.position()) / trk.dxyError()) < tip_ &&
852  fabs(trk.dz(vtx.position()) / trk.dzError()) < lip_ &&
853  trk.normalizedChi2() <= maxChi2_ && quality_ok && algo_ok) {
854  goodTrk = true;
855  }
856  }
857 
858  return goodTrk;
859 }
bool bsuse_
Definition: QcdUeDQM.h:417
double z0() const
z coordinate
Definition: BeamSpot.h:68
int i
Definition: DBlmapReader.cc:9
static uint32_t getLayer(uint16_t pattern)
Definition: HitPattern.h:627
static bool pixelHitFilter(uint16_t pattern)
Definition: HitPattern.h:497
void fill1D(std::vector< TH1F * > &hs, double val, double w=1.)
Definition: QcdUeDQM.cc:673
double normalizedChi2() const
chi-squared divided by n.d.o.f. (or chi-squared * 1e6 if n.d.o.f. is zero)
Definition: TrackBase.h:537
std::vector< MonitorElement * > hTrkNdof_
Definition: QcdUeDQM.h:166
double dxyError() const
error on dxy
Definition: TrackBase.h:772
std::vector< MonitorElement * > hTrkChi2_
Definition: QcdUeDQM.h:165
int pixelLayersWithMeasurement() const
Definition: HitPattern.h:917
double phi() const
azimuthal angle of momentum vector
Definition: TrackBase.h:621
std::vector< MonitorElement * > hTrkEta_
Definition: QcdUeDQM.h:152
double ptErr_pt_
Definition: QcdUeDQM.h:410
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:7
bool requirePIX1_
Definition: QcdUeDQM.h:414
const Point & position() const
position
Definition: Vertex.h:106
static bool validHitFilter(uint16_t pattern)
Definition: HitPattern.h:701
TrackAlgorithm algo() const
Definition: TrackBase.h:403
double eta() const
pseudorapidity of momentum vector
Definition: TrackBase.h:627
int numberOfValidStripLayersWithMonoAndStereo(uint16_t stripdet, uint16_t layer) const
Definition: HitPattern.cc:298
std::vector< MonitorElement * > hNtrackerLayer_
Definition: QcdUeDQM.h:147
std::vector< MonitorElement * > hRatioDzSigmaDzBS_
Definition: QcdUeDQM.h:163
double ndof() const
number of degrees of freedom of the fit
Definition: TrackBase.h:531
int trackerLayersWithMeasurement() const
Definition: HitPattern.h:912
double pt() const
track transverse momentum
Definition: TrackBase.h:597
double maxChi2_
Definition: QcdUeDQM.h:416
double ptError() const
error on Pt (set to 1000 TeV if charge==0 for safety)
Definition: TrackBase.h:739
double lip_
Definition: QcdUeDQM.h:408
std::vector< reco::TrackBase::TrackAlgorithm > algorithm_
Definition: QcdUeDQM.h:426
std::vector< MonitorElement * > hTrkPhi_
Definition: QcdUeDQM.h:153
double dz() const
dz parameter (= dsz/cos(lambda)). This is the track z0 w.r.t (0,0,0) only if the refPoint is close to...
Definition: TrackBase.h:585
double dzError() const
error on dz
Definition: TrackBase.h:790
bool allowTriplets_
Definition: QcdUeDQM.h:418
double ptMin_
Definition: QcdUeDQM.h:404
const HitPattern & hitPattern() const
Access the hit pattern, indicating in which Tracker layers the track has hits.
Definition: TrackBase.h:364
std::vector< MonitorElement * > hBeamSpot_y_
Definition: QcdUeDQM.h:177
double minRapidity_
Definition: QcdUeDQM.h:405
int min3DHit_
Definition: QcdUeDQM.h:415
std::vector< MonitorElement * > hRatioDxySigmaDxyBS_
Definition: QcdUeDQM.h:161
bool quality(const TrackQuality) const
Track quality.
Definition: TrackBase.h:479
std::vector< MonitorElement * > hRatioDxySigmaDxyPV_
Definition: QcdUeDQM.h:162
std::vector< MonitorElement * > hNtrackerStripPixelLayer_
Definition: QcdUeDQM.h:149
double pxlLayerMinCut_
Definition: QcdUeDQM.h:413
std::vector< MonitorElement * > hBeamSpot_x_
Definition: QcdUeDQM.h:178
double y0() const
y coordinate
Definition: BeamSpot.h:66
const Point & position() const
position
Definition: BeamSpot.h:62
std::vector< MonitorElement * > hTrkPt_
Definition: QcdUeDQM.h:151
std::vector< reco::TrackBase::TrackQuality > quality_
Definition: QcdUeDQM.h:425
double maxRapidity_
Definition: QcdUeDQM.h:406
uint16_t getHitPattern(HitCategory category, int position) const
Definition: HitPattern.h:448
std::vector< MonitorElement * > hRatioDzSigmaDzPV_
Definition: QcdUeDQM.h:164
double dxy() const
dxy parameter. (This is the transverse impact parameter w.r.t. to (0,0,0) ONLY if refPoint is close t...
Definition: TrackBase.h:567
int minHit_
Definition: QcdUeDQM.h:412
std::vector< MonitorElement * > hRatioPtErrorPt_
Definition: QcdUeDQM.h:150
std::vector< MonitorElement * > hNtrackerPixelLayer_
Definition: QcdUeDQM.h:148
std::vector< MonitorElement * > hBeamSpot_z_
Definition: QcdUeDQM.h:176
int numberOfHits(HitCategory category) const
Definition: HitPattern.h:721
double tip_
Definition: QcdUeDQM.h:407
double x0() const
x coordinate
Definition: BeamSpot.h:64

Member Data Documentation

std::vector<reco::TrackBase::TrackAlgorithm> QcdUeDQM::algorithm_
private

Definition at line 426 of file QcdUeDQM.h.

Referenced by QcdUeDQM(), and trackSelection().

bool QcdUeDQM::allowTriplets_
private

Definition at line 418 of file QcdUeDQM.h.

Referenced by trackSelection().

edm::EDGetTokenT<reco::BeamSpot> QcdUeDQM::bsLabel_
private

Definition at line 424 of file QcdUeDQM.h.

Referenced by analyze().

double QcdUeDQM::bsPos_
private

Definition at line 419 of file QcdUeDQM.h.

bool QcdUeDQM::bsuse_
private

Definition at line 417 of file QcdUeDQM.h.

Referenced by trackSelection().

edm::EDGetTokenT<reco::CaloJetCollection> QcdUeDQM::caloJetLabel_
private

Definition at line 420 of file QcdUeDQM.h.

Referenced by analyze().

edm::EDGetTokenT<reco::TrackJetCollection> QcdUeDQM::chargedJetLabel_
private

Definition at line 421 of file QcdUeDQM.h.

Referenced by analyze().

double QcdUeDQM::diffvtxbs_
private

Definition at line 409 of file QcdUeDQM.h.

Referenced by fillVtxPlots().

MonitorElement* QcdUeDQM::h2TrigCorr_
private

Definition at line 144 of file QcdUeDQM.h.

Referenced by createHistos(), and fillHltBits().

std::vector<MonitorElement *> QcdUeDQM::hBeamSpot_x_
private

Definition at line 178 of file QcdUeDQM.h.

Referenced by createHistos(), and trackSelection().

std::vector<MonitorElement *> QcdUeDQM::hBeamSpot_y_
private

Definition at line 177 of file QcdUeDQM.h.

Referenced by createHistos(), and trackSelection().

std::vector<MonitorElement *> QcdUeDQM::hBeamSpot_z_
private

Definition at line 176 of file QcdUeDQM.h.

Referenced by createHistos(), and trackSelection().

std::vector<MonitorElement *> QcdUeDQM::hChargedJetConstituent_
private

Definition at line 188 of file QcdUeDQM.h.

std::vector<MonitorElement *> QcdUeDQM::hChargedJetMulti_
private

Definition at line 187 of file QcdUeDQM.h.

Referenced by createHistos(), and fillChargedJetSpectra().

std::vector<MonitorElement *> QcdUeDQM::hdNdEtadPhi_pTMax_Away500_
private

Definition at line 237 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_MaxpTtrack().

std::vector<MonitorElement *> QcdUeDQM::hdNdEtadPhi_pTMax_Away900_
private

Definition at line 327 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_MaxpTtrack().

std::vector<MonitorElement *> QcdUeDQM::hdNdEtadPhi_pTMax_Toward500_
private

Definition at line 224 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_MaxpTtrack().

std::vector<MonitorElement *> QcdUeDQM::hdNdEtadPhi_pTMax_Toward900_
private

Definition at line 314 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_MaxpTtrack().

std::vector<MonitorElement *> QcdUeDQM::hdNdEtadPhi_pTMax_Transverse500_
private

Definition at line 230 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_MaxpTtrack().

std::vector<MonitorElement *> QcdUeDQM::hdNdEtadPhi_pTMax_Transverse900_
private

Definition at line 320 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_MaxpTtrack().

std::vector<MonitorElement *> QcdUeDQM::hdNdEtadPhi_trackJet_Away500_
private

Definition at line 259 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_ChargedJets().

std::vector<MonitorElement *> QcdUeDQM::hdNdEtadPhi_trackJet_Away900_
private

Definition at line 349 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_ChargedJets().

std::vector<MonitorElement *> QcdUeDQM::hdNdEtadPhi_trackJet_Toward500_
private

Definition at line 248 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_ChargedJets().

std::vector<MonitorElement *> QcdUeDQM::hdNdEtadPhi_trackJet_Toward900_
private

Definition at line 338 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_ChargedJets().

std::vector<MonitorElement *> QcdUeDQM::hdNdEtadPhi_trackJet_Transverse500_
private

Definition at line 256 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_ChargedJets().

std::vector<MonitorElement *> QcdUeDQM::hdNdEtadPhi_trackJet_Transverse900_
private

Definition at line 346 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_ChargedJets().

std::vector<MonitorElement *> QcdUeDQM::hdPhi_chargedJet_tracks_
private

Definition at line 211 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_ChargedJets().

std::vector<MonitorElement *> QcdUeDQM::hdPhi_maxpTTrack_tracks_
private

Definition at line 206 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_MaxpTtrack().

std::vector<MonitorElement *> QcdUeDQM::hGoodTrkEta500_
private

Definition at line 156 of file QcdUeDQM.h.

Referenced by createHistos(), and fillpTMaxRelated().

std::vector<MonitorElement *> QcdUeDQM::hGoodTrkEta900_
private

Definition at line 159 of file QcdUeDQM.h.

Referenced by createHistos(), and fillpTMaxRelated().

std::vector<MonitorElement *> QcdUeDQM::hGoodTrkPhi500_
private

Definition at line 157 of file QcdUeDQM.h.

Referenced by createHistos(), and fillpTMaxRelated().

std::vector<MonitorElement *> QcdUeDQM::hGoodTrkPhi900_
private

Definition at line 160 of file QcdUeDQM.h.

Referenced by createHistos(), and fillpTMaxRelated().

std::vector<MonitorElement *> QcdUeDQM::hGoodTrkPt500_
private

Definition at line 155 of file QcdUeDQM.h.

Referenced by createHistos(), and fillpTMaxRelated().

std::vector<MonitorElement *> QcdUeDQM::hGoodTrkPt900_
private

Definition at line 158 of file QcdUeDQM.h.

Referenced by createHistos(), and fillpTMaxRelated().

std::vector<MonitorElement *> QcdUeDQM::hLeadingChargedJet_etaSpectrum_
private

Definition at line 215 of file QcdUeDQM.h.

Referenced by createHistos(), and fillChargedJetSpectra().

std::vector<MonitorElement *> QcdUeDQM::hLeadingChargedJet_phiSpectrum_
private

Definition at line 219 of file QcdUeDQM.h.

Referenced by createHistos(), and fillChargedJetSpectra().

std::vector<MonitorElement *> QcdUeDQM::hLeadingChargedJet_pTSpectrum_
private

Definition at line 191 of file QcdUeDQM.h.

Referenced by createHistos(), and fillChargedJetSpectra().

std::vector<MonitorElement *> QcdUeDQM::hLeadingTrack_etaSpectrum_
private

Definition at line 182 of file QcdUeDQM.h.

Referenced by createHistos(), and fillpTMaxRelated().

std::vector<MonitorElement *> QcdUeDQM::hLeadingTrack_phiSpectrum_
private

Definition at line 184 of file QcdUeDQM.h.

Referenced by createHistos(), and fillpTMaxRelated().

std::vector<MonitorElement *> QcdUeDQM::hLeadingTrack_pTSpectrum_
private

Definition at line 180 of file QcdUeDQM.h.

Referenced by createHistos(), and fillpTMaxRelated().

HLTConfigProvider QcdUeDQM::hltConfig
private

Definition at line 129 of file QcdUeDQM.h.

Referenced by beginRun().

std::vector<std::string> QcdUeDQM::hltProcNames_
private

Definition at line 132 of file QcdUeDQM.h.

Referenced by beginRun(), and QcdUeDQM().

std::string QcdUeDQM::hltResName_
private

Definition at line 131 of file QcdUeDQM.h.

Referenced by beginRun().

std::vector<int> QcdUeDQM::hltTrgBits_
private

Definition at line 135 of file QcdUeDQM.h.

Referenced by beginRun(), and fillHltBits().

std::vector<bool> QcdUeDQM::hltTrgDeci_
private

Definition at line 136 of file QcdUeDQM.h.

Referenced by beginRun(), fill1D(), fill2D(), fillHltBits(), fillProfile(), and setLabel1D().

std::vector<std::string> QcdUeDQM::hltTrgNames_
private

Definition at line 133 of file QcdUeDQM.h.

Referenced by beginRun(), and QcdUeDQM().

std::vector<std::string> QcdUeDQM::hltTrgUsedNames_
private

Definition at line 137 of file QcdUeDQM.h.

Referenced by beginRun(), book1D(), book2D(), bookProfile(), and createHistos().

std::string QcdUeDQM::hltUsedResName_
private

Definition at line 138 of file QcdUeDQM.h.

Referenced by beginRun(), and fillHltBits().

std::vector<MonitorElement *> QcdUeDQM::hNevts_
private

Definition at line 146 of file QcdUeDQM.h.

Referenced by analyze(), and createHistos().

std::vector<MonitorElement *> QcdUeDQM::hNgoodTrk_
private

Definition at line 154 of file QcdUeDQM.h.

Referenced by createHistos(), and fillpTMaxRelated().

std::vector<MonitorElement *> QcdUeDQM::hNtrackerLayer_
private

Definition at line 147 of file QcdUeDQM.h.

Referenced by createHistos(), and trackSelection().

std::vector<MonitorElement *> QcdUeDQM::hNtrackerPixelLayer_
private

Definition at line 148 of file QcdUeDQM.h.

Referenced by createHistos(), and trackSelection().

std::vector<MonitorElement *> QcdUeDQM::hNtrackerStripPixelLayer_
private

Definition at line 149 of file QcdUeDQM.h.

Referenced by createHistos(), and trackSelection().

std::vector<MonitorElement *> QcdUeDQM::hNvertices_
private

Definition at line 168 of file QcdUeDQM.h.

Referenced by createHistos(), and fillVtxPlots().

std::vector<MonitorElement *> QcdUeDQM::hpTSumdEtadPhi_pTMax_Away500_
private

Definition at line 277 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_MaxpTtrack().

std::vector<MonitorElement *> QcdUeDQM::hpTSumdEtadPhi_pTMax_Away900_
private

Definition at line 367 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_MaxpTtrack().

std::vector<MonitorElement *> QcdUeDQM::hpTSumdEtadPhi_pTMax_Toward500_
private

Definition at line 266 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_MaxpTtrack().

std::vector<MonitorElement *> QcdUeDQM::hpTSumdEtadPhi_pTMax_Toward900_
private

Definition at line 356 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_MaxpTtrack().

std::vector<MonitorElement *> QcdUeDQM::hpTSumdEtadPhi_pTMax_Transverse500_
private

Definition at line 274 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_MaxpTtrack().

std::vector<MonitorElement *> QcdUeDQM::hpTSumdEtadPhi_pTMax_Transverse900_
private

Definition at line 364 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_MaxpTtrack().

std::vector<MonitorElement *> QcdUeDQM::hpTSumdEtadPhi_trackJet_Away500_
private

Definition at line 305 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_ChargedJets().

std::vector<MonitorElement *> QcdUeDQM::hpTSumdEtadPhi_trackJet_Away900_
private

Definition at line 395 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_ChargedJets().

std::vector<MonitorElement *> QcdUeDQM::hpTSumdEtadPhi_trackJet_Toward500_
private

Definition at line 290 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_ChargedJets().

std::vector<MonitorElement *> QcdUeDQM::hpTSumdEtadPhi_trackJet_Toward900_
private

Definition at line 380 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_ChargedJets().

std::vector<MonitorElement *> QcdUeDQM::hpTSumdEtadPhi_trackJet_Transverse500_
private

Definition at line 302 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_ChargedJets().

std::vector<MonitorElement *> QcdUeDQM::hpTSumdEtadPhi_trackJet_Transverse900_
private

Definition at line 392 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_ChargedJets().

std::vector<MonitorElement *> QcdUeDQM::hRatioDxySigmaDxyBS_
private

Definition at line 161 of file QcdUeDQM.h.

Referenced by createHistos(), and trackSelection().

std::vector<MonitorElement *> QcdUeDQM::hRatioDxySigmaDxyPV_
private

Definition at line 162 of file QcdUeDQM.h.

Referenced by createHistos(), and trackSelection().

std::vector<MonitorElement *> QcdUeDQM::hRatioDzSigmaDzBS_
private

Definition at line 163 of file QcdUeDQM.h.

Referenced by createHistos(), and trackSelection().

std::vector<MonitorElement *> QcdUeDQM::hRatioDzSigmaDzPV_
private

Definition at line 164 of file QcdUeDQM.h.

Referenced by createHistos(), and trackSelection().

std::vector<MonitorElement *> QcdUeDQM::hRatioPtErrorPt_
private

Definition at line 150 of file QcdUeDQM.h.

Referenced by createHistos(), and trackSelection().

std::vector<MonitorElement *> QcdUeDQM::hTrkChi2_
private

Definition at line 165 of file QcdUeDQM.h.

Referenced by createHistos(), and trackSelection().

std::vector<MonitorElement *> QcdUeDQM::hTrkEta_
private

Definition at line 152 of file QcdUeDQM.h.

Referenced by createHistos(), and trackSelection().

std::vector<MonitorElement *> QcdUeDQM::hTrkNdof_
private

Definition at line 166 of file QcdUeDQM.h.

Referenced by createHistos(), and trackSelection().

std::vector<MonitorElement *> QcdUeDQM::hTrkPhi_
private

Definition at line 153 of file QcdUeDQM.h.

Referenced by createHistos(), and trackSelection().

std::vector<MonitorElement *> QcdUeDQM::hTrkPt_
private

Definition at line 151 of file QcdUeDQM.h.

Referenced by createHistos(), and trackSelection().

std::vector<MonitorElement *> QcdUeDQM::hVertex_ndof_
private

Definition at line 172 of file QcdUeDQM.h.

Referenced by createHistos(), and fillVtxPlots().

std::vector<MonitorElement *> QcdUeDQM::hVertex_rho_
private

Definition at line 173 of file QcdUeDQM.h.

Referenced by createHistos(), and fillVtxPlots().

std::vector<MonitorElement *> QcdUeDQM::hVertex_x_
private

Definition at line 171 of file QcdUeDQM.h.

Referenced by createHistos(), and fillVtxPlots().

std::vector<MonitorElement *> QcdUeDQM::hVertex_y_
private

Definition at line 170 of file QcdUeDQM.h.

Referenced by createHistos(), and fillVtxPlots().

std::vector<MonitorElement *> QcdUeDQM::hVertex_z_
private

Definition at line 169 of file QcdUeDQM.h.

Referenced by createHistos(), and fillVtxPlots().

std::vector<MonitorElement *> QcdUeDQM::hVertex_z_bs_
private

Definition at line 174 of file QcdUeDQM.h.

Referenced by createHistos(), and fillVtxPlots().

bool QcdUeDQM::isHltConfigSuccessful_
private

Definition at line 67 of file QcdUeDQM.h.

Referenced by analyze(), beginLuminosityBlock(), beginRun(), endLuminosityBlock(), endRun(), and QcdUeDQM().

double QcdUeDQM::lip_
private

Definition at line 408 of file QcdUeDQM.h.

Referenced by trackSelection().

double QcdUeDQM::maxChi2_
private

Definition at line 416 of file QcdUeDQM.h.

Referenced by trackSelection().

double QcdUeDQM::maxRapidity_
private

Definition at line 406 of file QcdUeDQM.h.

Referenced by trackSelection().

int QcdUeDQM::min3DHit_
private

Definition at line 415 of file QcdUeDQM.h.

Referenced by trackSelection().

int QcdUeDQM::minHit_
private

Definition at line 412 of file QcdUeDQM.h.

Referenced by trackSelection().

double QcdUeDQM::minRapidity_
private

Definition at line 405 of file QcdUeDQM.h.

Referenced by trackSelection().

double QcdUeDQM::ptErr_pt_
private

Definition at line 410 of file QcdUeDQM.h.

Referenced by trackSelection().

double QcdUeDQM::ptMin_
private

Definition at line 404 of file QcdUeDQM.h.

Referenced by trackSelection().

double QcdUeDQM::pxlLayerMinCut_
private

Definition at line 413 of file QcdUeDQM.h.

Referenced by trackSelection().

std::vector<reco::TrackBase::TrackQuality> QcdUeDQM::quality_
private

Definition at line 425 of file QcdUeDQM.h.

Referenced by QcdUeDQM(), and trackSelection().

MonitorElement* QcdUeDQM::repSumMap_
private

Definition at line 142 of file QcdUeDQM.h.

MonitorElement* QcdUeDQM::repSummary_
private

Definition at line 143 of file QcdUeDQM.h.

bool QcdUeDQM::requirePIX1_
private

Definition at line 414 of file QcdUeDQM.h.

Referenced by trackSelection().

container QcdUeDQM::selected_
private

Definition at line 428 of file QcdUeDQM.h.

Referenced by analyze().

const TrackerGeometry* QcdUeDQM::tgeo_
private

Definition at line 140 of file QcdUeDQM.h.

DQMStore* QcdUeDQM::theDbe_
private

Definition at line 141 of file QcdUeDQM.h.

Referenced by beginJob(), book1D(), book2D(), bookProfile(), and createHistos().

double QcdUeDQM::tip_
private

Definition at line 407 of file QcdUeDQM.h.

Referenced by trackSelection().

edm::EDGetTokenT<reco::TrackCollection> QcdUeDQM::trackLabel_
private

Definition at line 422 of file QcdUeDQM.h.

Referenced by analyze().

int QcdUeDQM::verbose_
private

Definition at line 139 of file QcdUeDQM.h.

reco::Vertex QcdUeDQM::vtx1
private

Definition at line 429 of file QcdUeDQM.h.

Referenced by analyze(), and fillVtxPlots().

edm::EDGetTokenT<reco::VertexCollection> QcdUeDQM::vtxLabel_
private

Definition at line 423 of file QcdUeDQM.h.

Referenced by analyze().

double QcdUeDQM::vtxntk_
private

Definition at line 411 of file QcdUeDQM.h.