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
 EDAnalyzer ()
 
std::string workerType () const
 
virtual ~EDAnalyzer ()
 
- Public Member Functions inherited from edm::EDConsumerBase
 EDConsumerBase ()
 
ProductHolderIndex indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) 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::InputTag bsLabel_
 
double bsPos_
 
bool bsuse_
 
edm::InputTag caloJetLabel_
 
edm::InputTag 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::InputTag trackLabel_
 
int verbose_
 
reco::Vertex vtx1
 
edm::InputTag vtxLabel_
 
double vtxntk_
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
typedef WorkerT< EDAnalyzerWorkerType
 
- 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::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
CurrentProcessingContext const * currentContext () const
 
- 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 287 of file QcdUeDQM.h.

Constructor & Destructor Documentation

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

Definition at line 54 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().

54  :
55  hltResName_(parameters.getUntrackedParameter<string>("hltTrgResults")),
56  verbose_(parameters.getUntrackedParameter<int>("verbose",3)),
57  tgeo_(0),
58  theDbe_(0),
59  repSumMap_(0),
60  repSummary_(0),
61  h2TrigCorr_(0),
62  ptMin_(parameters.getParameter<double>("ptMin")),
63  minRapidity_(parameters.getParameter<double>("minRapidity")),
64  maxRapidity_(parameters.getParameter<double>("maxRapidity")),
65  tip_(parameters.getParameter<double>("tip")),
66  lip_(parameters.getParameter<double>("lip")),
67  diffvtxbs_(parameters.getParameter<double>("diffvtxbs")),
68  ptErr_pt_(parameters.getParameter<double>("ptErr_pt")),
69  vtxntk_(parameters.getParameter<double>("vtxntk")),
70  minHit_(parameters.getParameter<int>("minHit")),
71  pxlLayerMinCut_(parameters.getParameter<double>("pxlLayerMinCut")),
72  requirePIX1_(parameters.getParameter<bool>("requirePIX1")),
73  min3DHit_(parameters.getParameter<int>("min3DHit")),
74  maxChi2_(parameters.getParameter<double>("maxChi2")),
75  bsuse_(parameters.getParameter<bool>("bsuse")),
76  allowTriplets_(parameters.getParameter<bool>("allowTriplets")),
77  bsPos_(parameters.getParameter<double>("bsPos")),
78  caloJetLabel_(parameters.getUntrackedParameter<edm::InputTag>("caloJetTag")),
79  chargedJetLabel_(parameters.getUntrackedParameter<edm::InputTag>("chargedJetTag")),
80  trackLabel_(parameters.getUntrackedParameter<edm::InputTag>("trackTag")),
81  vtxLabel_(parameters.getUntrackedParameter<edm::InputTag>("vtxTag")),
82  bsLabel_(parameters.getParameter<edm::InputTag>("beamSpotTag"))
83 {
84  // Constructor.
85  std::vector<std::string> quality = parameters.getParameter<std::vector<std::string> >("quality");
86  for (unsigned int j=0;j<quality.size();j++) quality_.push_back(reco::TrackBase::qualityByName(quality[j]));
87  std::vector<std::string> algorithm = parameters.getParameter<std::vector<std::string> >("algorithm");
88  for (unsigned int j=0;j<algorithm.size();j++) algorithm_.push_back(reco::TrackBase::algoByName(algorithm[j]));
89 
90  if (parameters.exists("hltTrgNames"))
91  hltTrgNames_ = parameters.getUntrackedParameter<vector<string> >("hltTrgNames");
92 
93  if (parameters.exists("hltProcNames"))
94  hltProcNames_ = parameters.getUntrackedParameter<vector<string> >("hltProcNames");
95  else {
96  // hltProcNames_.push_back("FU");
97  hltProcNames_.push_back("HLT");
98  }
99 
100  isHltConfigSuccessful_ = false; // init
101 
102 }
bool bsuse_
Definition: QcdUeDQM.h:277
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:141
bool exists(std::string const &parameterName) const
checks if a parameter exists
edm::InputTag vtxLabel_
Definition: QcdUeDQM.h:283
double ptErr_pt_
Definition: QcdUeDQM.h:270
bool requirePIX1_
Definition: QcdUeDQM.h:274
bool isHltConfigSuccessful_
Definition: QcdUeDQM.h:69
std::vector< std::string > hltTrgNames_
Definition: QcdUeDQM.h:134
MonitorElement * repSumMap_
Definition: QcdUeDQM.h:144
edm::InputTag bsLabel_
Definition: QcdUeDQM.h:284
std::vector< std::string > hltProcNames_
Definition: QcdUeDQM.h:133
std::string hltResName_
Definition: QcdUeDQM.h:132
MonitorElement * h2TrigCorr_
Definition: QcdUeDQM.h:146
double bsPos_
Definition: QcdUeDQM.h:279
double maxChi2_
Definition: QcdUeDQM.h:276
edm::InputTag trackLabel_
Definition: QcdUeDQM.h:282
int j
Definition: DBlmapReader.cc:9
double lip_
Definition: QcdUeDQM.h:268
std::vector< reco::TrackBase::TrackAlgorithm > algorithm_
Definition: QcdUeDQM.h:286
static TrackQuality qualityByName(const std::string &name)
Definition: TrackBase.cc:46
bool allowTriplets_
Definition: QcdUeDQM.h:278
double ptMin_
Definition: QcdUeDQM.h:264
MonitorElement * repSummary_
Definition: QcdUeDQM.h:145
edm::InputTag caloJetLabel_
Definition: QcdUeDQM.h:280
double diffvtxbs_
Definition: QcdUeDQM.h:269
double minRapidity_
Definition: QcdUeDQM.h:265
int min3DHit_
Definition: QcdUeDQM.h:275
double pxlLayerMinCut_
Definition: QcdUeDQM.h:273
static TrackAlgorithm algoByName(const std::string &name)
Definition: TrackBase.cc:55
std::vector< reco::TrackBase::TrackQuality > quality_
Definition: QcdUeDQM.h:285
edm::InputTag chargedJetLabel_
Definition: QcdUeDQM.h:281
DQMStore * theDbe_
Definition: QcdUeDQM.h:143
double maxRapidity_
Definition: QcdUeDQM.h:266
const TrackerGeometry * tgeo_
Definition: QcdUeDQM.h:142
double vtxntk_
Definition: QcdUeDQM.h:271
int minHit_
Definition: QcdUeDQM.h:272
double tip_
Definition: QcdUeDQM.h:267
QcdUeDQM::~QcdUeDQM ( )
virtual

Definition at line 105 of file QcdUeDQM.cc.

106 {
107  // Destructor.
108 
109 
110 }

Member Function Documentation

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

Implements edm::EDAnalyzer.

Definition at line 113 of file QcdUeDQM.cc.

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

114 {
115  if( ! isHltConfigSuccessful_ ) return;
116 
117  // Analyze the given event.
118 
120  bool ValidBS_ = iEvent.getByLabel(bsLabel_,beamSpot);
121  if(!ValidBS_)return;
122 
124  bool ValidTrack_ = iEvent.getByLabel(trackLabel_,tracks);
125  if(!ValidTrack_)return;
126 
127  //edm::Handle<reco::CandidateView> trkJets;
128  //bool ValidTrackJet_ = iEvent.getByLabel (chargedJetLabel_,trkJets);
129  //if(!ValidTrackJet_)return;
130 
132  bool ValidTrackJet_ = iEvent.getByLabel(chargedJetLabel_,trkJets );
133  if(!ValidTrackJet_)return;
134 
135 
137  bool ValidCaloJet_ = iEvent.getByLabel (caloJetLabel_,calJets);
138  if(!ValidCaloJet_)return;
139 
141  bool ValidVtxColl_ = iEvent.getByLabel (vtxLabel_, vertexColl);
142  if(!ValidVtxColl_)return;
143 
144  reco::TrackCollection tracks_sort = *tracks;
145  std::sort(tracks_sort.begin(), tracks_sort.end(), PtSorter());
146 
147  // get tracker geometry
148 /* ESHandle<TrackerGeometry> trackerHandle;
149  iSetup.get<TrackerDigiGeometryRecord>().get(trackerHandle);
150  tgeo_ = trackerHandle.product();
151  if (!tgeo_)return;
152 */
153  selected_.clear();
154  fillHltBits(iEvent,iSetup);
155  // select good tracks
156  if(fillVtxPlots(beamSpot.product(),vertexColl))
157  {
158  fill1D(hNevts_,1);
159  for(reco::TrackCollection::const_iterator Trk = tracks_sort.begin(); Trk != tracks_sort.end(); ++Trk)
160  {
161 
162  if ( trackSelection(*Trk,beamSpot.product(),vtx1,vertexColl->size()) ) selected_.push_back( & * Trk );
163  }
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  }
174 
175 }
void fillHltBits(const edm::Event &iEvent, const edm::EventSetup &iSetup)
Definition: QcdUeDQM.cc:1082
void fill1D(std::vector< TH1F * > &hs, double val, double w=1.)
Definition: QcdUeDQM.cc:579
bool trackSelection(const reco::Track &trk, const reco::BeamSpot *bs, const reco::Vertex &vtx, int sizevtx)
Definition: QcdUeDQM.cc:663
std::vector< Track > TrackCollection
collection of Tracks
Definition: TrackFwd.h:10
edm::InputTag vtxLabel_
Definition: QcdUeDQM.h:283
bool fillVtxPlots(const reco::BeamSpot *bs, const edm::Handle< reco::VertexCollection > vtxColl)
Definition: QcdUeDQM.cc:754
void fillUE_with_ChargedJets(const std::vector< const reco::Track * > &track, const edm::Handle< reco::TrackJetCollection > &trackJets)
Definition: QcdUeDQM.cc:924
bool isHltConfigSuccessful_
Definition: QcdUeDQM.h:69
void fillUE_with_MaxpTtrack(const std::vector< const reco::Track * > &track)
Definition: QcdUeDQM.cc:841
edm::InputTag bsLabel_
Definition: QcdUeDQM.h:284
edm::InputTag trackLabel_
Definition: QcdUeDQM.h:282
reco::Vertex vtx1
Definition: QcdUeDQM.h:289
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
Definition: Event.h:361
tuple tracks
Definition: testEve_cfg.py:39
edm::InputTag caloJetLabel_
Definition: QcdUeDQM.h:280
T const * product() const
Definition: Handle.h:74
container selected_
Definition: QcdUeDQM.h:288
void fillChargedJetSpectra(const edm::Handle< reco::TrackJetCollection > trackJets)
Definition: QcdUeDQM.cc:804
edm::InputTag chargedJetLabel_
Definition: QcdUeDQM.h:281
std::vector< MonitorElement * > hNevts_
Definition: QcdUeDQM.h:148
void fillpTMaxRelated(const std::vector< const reco::Track * > &track)
Definition: QcdUeDQM.cc:779
void QcdUeDQM::beginJob ( void  )
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 178 of file QcdUeDQM.cc.

References cppFunctionSkipper::operator, and theDbe_.

179 {
180  // Begin job and setup the DQM store.
181 
183  if (!theDbe_)return;
184 
185  // theDbe_->setCurrentFolder("Physics/QcdUe");
186 
187 }
DQMStore * theDbe_
Definition: QcdUeDQM.h:143
void QcdUeDQM::beginLuminosityBlock ( const edm::LuminosityBlock l,
const edm::EventSetup iSetup 
)
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 190 of file QcdUeDQM.cc.

References isHltConfigSuccessful_.

192 {
193  if( ! isHltConfigSuccessful_ ) return;
194 
195  // At the moment, nothing needed to be done.
196 }
bool isHltConfigSuccessful_
Definition: QcdUeDQM.h:69
void QcdUeDQM::beginRun ( const edm::Run r,
const edm::EventSetup iSetup 
)
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 199 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().

200 {
201 
202  // indicating change of HLT cfg at run boundries
203  // for HLTConfigProvider::init()
204  bool isHltCfgChange = false;
205  isHltConfigSuccessful_ = false; // init
206 
207  string teststr;
208  for(size_t i=0; i<hltProcNames_.size(); ++i) {
209  if (i>0)
210  teststr += ", ";
211  teststr += hltProcNames_.at(i);
212  if ( hltConfig.init( run, iSetup, hltProcNames_.at(i), isHltCfgChange ) ) {
213  isHltConfigSuccessful_ = true;
215  if (hltResName_.find(':')==string::npos)
216  hltUsedResName_ += "::";
217  else
218  hltUsedResName_ += ":";
220  break;
221  }
222  }
223 
224  if ( ! isHltConfigSuccessful_ )return;
225 
226  // setup "Any" bit
227  hltTrgBits_.clear();
228  hltTrgBits_.push_back(-1);
229  hltTrgDeci_.clear();
230  hltTrgDeci_.push_back(true);
231  hltTrgUsedNames_.clear();
232  hltTrgUsedNames_.push_back("Any");
233 
234  // figure out relation of trigger name to trigger bit and store used trigger names/bits
235  for(size_t i=0;i<hltTrgNames_.size();++i) {
236  const string &n1(hltTrgNames_.at(i));
237  //unsigned int hlt_prescale = hltConfig.prescaleValue(iSetup, n1);
238  //cout<<"trigger=="<<n1<<"presc=="<<hlt_prescale<<endl;
239  bool found = 0;
240  for(size_t j=0;j<hltConfig.size();++j) {
241  const string &n2(hltConfig.triggerName(j));
242  if (n2==n1) {
243  hltTrgBits_.push_back(j);
244  hltTrgUsedNames_.push_back(n1);
245  hltTrgDeci_.push_back(false);
246  found = 1;
247  break;
248  }
249  }
250  if (!found) {
251  CP(2) cout<<"Could not find trigger bit"<<endl ;
252  }
253  }
254 
255  // book monitoring histograms
256  createHistos();
258 
259 }
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:328
std::string hltUsedResName_
Definition: QcdUeDQM.h:140
std::vector< std::string > hltTrgUsedNames_
Definition: QcdUeDQM.h:139
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:69
std::vector< std::string > hltTrgNames_
Definition: QcdUeDQM.h:134
std::vector< std::string > hltProcNames_
Definition: QcdUeDQM.h:133
std::string hltResName_
Definition: QcdUeDQM.h:132
std::vector< int > hltTrgBits_
Definition: QcdUeDQM.h:137
HLTConfigProvider hltConfig
Definition: QcdUeDQM.h:130
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:138
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 262 of file QcdUeDQM.cc.

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

Referenced by createHistos().

265 {
266  // Book 1D histos.
267 
268  for(size_t i=0;i<hltTrgUsedNames_.size();++i) {
269  std::string folderName = "Physics/QcdUe/" + hltTrgUsedNames_.at(i);
270  theDbe_->setCurrentFolder(folderName);
271  MonitorElement *e = theDbe_->book1D(Form("%s_%s",name.c_str(),hltTrgUsedNames_.at(i).c_str()),
272  Form("%s: %s",hltTrgUsedNames_.at(i).c_str(), title.c_str()),
273  nx, x1, x2);
274  TH1 *h1 = e->getTH1();
275  if (sumw2) {
276  if( 0 == h1->GetSumw2N() ) { // protect against re-summing (would cause exception)
277  h1->Sumw2();
278  }
279  }
280  h1->SetStats(sbox);
281  mes.push_back(e);
282  }
283 }
int i
Definition: DBlmapReader.cc:9
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
Definition: DQMStore.cc:722
std::vector< std::string > hltTrgUsedNames_
Definition: QcdUeDQM.h:139
TH1 * getTH1(void) const
DQMStore * theDbe_
Definition: QcdUeDQM.h:143
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:434
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 286 of file QcdUeDQM.cc.

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

290 {
291  // Book 2D histos.
292 
293  for(size_t i=0;i<hltTrgUsedNames_.size();++i) {
294  std::string folderName = "Physics/QcdUe/" + hltTrgUsedNames_.at(i);
295  theDbe_->setCurrentFolder(folderName);
296  MonitorElement *e = theDbe_->book2D(Form("%s_%s",name.c_str(),hltTrgUsedNames_.at(i).c_str()),
297  Form("%s: %s",hltTrgUsedNames_.at(i).c_str(), title.c_str()),
298  nx, x1, x2, ny, y1, y2);
299  TH1 *h1 = e->getTH1();
300  if (sumw2) {
301  if( 0 == h1->GetSumw2N() ) { // protect against re-summing (would cause exception)
302  h1->Sumw2();
303  }
304  }
305  h1->SetStats(sbox);
306  mes.push_back(e);
307  }
308 }
int i
Definition: DBlmapReader.cc:9
std::vector< std::string > hltTrgUsedNames_
Definition: QcdUeDQM.h:139
TH1 * getTH1(void) const
DQMStore * theDbe_
Definition: QcdUeDQM.h:143
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
Definition: DQMStore.cc:850
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:434
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 311 of file QcdUeDQM.cc.

References DQMStore::bookProfile(), alignCSCRings::e, hltTrgUsedNames_, i, DQMStore::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and theDbe_.

Referenced by createHistos().

315 {
316  // Book Profile histos.
317 
318  for(size_t i=0;i<hltTrgUsedNames_.size();++i) {
319  std::string folderName = "Physics/QcdUe/" + hltTrgUsedNames_.at(i);
320  theDbe_->setCurrentFolder(folderName);
321  MonitorElement *e = theDbe_->bookProfile(Form("%s_%s",name.c_str(),hltTrgUsedNames_.at(i).c_str()),
322  Form("%s: %s",hltTrgUsedNames_.at(i).c_str(), title.c_str()),
323  nx, x1, x2, y1, y2," ");
324  mes.push_back(e);
325  }
326 }
int i
Definition: DBlmapReader.cc:9
std::vector< std::string > hltTrgUsedNames_
Definition: QcdUeDQM.h:139
MonitorElement * bookProfile(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const char *option="s")
Definition: DQMStore.cc:1036
DQMStore * theDbe_
Definition: QcdUeDQM.h:143
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:434
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 328 of file QcdUeDQM.cc.

References book1D(), DQMStore::book2D(), 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(), DQMStore::setCurrentFolder(), and theDbe_.

Referenced by beginRun().

329 {
330  // Book histograms if needed.
331 
332 
333 /* if (1) {
334  theDbe_->setCurrentFolder("Physics/EventInfo/");
335  repSumMap_ = theDbe_->book2D("reportSummaryMap","reportSummaryMap",1,0,1,1,0,1);
336  repSummary_ = theDbe_->bookFloat("reportSummary");
337  }
338  */
339  theDbe_->setCurrentFolder("Physics/QcdUe");
340 
341  if (1) {
342  const int Nx = hltTrgUsedNames_.size();
343  const double x1 = -0.5;
344  const double x2 = Nx-0.5;
345  h2TrigCorr_ = theDbe_->book2D("h2TriCorr","Trigger bit x vs y;y&&!x;x&&y",Nx,x1,x2,Nx,x1,x2);
346  for(size_t i=1;i<=hltTrgUsedNames_.size();++i) {
349  }
350  TH1 *h = h2TrigCorr_->getTH1();
351  if (h)
352  h->SetStats(0);
353  }
354  book1D(hNevts_,"hNevts","number of events",2,0,2);
355  book1D(hNtrackerLayer_,"hNtrackerLayer","number of tracker layers;multiplicity",20,-0.5,19.5 );
356  book1D(hNtrackerPixelLayer_,"hNtrackerPixelLayer","number of pixel layers;multiplicity",10,-0.5,9.5 );
357  book1D(hNtrackerStripPixelLayer_,"hNtrackerStripPixelLayer","number of strip + pixel layers;multiplicity",30,-0.5,39.5 );
358  book1D(hRatioPtErrorPt_,"hRatioPtErrorPt","ratio of pT error and track pT",25,0.,5.);
359  book1D(hTrkPt_,"hTrkPt","pT of all tracks",50,0.,50.);
360  book1D(hTrkEta_,"hTrkEta","eta of all tracks",40,-4.,4.);
361  book1D(hTrkPhi_,"hTrkPhi","phi of all tracks",40,-4.,4.);
362  book1D(hRatioDxySigmaDxyBS_,"hRatioDxySigmaDxyBS","ratio of transverse impact parameter and its significance wrt beam spot",60,-10.,10);
363  book1D(hRatioDxySigmaDxyPV_,"hRatioDxySigmaDxyPV","ratio of transverse impact parameter and its significance wrt PV",60,-10.,10);
364  book1D(hRatioDzSigmaDzBS_,"hRatioDzSigmaDzBS","ratio of longitudinal impact parameter and its significance wrt beam spot",80,-20.,20);
365  book1D(hRatioDzSigmaDzPV_,"hRatioDzSigmaDzPV","ratio of longitudinal impact parameter and its significance wrt PV",80,-20.,20);
366  book1D(hTrkChi2_,"hTrkChi2","track chi2",30,0.,30);
367  book1D(hTrkNdof_,"hTrkNdof","track NDOF",100,0,100);
368 
369  book1D(hNgoodTrk_,"hNgoodTrk","number of good tracks",50,-0.5,49.5);
370 
371  book1D(hGoodTrkPt500_,"hGoodTrkPt500","pT of all good tracks with pT > 500 MeV",50,0.,50.);
372  book1D(hGoodTrkEta500_,"hGoodTrkEta500","eta of all good tracks pT > 500 MeV",40,-4.,4.);
373  book1D(hGoodTrkPhi500_,"hGoodTrkPhi500","phi of all good tracks pT > 500 MeV",40,-4.,4.);
374 
375  book1D(hGoodTrkPt900_,"hGoodTrkPt900","pT of all good tracks with pT > 900 MeV",50,0.,50.);
376  book1D(hGoodTrkEta900_,"hGoodTrkEta900","eta of all good tracks pT > 900 MeV",40,-4.,4.);
377  book1D(hGoodTrkPhi900_,"hGoodTrkPhi900","phi of all good tracks pT > 900 MeV",40,-4.,4.);
378 
379  book1D(hNvertices_,"hNvertices","number of vertices",5,-0.5,4.5);
380  book1D(hVertex_z_,"hVertex_z","z position of vertex; z[cm]",200,-50,50);
381  book1D(hVertex_y_,"hVertex_y","y position of vertex; y[cm]",100,-5,5);
382  book1D(hVertex_x_,"hVertex_x","x position of vertex; x[cm]",100,-5,5);
383  book1D(hVertex_ndof_,"hVertex_ndof","ndof of vertex",100,0,100);
384  book1D(hVertex_rho_,"hVertex_rho","rho of vertex",100,0,5);
385  book1D(hVertex_z_bs_,"hVertex_z_bs","z position of vertex from beamspot; z[cm]",200,-50,50);
386 
387  book1D(hBeamSpot_z_,"hBeamSpot_z","z position of beamspot; z[cm]",100,-20,20);
388  book1D(hBeamSpot_y_,"hBeamSpot_y","y position of beamspot; y[cm]",50,-10,10);
389  book1D(hBeamSpot_x_,"hBeamSpot_x","x position of beamspot; x[cm]",50,-10,10);
390 
391 
392  if (1) {
393  const int Nx = 25;
394  const double x1 = 0.0;
395  const double x2 = 50.0;
396  book1D(hLeadingTrack_pTSpectrum_,"hLeadingTrack_pTSpectrum","pT spectrum of leading track;pT(GeV/c)",Nx,x1,x2);
397 // book1D(hLeadingCaloJet_pTSpectrum_,"hLeadingCalo_pTSpectrum","pT spectrum of leading calo jet;pT(GeV/c)",Nx,x1,x2);
398  book1D(hLeadingChargedJet_pTSpectrum_,"hLeadingChargedJet_pTSpectrum","pT spectrum of leading track jet;pT(GeV/c)",Nx,x1,x2);
399 
400  }
401 
402  if (1) {
403  const int Nx = 24;
404  const double x1 = -4.;
405  const double x2 = 4.;
406  book1D(hLeadingTrack_phiSpectrum_,"hLeadingTrack_phiSpectrum","#phi spectrum of leading track;#phi",Nx,x1,x2);
407  // book1D(hLeadingCaloJet_phiSpectrum_,"hLeadingCaloJet_phiSpectrum","#phi spectrum of leading calo jet;#phi",Nx,x1,x2);
408  book1D(hLeadingChargedJet_phiSpectrum_,"hLeadingChargedJet_phiSpectrum","#phi spectrum of leading track jet;#phi",Nx,x1,x2);
409 
410  }
411 
412  if (1) {
413  const int Nx = 24;
414  const double x1 = -4.;
415  const double x2 = 4.;
416  book1D(hLeadingTrack_etaSpectrum_,"hLeadingTrack_etaSpectrum","#eta spectrum of leading track;#eta",Nx,x1,x2);
417  //book1D(hLeadingCaloJet_etaSpectrum_,"hLeadingCaloJet_etaSpectrum","#eta spectrum of leading calo jet;#eta",Nx,x1,x2);
418  book1D(hLeadingChargedJet_etaSpectrum_,"hLeadingChargedJet_etaSpectrum","#eta spectrum of leading track jet;#eta",Nx,x1,x2);
419 
420  }
421 
422 
423 if (1) {
424  const int Nx = 75;
425  const double x1 = 0.0;
426  const double x2 = 75.0;
427  const double y1 = 0.;
428  const double y2 = 10.;
429  bookProfile(hdNdEtadPhi_pTMax_Toward500_,"hdNdEtadPhi_pTMax_Toward500",
430  "Average number of tracks (pT > 500 MeV) in toward region vs leading track pT;pT(GeV/c);dN/d#eta d#phi",Nx,x1,x2,y1,y2,0,0);
431  bookProfile(hdNdEtadPhi_pTMax_Transverse500_,"hdNdEtadPhi_pTMax_Transverse500",
432  "Average number of tracks (pT > 500 MeV) in transverse region vs leading track pT;pT(GeV/c);dN/d#eta d#phi",Nx,x1,x2,y1,y2,0,0);
433  bookProfile(hdNdEtadPhi_pTMax_Away500_,"hdNdEtadPhi_pTMax_Away500",
434  "Average number of tracks (pT > 500 MeV) in away region vs leading track pT;pT(GeV/c);dN/d#eta d#phi",Nx,x1,x2,y1,y2,0,0);
435  /*
436  bookProfile(hdNdEtadPhi_caloJet_Toward500_,"hdNdEtadPhi_caloJet_Toward500",
437  "Average number of tracks (pT > 500 MeV) in toward region vs leading calo jet pT;pT(GeV/c);dN/d#eta d#phi",Nx,x1,x2,y1,y2,0,0);
438  bookProfile(hdNdEtadPhi_caloJet_Transverse500_,"hdNdEtadPhi_caloJet_Transverse500",
439  "Average number of tracks (pT > 500 MeV) in transverse region vs leading calo jet pT;pT(GeV/c);dN/d#eta d#phi",Nx,x1,x2,y1,y2,0,0);
440  bookProfile(hdNdEtadPhi_caloJet_Away500_,"hdNdEtadPhi_caloJet_Away500",
441  "Average number of tracks (pT > 500 MeV) in away region vs leading calo jet pT;pT(GeV/c);dN/d#eta d#phi",Nx,x1,x2,y1,y2,0,0);
442  */
443 
444  bookProfile(hdNdEtadPhi_trackJet_Toward500_,"hdNdEtadPhi_trackJet_Toward500",
445  "Average number of tracks (pT > 500 MeV) in toward region vs leading track jet pT;pT(GeV/c);dN/d#eta d#phi",Nx,x1,x2,y1,y2);
446  bookProfile(hdNdEtadPhi_trackJet_Transverse500_,"hdNdEtadPhi_trackJet_Transverse500",
447  "Average number of tracks (pT > 500 MeV) in transverse region vs leading track jet pT;pT(GeV/c);dN/d#eta d#phi",Nx,x1,x2,y1,y2,0,0);
448  bookProfile(hdNdEtadPhi_trackJet_Away500_,"hdNdEtadPhi_trackJet_Away500",
449  "Average number of tracks (pT > 500 MeV) in away region vs leading track jet pT;pT(GeV/c);dN/d#eta d#phi",Nx,x1,x2,y1,y2,0,0);
450 
451 
452 
453  bookProfile(hpTSumdEtadPhi_pTMax_Toward500_,"hpTSumdEtadPhi_pTMax_Toward500",
454  "Average number of tracks (pT > 500 MeV) in toward region vs leading track pT;pT(GeV/c);dpTSum/d#eta d#phi",Nx,x1,x2,y1,y2,0,0);
455  bookProfile(hpTSumdEtadPhi_pTMax_Transverse500_,"hpTSumdEtadPhi_pTMax_Transverse500",
456  "Average number of tracks (pT > 500 MeV) in transverse region vs leading track pT;pT(GeV/c);dpTSum/d#eta d#phi",Nx,x1,x2,y1,y2,0,0);
457  bookProfile(hpTSumdEtadPhi_pTMax_Away500_,"hpTSumdEtadPhi_pTMax_Away500",
458  "Average number of tracks (pT > 500 MeV) in away region vs leading track pT;pT(GeV/c);dpTSum/d#eta d#phi",Nx,x1,x2,y1,y2,0,0);
459 /*
460  bookProfile(hpTSumdEtadPhi_caloJet_Toward500_,"hpTSumdEtadPhi_caloJet_Toward500",
461  "Average number of tracks (pT > 500 MeV) in toward region vs leading calo jet pT;pT(GeV/c);dpTSum/d#eta d#phi",Nx,x1,x2,y1,y2,0,0);
462  bookProfile(hpTSumdEtadPhi_caloJet_Transverse500_,"hpTSumdEtadPhi_caloJet_Transverse500",
463  "Average number of tracks (pT > 500 MeV) in transverse region vs leading calo jet pT;pT(GeV/c);dpTSum/d#eta d#phi",Nx,x1,x2,y1,y2,0,0);
464  bookProfile(hpTSumdEtadPhi_caloJet_Away500_,"hpTSumdEtadPhi_caloJet_Away500",
465  "Average number of tracks (pT > 500 MeV) in away region vs leading calo jet pT;pT(GeV/c);dpTSum/d#eta d#phi",Nx,x1,x2,y1,y2,0,0);
466 */
467 
468  bookProfile(hpTSumdEtadPhi_trackJet_Toward500_,"hpTSumdEtadPhi_trackJet_Toward500",
469  "Average number of tracks (pT > 500 MeV) in toward region vs leading track jet pT;pT(GeV/c);dpTSum/d#eta d#phi",Nx,x1,x2,y1,y2,0,0);
470  bookProfile(hpTSumdEtadPhi_trackJet_Transverse500_,"hpTSumdEtadPhi_trackJet_Transverse500",
471  "Average number of tracks (pT > 500 MeV) in transverse region vs leading track jet pT;pT(GeV/c);dpTSum/d#eta d#phi",Nx,x1,x2,y1,y2,0,0);
472  bookProfile(hpTSumdEtadPhi_trackJet_Away500_,"hpTSumdEtadPhi_trackJet_Away500",
473  "Average number of tracks (pT > 500 MeV) in away region vs leading track jet pT;pT(GeV/c);dpTSum/d#eta d#phi",Nx,x1,x2,y1,y2,0,0);
474 
475 
476  bookProfile(hdNdEtadPhi_pTMax_Toward900_,"hdNdEtadPhi_pTMax_Toward900",
477  "Average number of tracks (pT > 900 MeV) in toward region vs leading track pT;pT(GeV/c);dN/d#eta d#phi",Nx,x1,x2,y1,y2,0,0);
478  bookProfile(hdNdEtadPhi_pTMax_Transverse900_,"hdNdEtadPhi_pTMax_Transverse900",
479  "Average number of tracks (pT > 900 MeV) in transverse region vs leading track pT;pT(GeV/c);dN/d#eta d#phi",Nx,x1,x2,y1,y2,0,0);
480  bookProfile(hdNdEtadPhi_pTMax_Away900_,"hdNdEtadPhi_pTMax_Away900",
481  "Average number of tracks (pT > 900 MeV) in away region vs leading track pT;pT(GeV/c);dN/d#eta d#phi",Nx,x1,x2,y1,y2,0,0);
482 /*
483  bookProfile(hdNdEtadPhi_caloJet_Toward900_,"hdNdEtadPhi_caloJet_Toward900",
484  "Average number of tracks (pT > 900 MeV) in toward region vs leading calo jet pT;pT(GeV/c);dN/d#eta d#phi",Nx,x1,x2,y1,y2,0,0);
485  bookProfile(hdNdEtadPhi_caloJet_Transverse900_,"hdNdEtadPhi_caloJet_Transverse900",
486  "Average number of tracks (pT > 900 MeV) in transverse region vs leading calo jet pT;pT(GeV/c);dN/d#eta d#phi",Nx,x1,x2,y1,y2,0,0);
487  bookProfile(hdNdEtadPhi_caloJet_Away900_,"hdNdEtadPhi_caloJet_Away900",
488  "Average number of tracks (pT > 900 MeV) in away region vs leading calo jet pT;pT(GeV/c);dN/d#eta d#phi",Nx,x1,x2,y1,y2,0,0);
489 */
490 
491  bookProfile(hdNdEtadPhi_trackJet_Toward900_,"hdNdEtadPhi_trackJet_Toward900",
492  "Average number of tracks (pT > 900 MeV) in toward region vs leading track jet pT;pT(GeV/c);dN/d#eta d#phi",Nx,x1,x2,y1,y2);
493  bookProfile(hdNdEtadPhi_trackJet_Transverse900_,"hdNdEtadPhi_trackJet_Transverse900",
494  "Average number of tracks (pT > 900 MeV) in transverse region vs leading track jet pT;pT(GeV/c);dN/d#eta d#phi",Nx,x1,x2,y1,y2,0,0);
495  bookProfile(hdNdEtadPhi_trackJet_Away900_,"hdNdEtadPhi_trackJet_Away900",
496  "Average number of tracks (pT > 900 MeV) in away region vs leading track jet pT;pT(GeV/c);dN/d#eta d#phi",Nx,x1,x2,y1,y2,0,0);
497 
498 
499 
500  bookProfile(hpTSumdEtadPhi_pTMax_Toward900_,"hpTSumdEtadPhi_pTMax_Toward900",
501  "Average number of tracks (pT > 900 MeV) in toward region vs leading track pT;pT(GeV/c);dpTSum/d#eta d#phi",Nx,x1,x2,y1,y2,0,0);
502  bookProfile(hpTSumdEtadPhi_pTMax_Transverse900_,"hpTSumdEtadPhi_pTMax_Transverse900",
503  "Average number of tracks (pT > 900 MeV) in transverse region vs leading track pT;pT(GeV/c);dpTSum/d#eta d#phi",Nx,x1,x2,y1,y2,0,0);
504  bookProfile(hpTSumdEtadPhi_pTMax_Away900_,"hpTSumdEtadPhi_pTMax_Away900",
505  "Average number of tracks (pT > 900 MeV) in away region vs leading track pT;pT(GeV/c);dpTSum/d#eta d#phi",Nx,x1,x2,y1,y2,0,0);
506 /*
507  bookProfile(hpTSumdEtadPhi_caloJet_Toward900_,"hpTSumdEtadPhi_caloJet_Toward900",
508  "Average number of tracks (pT > 900 MeV) in toward region vs leading calo jet pT;pT(GeV/c);dpTSum/d#eta d#phi",Nx,x1,x2,y1,y2,0,0);
509  bookProfile(hpTSumdEtadPhi_caloJet_Transverse900_,"hpTSumdEtadPhi_caloJet_Transverse900",
510  "Average number of tracks (pT > 900 MeV) in transverse region vs leading calo jet pT;pT(GeV/c);dpTSum/d#eta d#phi",Nx,x1,x2,y1,y2,0,0);
511  bookProfile(hpTSumdEtadPhi_caloJet_Away900_,"hpTSumdEtadPhi_caloJet_Away900",
512  "Average number of tracks (pT > 900 MeV) in away region vs leading calo jet pT;pT(GeV/c);dpTSum/d#eta d#phi",Nx,x1,x2,y1,y2,0,0);
513 */
514  bookProfile(hpTSumdEtadPhi_trackJet_Toward900_,"hpTSumdEtadPhi_trackJet_Toward900",
515  "Average number of tracks (pT > 900 MeV) in toward region vs leading track jet pT;pT(GeV/c);dpTSum/d#eta d#phi",Nx,x1,x2,y1,y2,0,0);
516  bookProfile(hpTSumdEtadPhi_trackJet_Transverse900_,"hpTSumdEtadPhi_trackJet_Transverse900",
517  "Average number of tracks (pT > 900 MeV) in transverse region vs leading track jet pT;pT(GeV/c);dpTSum/d#eta d#phi",Nx,x1,x2,y1,y2,0,0);
518  bookProfile(hpTSumdEtadPhi_trackJet_Away900_,"hpTSumdEtadPhi_trackJet_Away900",
519  "Average number of tracks (pT > 900 MeV) in away region vs leading track jet pT;pT(GeV/c);dpTSum/d#eta d#phi",Nx,x1,x2,y1,y2,0,0);
520 
521 
522  }
523 
524 if (1) {
525  const int Nx = 20;
526  const double x1 = 0.0;
527  const double x2 = 20.0;
528 
529  book1D(hChargedJetMulti_,"hChargedJetMulti","Charged jet multiplicity;multiplicities",Nx,x1,x2);
530  //book1D(hCaloJetMulti_,"hCaloJetMulti","Calo jet multiplicity;multiplicities",Nx,x1,x2);
531 
532  }
533 
534 
535 if (1) {
536  const int Nx = 60;
537  const double x1 = -180.0;
538  const double x2 = 180.0;
539 
540  book1D(hdPhi_maxpTTrack_tracks_,"hdPhi_maxpTTrack_tracks","delta phi between leading tracks and other tracks;#Delta#phi(leading track-track)",Nx,x1,x2);
541 // book1D(hdPhi_caloJet_tracks_,"hdPhi_caloJet_tracks","delta phi between leading calo jet and tracks;#Delta#phi(leading calo jet-track)",Nx,x1,x2);
542  book1D(hdPhi_chargedJet_tracks_,"hdPhi_chargedJet_tracks","delta phi between leading charged jet and tracks;#Delta#phi(leading charged jet-track)",Nx,x1,x2);
543 
544 }
545 
546 
547 }
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Away500_
Definition: QcdUeDQM.h:234
int i
Definition: DBlmapReader.cc:9
std::vector< MonitorElement * > hGoodTrkEta500_
Definition: QcdUeDQM.h:158
std::vector< MonitorElement * > hRatioPtErrorPt_
Definition: QcdUeDQM.h:152
std::vector< MonitorElement * > hTrkPt_
Definition: QcdUeDQM.h:153
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Toward900_
Definition: QcdUeDQM.h:245
std::vector< MonitorElement * > hVertex_ndof_
Definition: QcdUeDQM.h:176
std::vector< MonitorElement * > hNtrackerStripPixelLayer_
Definition: QcdUeDQM.h:151
std::vector< MonitorElement * > hGoodTrkPhi500_
Definition: QcdUeDQM.h:159
std::vector< MonitorElement * > hBeamSpot_x_
Definition: QcdUeDQM.h:183
std::vector< MonitorElement * > hNvertices_
Definition: QcdUeDQM.h:172
std::vector< MonitorElement * > hGoodTrkPt900_
Definition: QcdUeDQM.h:160
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Transverse500_
Definition: QcdUeDQM.h:233
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Transverse900_
Definition: QcdUeDQM.h:246
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Toward900_
Definition: QcdUeDQM.h:258
std::vector< MonitorElement * > hdPhi_chargedJet_tracks_
Definition: QcdUeDQM.h:206
std::vector< MonitorElement * > hLeadingTrack_pTSpectrum_
Definition: QcdUeDQM.h:186
std::vector< std::string > hltTrgUsedNames_
Definition: QcdUeDQM.h:139
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 * > hpTSumdEtadPhi_pTMax_Transverse900_
Definition: QcdUeDQM.h:252
std::vector< MonitorElement * > hBeamSpot_y_
Definition: QcdUeDQM.h:182
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Toward500_
Definition: QcdUeDQM.h:212
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Transverse500_
Definition: QcdUeDQM.h:220
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Transverse500_
Definition: QcdUeDQM.h:226
std::vector< MonitorElement * > hVertex_z_bs_
Definition: QcdUeDQM.h:178
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Transverse500_
Definition: QcdUeDQM.h:213
std::vector< MonitorElement * > hLeadingChargedJet_etaSpectrum_
Definition: QcdUeDQM.h:209
std::vector< MonitorElement * > hTrkChi2_
Definition: QcdUeDQM.h:167
std::vector< MonitorElement * > hVertex_rho_
Definition: QcdUeDQM.h:177
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Toward500_
Definition: QcdUeDQM.h:219
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Away500_
Definition: QcdUeDQM.h:227
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Toward500_
Definition: QcdUeDQM.h:232
std::vector< MonitorElement * > hdPhi_maxpTTrack_tracks_
Definition: QcdUeDQM.h:204
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Away900_
Definition: QcdUeDQM.h:240
MonitorElement * h2TrigCorr_
Definition: QcdUeDQM.h:146
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Away500_
Definition: QcdUeDQM.h:221
std::vector< MonitorElement * > hTrkPhi_
Definition: QcdUeDQM.h:155
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Transverse900_
Definition: QcdUeDQM.h:259
std::vector< MonitorElement * > hLeadingTrack_phiSpectrum_
Definition: QcdUeDQM.h:188
std::vector< MonitorElement * > hRatioDxySigmaDxyBS_
Definition: QcdUeDQM.h:163
std::vector< MonitorElement * > hRatioDzSigmaDzBS_
Definition: QcdUeDQM.h:165
TH1 * getTH1(void) const
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Toward900_
Definition: QcdUeDQM.h:238
std::vector< MonitorElement * > hRatioDxySigmaDxyPV_
Definition: QcdUeDQM.h:164
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Transverse900_
Definition: QcdUeDQM.h:239
std::vector< MonitorElement * > hNtrackerPixelLayer_
Definition: QcdUeDQM.h:150
std::vector< MonitorElement * > hChargedJetMulti_
Definition: QcdUeDQM.h:194
std::vector< MonitorElement * > hTrkEta_
Definition: QcdUeDQM.h:154
std::vector< MonitorElement * > hNtrackerLayer_
Definition: QcdUeDQM.h:149
std::vector< MonitorElement * > hGoodTrkPt500_
Definition: QcdUeDQM.h:157
std::vector< MonitorElement * > hVertex_z_
Definition: QcdUeDQM.h:173
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_y_
Definition: QcdUeDQM.h:174
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Away900_
Definition: QcdUeDQM.h:247
std::vector< MonitorElement * > hLeadingChargedJet_pTSpectrum_
Definition: QcdUeDQM.h:196
std::vector< MonitorElement * > hNgoodTrk_
Definition: QcdUeDQM.h:156
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Away900_
Definition: QcdUeDQM.h:253
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Toward500_
Definition: QcdUeDQM.h:225
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Away500_
Definition: QcdUeDQM.h:214
std::vector< MonitorElement * > hBeamSpot_z_
Definition: QcdUeDQM.h:181
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:311
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Toward900_
Definition: QcdUeDQM.h:251
std::vector< MonitorElement * > hRatioDzSigmaDzPV_
Definition: QcdUeDQM.h:166
std::vector< MonitorElement * > hTrkNdof_
Definition: QcdUeDQM.h:168
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Away900_
Definition: QcdUeDQM.h:260
std::vector< MonitorElement * > hVertex_x_
Definition: QcdUeDQM.h:175
std::vector< MonitorElement * > hNevts_
Definition: QcdUeDQM.h:148
DQMStore * theDbe_
Definition: QcdUeDQM.h:143
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
Definition: DQMStore.cc:850
std::vector< MonitorElement * > hGoodTrkEta900_
Definition: QcdUeDQM.h:161
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:434
std::vector< MonitorElement * > hLeadingTrack_etaSpectrum_
Definition: QcdUeDQM.h:187
std::vector< MonitorElement * > hLeadingChargedJet_phiSpectrum_
Definition: QcdUeDQM.h:210
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:262
std::vector< MonitorElement * > hGoodTrkPhi900_
Definition: QcdUeDQM.h:162
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 550 of file QcdUeDQM.cc.

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

Reimplemented from edm::EDAnalyzer.

Definition at line 556 of file QcdUeDQM.cc.

References isHltConfigSuccessful_.

558 {
559  if( ! isHltConfigSuccessful_ ) return;
560 
561  // Update various histograms.
562 
563  //repSummary_->Fill(1.);
564  // repSumMap_->Fill(0.5,0.5,1.);
565 
566 }
bool isHltConfigSuccessful_
Definition: QcdUeDQM.h:69
void QcdUeDQM::endRun ( const edm::Run r,
const edm::EventSetup iSetup 
)
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 570 of file QcdUeDQM.cc.

References isHltConfigSuccessful_.

571 {
572  if( ! isHltConfigSuccessful_ ) return;
573 
574  // End run, cleanup. TODO: can this be called several times in DQM???
575 
576 }
bool isHltConfigSuccessful_
Definition: QcdUeDQM.h:69
void QcdUeDQM::fill1D ( std::vector< TH1F * > &  hs,
double  val,
double  w = 1. 
)
private

Definition at line 579 of file QcdUeDQM.cc.

References hltTrgDeci_, and i.

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

580 {
581  // Loop over histograms and fill if trigger has fired.
582 
583  for(size_t i=0;i<hs.size();++i) {
584  if (!hltTrgDeci_.at(i))
585  continue;
586  hs.at(i)->Fill(val,w);
587  }
588 }
int i
Definition: DBlmapReader.cc:9
T w() const
std::vector< bool > hltTrgDeci_
Definition: QcdUeDQM.h:138
void QcdUeDQM::fill1D ( std::vector< MonitorElement * > &  mes,
double  val,
double  w = 1. 
)
private

Definition at line 591 of file QcdUeDQM.cc.

References hltTrgDeci_, and i.

592 {
593  // Loop over histograms and fill if trigger has fired.
594 
595  for(size_t i=0;i<mes.size();++i) {
596  if (!hltTrgDeci_.at(i))
597  continue;
598  mes.at(i)->Fill(val,w);
599  }
600 }
int i
Definition: DBlmapReader.cc:9
T w() const
std::vector< bool > hltTrgDeci_
Definition: QcdUeDQM.h:138
void QcdUeDQM::fill2D ( std::vector< TH2F * > &  hs,
double  valx,
double  valy,
double  w = 1. 
)
private

Definition at line 615 of file QcdUeDQM.cc.

References hltTrgDeci_, and i.

616 {
617  // Loop over histograms and fill if trigger has fired.
618 
619  for(size_t i=0;i<hs.size();++i) {
620  if (!hltTrgDeci_.at(i))
621  continue;
622  hs.at(i)->Fill(valx, valy ,w);
623  }
624 }
int i
Definition: DBlmapReader.cc:9
T w() const
std::vector< bool > hltTrgDeci_
Definition: QcdUeDQM.h:138
void QcdUeDQM::fill2D ( std::vector< MonitorElement * > &  mes,
double  valx,
double  valy,
double  w = 1. 
)
private

Definition at line 627 of file QcdUeDQM.cc.

References hltTrgDeci_, and i.

628 {
629  // Loop over histograms and fill if trigger has fired.
630 
631  for(size_t i=0;i<mes.size();++i) {
632  if (!hltTrgDeci_.at(i))
633  continue;
634  mes.at(i)->Fill(valx, valy ,w);
635  }
636 }
int i
Definition: DBlmapReader.cc:9
T w() const
std::vector< bool > hltTrgDeci_
Definition: QcdUeDQM.h:138
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 804 of file QcdUeDQM.cc.

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

Referenced by analyze().

805 {
806  fill1D(hChargedJetMulti_,trackJets->size());
807  for( reco::TrackJetCollection::const_iterator f = trackJets->begin(); f != trackJets->end(); f++)
808  {
809  if(f != trackJets->begin())continue;
813  }
814 
815 }
void fill1D(std::vector< TH1F * > &hs, double val, double w=1.)
Definition: QcdUeDQM.cc:579
std::vector< MonitorElement * > hLeadingChargedJet_etaSpectrum_
Definition: QcdUeDQM.h:209
double f[11][100]
std::vector< MonitorElement * > hChargedJetMulti_
Definition: QcdUeDQM.h:194
std::vector< MonitorElement * > hLeadingChargedJet_pTSpectrum_
Definition: QcdUeDQM.h:196
std::vector< MonitorElement * > hLeadingChargedJet_phiSpectrum_
Definition: QcdUeDQM.h:210
void QcdUeDQM::fillHltBits ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
private

Definition at line 1082 of file QcdUeDQM.cc.

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

Referenced by analyze().

1083 {
1084  // Fill HLT trigger bits.
1085 
1086  Handle<TriggerResults> triggerResultsHLT;
1087  getProduct(hltUsedResName_, triggerResultsHLT, iEvent);
1088 
1089 /* const unsigned int ntrigs(triggerResultsHLT.product()->size());
1090  if( ntrigs != 0 ) {
1091  const edm::TriggerNames & triggerNames = iEvent.triggerNames(*triggerResultsHLT);
1092  for (unsigned int j=0; j!=ntrigs; j++) {
1093 // if(triggerResultsHLT->accept(j)){
1094 // unsigned int hlt_prescale = hltConfig_.prescaleValue(iEvent, iSetup, triggerName);
1095  cout<<"trigger fired"<<triggerNames.triggerName(j)<<endl;
1096  for(unsigned int itrigName = 0; itrigName < hltTrgNames_.size(); itrigName++ ) {
1097  unsigned int hlt_prescale = hltConfig.prescaleValue(iEvent, iSetup, hltTrgNames_[itrigName]);
1098 
1099  if(triggerNames.triggerIndex(hltTrgNames_[itrigName]) >= (unsigned int)ntrigs ) continue;
1100 // if( triggerResultsHLT->accept(triggerNames.triggerIndex(hltTrgNames_[itrigName])) )cout<<hltTrgNames_[itrigName]<<endl;
1101 
1102  }
1103  }
1104  }
1105  // }
1106 */
1107  for(size_t i=0;i<hltTrgBits_.size();++i) {
1108  if (hltTrgBits_.at(i)<0)
1109  continue; //ignore unknown trigger
1110  size_t tbit = hltTrgBits_.at(i);
1111  if (tbit<triggerResultsHLT->size()) {
1112  hltTrgDeci_[i] = triggerResultsHLT->accept(tbit);
1113  }
1114  }
1115  // fill correlation histogram
1116  for(size_t i=0;i<hltTrgBits_.size();++i) {
1117  if (hltTrgDeci_.at(i))
1118  h2TrigCorr_->Fill(i,i);
1119  for(size_t j=i+1;j<hltTrgBits_.size();++j) {
1120  if (hltTrgDeci_.at(i) && hltTrgDeci_.at(j))
1121  h2TrigCorr_->Fill(i,j);
1122  if (hltTrgDeci_.at(i) && !hltTrgDeci_.at(j))
1123  h2TrigCorr_->Fill(j,i);
1124  }
1125  }
1126 }
int i
Definition: DBlmapReader.cc:9
void getProduct(const std::string name, edm::Handle< TYPE > &prod, const edm::Event &event) const
Definition: QcdUeDQM.h:295
std::string hltUsedResName_
Definition: QcdUeDQM.h:140
void Fill(long long x)
MonitorElement * h2TrigCorr_
Definition: QcdUeDQM.h:146
std::vector< int > hltTrgBits_
Definition: QcdUeDQM.h:137
int j
Definition: DBlmapReader.cc:9
tuple size
Write out results.
std::vector< bool > hltTrgDeci_
Definition: QcdUeDQM.h:138
void QcdUeDQM::fillProfile ( std::vector< TProfile * > &  hs,
double  valx,
double  valy,
double  w = 1. 
)
private

Definition at line 638 of file QcdUeDQM.cc.

References hltTrgDeci_, and i.

Referenced by fillUE_with_ChargedJets(), and fillUE_with_MaxpTtrack().

639 {
640  // Loop over histograms and fill if trigger has fired.
641 
642  for(size_t i=0;i<hs.size();++i) {
643  if (!hltTrgDeci_.at(i))
644  continue;
645  hs.at(i)->Fill(valx, valy ,w);
646  }
647 }
int i
Definition: DBlmapReader.cc:9
T w() const
std::vector< bool > hltTrgDeci_
Definition: QcdUeDQM.h:138
void QcdUeDQM::fillProfile ( std::vector< MonitorElement * > &  mes,
double  valx,
double  valy,
double  w = 1. 
)
private

Definition at line 650 of file QcdUeDQM.cc.

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

651 {
652  // Loop over histograms and fill if trigger has fired.
653 
654  for(size_t i=0;i<mes.size();++i) {
655  if (!hltTrgDeci_.at(i))
656  continue;
657  const double y = valy*w;
658  mes.at(i)->Fill(valx, y);
659  }
660 }
int i
Definition: DBlmapReader.cc:9
T w() const
std::vector< bool > hltTrgDeci_
Definition: QcdUeDQM.h:138
void QcdUeDQM::fillpTMaxRelated ( const std::vector< const reco::Track * > &  track)
private

Definition at line 779 of file QcdUeDQM.cc.

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

Referenced by analyze().

780  {
781  fill1D(hNgoodTrk_,track.size());
782  if(track.size()>0)
783  {
784  fill1D(hLeadingTrack_pTSpectrum_,track[0]->pt());
787  }
788  for(size_t i = 0; i < track.size(); i++)
789  {
790  fill1D(hGoodTrkPt500_,track[i]->pt());
791  fill1D(hGoodTrkEta500_,track[i]->eta());
792  fill1D(hGoodTrkPhi500_,track[i]->phi());
793  if(track[i]->pt() > 0.9)
794  {
795  fill1D(hGoodTrkPt900_,track[i]->pt());
796  fill1D(hGoodTrkEta900_,track[i]->eta());
797  fill1D(hGoodTrkPhi900_,track[i]->phi());
798  }
799  }
800 
801  }
int i
Definition: DBlmapReader.cc:9
std::vector< MonitorElement * > hGoodTrkEta500_
Definition: QcdUeDQM.h:158
std::vector< MonitorElement * > hGoodTrkPhi500_
Definition: QcdUeDQM.h:159
std::vector< MonitorElement * > hGoodTrkPt900_
Definition: QcdUeDQM.h:160
void fill1D(std::vector< TH1F * > &hs, double val, double w=1.)
Definition: QcdUeDQM.cc:579
std::vector< MonitorElement * > hLeadingTrack_pTSpectrum_
Definition: QcdUeDQM.h:186
T eta() const
std::vector< MonitorElement * > hLeadingTrack_phiSpectrum_
Definition: QcdUeDQM.h:188
std::vector< MonitorElement * > hGoodTrkPt500_
Definition: QcdUeDQM.h:157
std::vector< MonitorElement * > hNgoodTrk_
Definition: QcdUeDQM.h:156
std::vector< MonitorElement * > hGoodTrkEta900_
Definition: QcdUeDQM.h:161
std::vector< MonitorElement * > hLeadingTrack_etaSpectrum_
Definition: QcdUeDQM.h:187
Definition: DDAxes.h:10
std::vector< MonitorElement * > hGoodTrkPhi900_
Definition: QcdUeDQM.h:162
void QcdUeDQM::fillUE_with_ChargedJets ( const std::vector< const reco::Track * > &  track,
const edm::Handle< reco::TrackJetCollection > &  trackJets 
)
private

Definition at line 924 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, and w().

Referenced by analyze().

925 {
926 double w = 0.119;
927 double nTrk500_TransReg = 0;
928 double nTrk500_AwayReg = 0;
929 double nTrk500_TowardReg = 0;
930 
931 double pTSum500_TransReg = 0;
932 double pTSum500_AwayReg = 0;
933 double pTSum500_TowardReg = 0;
934 
935 
936 double nTrk900_TransReg = 0;
937 double nTrk900_AwayReg = 0;
938 double nTrk900_TowardReg = 0;
939 
940 double pTSum900_TransReg = 0;
941 double pTSum900_AwayReg = 0;
942 double pTSum900_TowardReg = 0;
943 
944  if(!(trackJets->empty()) && (trackJets->begin())->pt() > 1.)
945  {
946  double jetPhi = (trackJets->begin())->phi();
947  for(size_t i = 0; i < track.size();i++)
948  {
949  double dphi = (180./PI)*(deltaPhi(jetPhi,track[i]->phi()));
951  if(fabs(dphi)>60. && fabs(dphi)<120.)
952  {
953  pTSum500_TransReg = pTSum500_TransReg + track[i]->pt();
954  nTrk500_TransReg++;
955  if(track[i]->pt() > 0.9)
956  {
957  pTSum900_TransReg = pTSum900_TransReg + track[i]->pt();
958  nTrk900_TransReg++;
959  }
960  }
961 
962  if(fabs(dphi)>120. && fabs(dphi)<180.)
963  {
964  pTSum500_AwayReg = pTSum500_AwayReg + track[i]->pt();
965  nTrk500_AwayReg++;
966  if(track[i]->pt() > 0.9)
967  {
968  pTSum900_AwayReg = pTSum900_AwayReg + track[i]->pt();
969  nTrk900_AwayReg++;
970  }
971  }
972  if(fabs(dphi)<60.)
973  {
974  pTSum500_TowardReg = pTSum500_TowardReg + track[i]->pt();
975  nTrk500_TowardReg++;
976  if(track[i]->pt() > 0.9)
977  {
978  pTSum900_TowardReg = pTSum900_TowardReg + track[i]->pt();
979  nTrk900_TowardReg++;
980  }
981  }
982  }// tracks loop
983 
984  }// leading track jet
985 
986  fillProfile(hdNdEtadPhi_trackJet_Toward500_, (trackJets->begin())->pt(),nTrk500_TowardReg,w);
987  fillProfile(hdNdEtadPhi_trackJet_Transverse500_, (trackJets->begin())->pt(),nTrk500_TransReg,w);
988  fillProfile(hdNdEtadPhi_trackJet_Away500_, (trackJets->begin())->pt(),nTrk500_AwayReg,w);
989 
990  fillProfile(hpTSumdEtadPhi_trackJet_Toward500_, (trackJets->begin())->pt(),pTSum500_TowardReg,w);
991  fillProfile(hpTSumdEtadPhi_trackJet_Transverse500_, (trackJets->begin())->pt(),pTSum500_TransReg,w);
992  fillProfile(hpTSumdEtadPhi_trackJet_Away500_, (trackJets->begin())->pt(),pTSum500_AwayReg,w);
993 
994  fillProfile(hdNdEtadPhi_trackJet_Toward900_, (trackJets->begin())->pt(),nTrk900_TowardReg,w);
995  fillProfile(hdNdEtadPhi_trackJet_Transverse900_, (trackJets->begin())->pt(),nTrk900_TransReg,w);
996  fillProfile(hdNdEtadPhi_trackJet_Away900_, (trackJets->begin())->pt(),nTrk900_AwayReg,w);
997 
998  fillProfile(hpTSumdEtadPhi_trackJet_Toward900_, (trackJets->begin())->pt(),pTSum900_TowardReg,w);
999  fillProfile(hpTSumdEtadPhi_trackJet_Transverse900_, (trackJets->begin())->pt(),pTSum900_TransReg,w);
1000  fillProfile(hpTSumdEtadPhi_trackJet_Away900_, (trackJets->begin())->pt(),pTSum900_AwayReg,w);
1001 }
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Away500_
Definition: QcdUeDQM.h:234
int i
Definition: DBlmapReader.cc:9
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Toward900_
Definition: QcdUeDQM.h:245
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Transverse500_
Definition: QcdUeDQM.h:233
#define PI
void fill1D(std::vector< TH1F * > &hs, double val, double w=1.)
Definition: QcdUeDQM.cc:579
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Transverse900_
Definition: QcdUeDQM.h:246
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Toward900_
Definition: QcdUeDQM.h:258
std::vector< MonitorElement * > hdPhi_chargedJet_tracks_
Definition: QcdUeDQM.h:206
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Transverse500_
Definition: QcdUeDQM.h:220
void fillProfile(std::vector< TProfile * > &hs, double valx, double valy, double w=1.)
Definition: QcdUeDQM.cc:638
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Toward500_
Definition: QcdUeDQM.h:219
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Toward500_
Definition: QcdUeDQM.h:232
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Away500_
Definition: QcdUeDQM.h:221
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Transverse900_
Definition: QcdUeDQM.h:259
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Away900_
Definition: QcdUeDQM.h:247
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Away900_
Definition: QcdUeDQM.h:260
T w() const
Definition: DDAxes.h:10
void QcdUeDQM::fillUE_with_MaxpTtrack ( const std::vector< const reco::Track * > &  track)
private

Definition at line 841 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, and w().

Referenced by analyze().

842 {
843 double w = 0.119;
844 //double w = 1.;
845 double nTrk500_TransReg = 0;
846 double nTrk500_AwayReg = 0;
847 double nTrk500_TowardReg = 0;
848 
849 double pTSum500_TransReg = 0;
850 double pTSum500_AwayReg = 0;
851 double pTSum500_TowardReg = 0;
852 
853 
854 double nTrk900_TransReg = 0;
855 double nTrk900_AwayReg = 0;
856 double nTrk900_TowardReg = 0;
857 
858 double pTSum900_TransReg = 0;
859 double pTSum900_AwayReg = 0;
860 double pTSum900_TowardReg = 0;
861  if(track.size() > 0)
862  {
863  if(track[0]->pt() > 1.)
864  {
865  for(size_t i = 1; i < track.size();i++)
866  {
867 
868  double dphi = (180./PI)*(deltaPhi(track[0]->phi(),track[i]->phi()));
870  if(fabs(dphi)>60. && fabs(dphi)<120.)
871  {
872  pTSum500_TransReg = pTSum500_TransReg + track[i]->pt();
873  nTrk500_TransReg++;
874  if(track[i]->pt() > 0.9)
875  {
876  pTSum900_TransReg = pTSum900_TransReg + track[i]->pt();
877  nTrk900_TransReg++;
878  }
879  }
880 
881  if(fabs(dphi)>120. && fabs(dphi)<180.)
882  {
883  pTSum500_AwayReg = pTSum500_AwayReg + track[i]->pt();
884  nTrk500_AwayReg++;
885  if(track[i]->pt() > 0.9)
886  {
887  pTSum900_AwayReg = pTSum900_AwayReg + track[i]->pt();
888  nTrk900_AwayReg++;
889 
890  }
891  }
892 
893  if(fabs(dphi)<60.)
894  {
895  pTSum500_TowardReg = pTSum500_TowardReg + track[i]->pt();
896  nTrk500_TowardReg++;
897  if(track[i]->pt() > 0.9)
898  {
899  pTSum900_TowardReg = pTSum900_TowardReg + track[i]->pt();
900  nTrk900_TowardReg++;
901  }
902  }
903  } // track loop
904  }// leading track
905  // non empty collection
906  fillProfile(hdNdEtadPhi_pTMax_Toward500_, track[0]->pt(),nTrk500_TowardReg,w);
907  fillProfile(hdNdEtadPhi_pTMax_Transverse500_, track[0]->pt(),nTrk500_TransReg,w);
908  fillProfile(hdNdEtadPhi_pTMax_Away500_, track[0]->pt(),nTrk500_AwayReg,w);
909 
910  fillProfile(hpTSumdEtadPhi_pTMax_Toward500_,track[0]->pt() ,pTSum500_TowardReg,w);
911  fillProfile(hpTSumdEtadPhi_pTMax_Transverse500_,track[0]->pt(),pTSum500_TransReg,w);
912  fillProfile(hpTSumdEtadPhi_pTMax_Away500_, track[0]->pt(),pTSum500_AwayReg,w);
913 
914  fillProfile(hdNdEtadPhi_pTMax_Toward900_, track[0]->pt(),nTrk900_TowardReg,w);
915  fillProfile(hdNdEtadPhi_pTMax_Transverse900_, track[0]->pt(),nTrk900_TransReg,w);
916  fillProfile(hdNdEtadPhi_pTMax_Away900_, track[0]->pt(),nTrk900_AwayReg,w);
917 
918  fillProfile(hpTSumdEtadPhi_pTMax_Toward900_,track[0]->pt() ,pTSum900_TowardReg,w);
919  fillProfile(hpTSumdEtadPhi_pTMax_Transverse900_,track[0]->pt(),pTSum900_TransReg,w);
920  fillProfile(hpTSumdEtadPhi_pTMax_Away900_, track[0]->pt(),pTSum900_AwayReg,w);
921  }
922 }
int i
Definition: DBlmapReader.cc:9
#define PI
void fill1D(std::vector< TH1F * > &hs, double val, double w=1.)
Definition: QcdUeDQM.cc:579
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Transverse900_
Definition: QcdUeDQM.h:252
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Toward500_
Definition: QcdUeDQM.h:212
void fillProfile(std::vector< TProfile * > &hs, double valx, double valy, double w=1.)
Definition: QcdUeDQM.cc:638
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Transverse500_
Definition: QcdUeDQM.h:226
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Transverse500_
Definition: QcdUeDQM.h:213
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Away500_
Definition: QcdUeDQM.h:227
std::vector< MonitorElement * > hdPhi_maxpTTrack_tracks_
Definition: QcdUeDQM.h:204
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Away900_
Definition: QcdUeDQM.h:240
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Toward900_
Definition: QcdUeDQM.h:238
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Transverse900_
Definition: QcdUeDQM.h:239
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Away900_
Definition: QcdUeDQM.h:253
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Toward500_
Definition: QcdUeDQM.h:225
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Away500_
Definition: QcdUeDQM.h:214
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Toward900_
Definition: QcdUeDQM.h:251
T w() const
Definition: DDAxes.h:10
bool QcdUeDQM::fillVtxPlots ( const reco::BeamSpot bs,
const edm::Handle< reco::VertexCollection vtxColl 
)
private

Definition at line 754 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().

755 {
756  const reco::VertexCollection theVertices = *(vtxColl.product());
757  bool goodVtx = false;
758  fill1D(hNvertices_,theVertices.size());
759  for (reco::VertexCollection::const_iterator vertexIt = theVertices.begin(); vertexIt != theVertices.end(); ++vertexIt)
760  {
761  fill1D(hVertex_z_,vertexIt->z());
762  fill1D(hVertex_y_,vertexIt->y());
763  fill1D(hVertex_x_,vertexIt->x());
764  fill1D(hVertex_ndof_,vertexIt->ndof());
765  fill1D(hVertex_rho_,vertexIt->position().rho());
766  fill1D(hVertex_z_bs_,(vertexIt->z() -bs->z0()));
767 
768  if(fabs(vertexIt->z() -bs->z0()) < diffvtxbs_ && vertexIt->ndof() >= 4 && vertexIt->position().rho()<= 2.0)
769  {
770  goodVtx = true;
771  vtx1=(*vertexIt);
772 
773  break;
774  }
775  } // Loop over vertcies
776  return goodVtx;
777 }
double z0() const
z coordinate
Definition: BeamSpot.h:69
std::vector< MonitorElement * > hVertex_ndof_
Definition: QcdUeDQM.h:176
std::vector< MonitorElement * > hNvertices_
Definition: QcdUeDQM.h:172
void fill1D(std::vector< TH1F * > &hs, double val, double w=1.)
Definition: QcdUeDQM.cc:579
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
std::vector< MonitorElement * > hVertex_z_bs_
Definition: QcdUeDQM.h:178
std::vector< MonitorElement * > hVertex_rho_
Definition: QcdUeDQM.h:177
reco::Vertex vtx1
Definition: QcdUeDQM.h:289
std::vector< MonitorElement * > hVertex_z_
Definition: QcdUeDQM.h:173
std::vector< MonitorElement * > hVertex_y_
Definition: QcdUeDQM.h:174
double diffvtxbs_
Definition: QcdUeDQM.h:269
T const * product() const
Definition: Handle.h:74
std::vector< MonitorElement * > hVertex_x_
Definition: QcdUeDQM.h:175
template<typename TYPE >
void QcdUeDQM::getProduct ( const std::string  name,
edm::Handle< TYPE > &  prod,
const edm::Event event 
) const
inlineprivate

Definition at line 295 of file QcdUeDQM.h.

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

Referenced by fillHltBits().

297 {
298  // Try to access data collection from EDM file. We check if we really get just one
299  // product with the given name. If not we throw an exception.
300 
301  event.getByLabel(edm::InputTag(name),prod);
302  if (!prod.isValid())
303  throw edm::Exception(edm::errors::Configuration, "QcdUeDQM::GetProduct()\n")
304  << "Collection with label " << name << " is not valid" << std::endl;
305 }
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 309 of file QcdUeDQM.h.

References edm::HandleBase::isValid().

311 {
312  // Try to safely access data collection from EDM file. We check if we really get just one
313  // product with the given name. If not, we return false.
314 
315  if (name.size()==0)
316  return false;
317 
318  try {
319  event.getByLabel(edm::InputTag(name),prod);
320  if (!prod.isValid())
321  return false;
322  } catch (...) {
323  return false;
324  }
325  return true;
326 }
bool isValid() const
Definition: HandleBase.h:76
void QcdUeDQM::setLabel1D ( std::vector< MonitorElement * > &  mes)
private

Definition at line 603 of file QcdUeDQM.cc.

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

604 {
605  // Loop over histograms and fill if trigger has fired.
606  string cut[5] = {"Nevt","vtx!=bmspt","Zvtx<10cm","pT>1GeV","trackFromVtx"};
607  for(size_t i=0;i<mes.size();++i) {
608  if (!hltTrgDeci_.at(i))
609  continue;
610  for(size_t j = 1;j < 6;j++)mes.at(i)->setBinLabel(j,cut[j-1],1);
611  }
612 }
int i
Definition: DBlmapReader.cc:9
int j
Definition: DBlmapReader.cc:9
std::vector< bool > hltTrgDeci_
Definition: QcdUeDQM.h:138
bool QcdUeDQM::trackSelection ( const reco::Track trk,
const reco::BeamSpot bs,
const reco::Vertex vtx,
int  sizevtx 
)
private

Definition at line 663 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::trackerLayersWithMeasurement(), reco::HitPattern::validHitFilter(), reco::BeamSpot::x0(), reco::BeamSpot::y0(), and reco::BeamSpot::z0().

Referenced by analyze().

664 {
665 //-------------Fill basic histograms---------
666 
667 
668 //-------------------------------------------
669 
670  bool goodTrk = false;
671 
672  if(sizevtx!=1) return 0; //selection events with only a vertex
673 
674  //Fill basic information of all the tracks
678  fill1D(hRatioPtErrorPt_,(trk.ptError()/trk.pt()));
679  fill1D(hTrkPt_,trk.pt());
680  fill1D(hTrkEta_,trk.eta());
681  fill1D(hTrkPhi_,trk.phi());
682  fill1D(hRatioDxySigmaDxyBS_,(trk.dxy(bs->position())/trk.dxyError()));
683  fill1D(hRatioDxySigmaDxyPV_,(trk.dxy(vtx.position())/trk.dxyError()));
684  fill1D(hRatioDzSigmaDzBS_,(trk.dz(bs->position())/trk.dzError()));
685  fill1D(hRatioDzSigmaDzPV_,(trk.dz(vtx.position())/trk.dzError()));
687  fill1D(hTrkNdof_,trk.ndof());
688 
689  fill1D(hBeamSpot_x_,bs->x0());
690  fill1D(hBeamSpot_y_,bs->y0());
691  fill1D(hBeamSpot_z_,bs->z0());
692 
693  //number of layers
694  bool layerMinCutbool=false;
697  layerMinCutbool=true;
698 
699 
700  //number of pixel layers
701  bool pxlLayerMinCutbool=false;
702  if (trk.hitPattern().pixelLayersWithMeasurement() >=pxlLayerMinCut_) pxlLayerMinCutbool=true;
703 
704 
705  // cut on the hits in pixel layers
706  bool hasPIX1 = false;
707  if (requirePIX1_) {
708  const reco::HitPattern& p = trk.hitPattern();
709  for (int i=0; i<p.numberOfHits(); i++) {
710  uint32_t hit = p.getHitPattern(i);
711  if (p.validHitFilter(hit) && p.pixelHitFilter(hit) && p.getLayer(hit)==1) hasPIX1 = true;
712  }
713  }else hasPIX1 = true;
714 
715  // cut on the pT error
716  bool ptErrorbool=false;
717  if (trk.ptError()/trk.pt() < ptErr_pt_ ||
718  (trk.hitPattern().trackerLayersWithMeasurement()==3 && trk.hitPattern().pixelLayersWithMeasurement()==3 && allowTriplets_)) ptErrorbool=true;
719  // quality cut
720  bool quality_ok = true;
721  if (quality_.size()!=0) {
722  quality_ok = false;
723  for (unsigned int i = 0; i<quality_.size();++i) {
724  if (trk.quality(quality_[i])){
725  quality_ok = true;
726  break;
727  }
728  }
729  }
730  //-----
731  bool algo_ok = true;
732  if (algorithm_.size()!=0) {
733  if (std::find(algorithm_.begin(),algorithm_.end(),trk.algo())==algorithm_.end()) algo_ok = false;
734  }
735 
736 
737  if(bsuse_==1)
738  {
739  if(hasPIX1 && pxlLayerMinCutbool && layerMinCutbool && (trk.hitPattern().pixelLayersWithMeasurement() + trk.hitPattern().numberOfValidStripLayersWithMonoAndStereo()) >= min3DHit_ && ptErrorbool && fabs(trk.pt()) >= ptMin_ && trk.eta() >= minRapidity_ && trk.eta() <= maxRapidity_ && fabs(trk.dxy(bs->position())/trk.dxyError()) < tip_ && fabs(trk.dz(bs->position())/trk.dzError()) < lip_ && trk.normalizedChi2()<=maxChi2_ && quality_ok && algo_ok)goodTrk=true ;
740  }
741 
742  if(bsuse_==0)
743  {
744  if(hasPIX1 && pxlLayerMinCutbool && layerMinCutbool && (trk.hitPattern().pixelLayersWithMeasurement() + trk.hitPattern().numberOfValidStripLayersWithMonoAndStereo()) >= min3DHit_ && ptErrorbool && fabs(trk.pt()) >= ptMin_ && trk.eta() >= minRapidity_ && trk.eta() <= maxRapidity_ && fabs(trk.dxy(vtx.position())/trk.dxyError()) < tip_ && fabs(trk.dz(vtx.position())/trk.dzError()) < lip_ && trk.normalizedChi2()<=maxChi2_ && quality_ok && algo_ok)goodTrk=true;
745 
746  }
747 
748  return goodTrk;
749 
750  }
bool bsuse_
Definition: QcdUeDQM.h:277
double z0() const
z coordinate
Definition: BeamSpot.h:69
int i
Definition: DBlmapReader.cc:9
std::vector< MonitorElement * > hRatioPtErrorPt_
Definition: QcdUeDQM.h:152
std::vector< MonitorElement * > hTrkPt_
Definition: QcdUeDQM.h:153
std::vector< MonitorElement * > hNtrackerStripPixelLayer_
Definition: QcdUeDQM.h:151
std::vector< MonitorElement * > hBeamSpot_x_
Definition: QcdUeDQM.h:183
static uint32_t getLayer(uint32_t pattern)
Definition: HitPattern.h:501
void fill1D(std::vector< TH1F * > &hs, double val, double w=1.)
Definition: QcdUeDQM.cc:579
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:111
double dxyError() const
error on dxy
Definition: TrackBase.h:209
int pixelLayersWithMeasurement() const
Definition: HitPattern.h:726
double phi() const
azimuthal angle of momentum vector
Definition: TrackBase.h:139
std::vector< MonitorElement * > hBeamSpot_y_
Definition: QcdUeDQM.h:182
double ptErr_pt_
Definition: QcdUeDQM.h:270
int numberOfValidStripLayersWithMonoAndStereo() const
Definition: HitPattern.cc:224
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:274
const Point & position() const
position
Definition: Vertex.h:93
std::vector< MonitorElement * > hTrkChi2_
Definition: QcdUeDQM.h:167
TrackAlgorithm algo() const
Definition: TrackBase.h:332
double eta() const
pseudorapidity of momentum vector
Definition: TrackBase.h:141
double ndof() const
number of degrees of freedom of the fit
Definition: TrackBase.h:109
int trackerLayersWithMeasurement() const
Definition: HitPattern.h:721
std::vector< MonitorElement * > hTrkPhi_
Definition: QcdUeDQM.h:155
double pt() const
track transverse momentum
Definition: TrackBase.h:131
double maxChi2_
Definition: QcdUeDQM.h:276
double ptError() const
error on Pt (set to 1000 TeV if charge==0 for safety)
Definition: TrackBase.h:194
static bool pixelHitFilter(uint32_t pattern)
Definition: HitPattern.h:400
int numberOfHits() const
Definition: HitPattern.cc:213
std::vector< MonitorElement * > hRatioDxySigmaDxyBS_
Definition: QcdUeDQM.h:163
std::vector< MonitorElement * > hRatioDzSigmaDzBS_
Definition: QcdUeDQM.h:165
double lip_
Definition: QcdUeDQM.h:268
static bool validHitFilter(uint32_t pattern)
Definition: HitPattern.h:545
std::vector< MonitorElement * > hRatioDxySigmaDxyPV_
Definition: QcdUeDQM.h:164
std::vector< reco::TrackBase::TrackAlgorithm > algorithm_
Definition: QcdUeDQM.h:286
const HitPattern & hitPattern() const
Access the hit pattern, indicating in which Tracker layers the track has hits.
Definition: TrackBase.h:223
std::vector< MonitorElement * > hNtrackerPixelLayer_
Definition: QcdUeDQM.h:150
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:127
double dzError() const
error on dz
Definition: TrackBase.h:215
std::vector< MonitorElement * > hTrkEta_
Definition: QcdUeDQM.h:154
std::vector< MonitorElement * > hNtrackerLayer_
Definition: QcdUeDQM.h:149
bool allowTriplets_
Definition: QcdUeDQM.h:278
double ptMin_
Definition: QcdUeDQM.h:264
double minRapidity_
Definition: QcdUeDQM.h:265
int min3DHit_
Definition: QcdUeDQM.h:275
bool quality(const TrackQuality) const
Track quality.
Definition: TrackBase.h:377
std::vector< MonitorElement * > hBeamSpot_z_
Definition: QcdUeDQM.h:181
double pxlLayerMinCut_
Definition: QcdUeDQM.h:273
double y0() const
y coordinate
Definition: BeamSpot.h:67
std::vector< MonitorElement * > hRatioDzSigmaDzPV_
Definition: QcdUeDQM.h:166
std::vector< MonitorElement * > hTrkNdof_
Definition: QcdUeDQM.h:168
const Point & position() const
position
Definition: BeamSpot.h:63
std::vector< reco::TrackBase::TrackQuality > quality_
Definition: QcdUeDQM.h:285
double maxRapidity_
Definition: QcdUeDQM.h:266
uint32_t getHitPattern(int position) const
Definition: HitPattern.cc:144
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:121
int minHit_
Definition: QcdUeDQM.h:272
double tip_
Definition: QcdUeDQM.h:267
double x0() const
x coordinate
Definition: BeamSpot.h:65

Member Data Documentation

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

Definition at line 286 of file QcdUeDQM.h.

Referenced by QcdUeDQM(), and trackSelection().

bool QcdUeDQM::allowTriplets_
private

Definition at line 278 of file QcdUeDQM.h.

Referenced by trackSelection().

edm::InputTag QcdUeDQM::bsLabel_
private

Definition at line 284 of file QcdUeDQM.h.

Referenced by analyze().

double QcdUeDQM::bsPos_
private

Definition at line 279 of file QcdUeDQM.h.

bool QcdUeDQM::bsuse_
private

Definition at line 277 of file QcdUeDQM.h.

Referenced by trackSelection().

edm::InputTag QcdUeDQM::caloJetLabel_
private

Definition at line 280 of file QcdUeDQM.h.

Referenced by analyze().

edm::InputTag QcdUeDQM::chargedJetLabel_
private

Definition at line 281 of file QcdUeDQM.h.

Referenced by analyze().

double QcdUeDQM::diffvtxbs_
private

Definition at line 269 of file QcdUeDQM.h.

Referenced by fillVtxPlots().

MonitorElement* QcdUeDQM::h2TrigCorr_
private

Definition at line 146 of file QcdUeDQM.h.

Referenced by createHistos(), and fillHltBits().

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

Definition at line 183 of file QcdUeDQM.h.

Referenced by createHistos(), and trackSelection().

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

Definition at line 182 of file QcdUeDQM.h.

Referenced by createHistos(), and trackSelection().

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

Definition at line 181 of file QcdUeDQM.h.

Referenced by createHistos(), and trackSelection().

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

Definition at line 195 of file QcdUeDQM.h.

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

Definition at line 194 of file QcdUeDQM.h.

Referenced by createHistos(), and fillChargedJetSpectra().

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

Definition at line 214 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_MaxpTtrack().

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

Definition at line 240 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_MaxpTtrack().

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

Definition at line 212 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_MaxpTtrack().

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

Definition at line 238 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_MaxpTtrack().

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

Definition at line 213 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_MaxpTtrack().

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

Definition at line 239 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_MaxpTtrack().

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

Definition at line 221 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_ChargedJets().

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

Definition at line 247 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_ChargedJets().

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

Definition at line 219 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_ChargedJets().

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

Definition at line 245 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_ChargedJets().

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

Definition at line 220 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_ChargedJets().

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

Definition at line 246 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_ChargedJets().

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

Definition at line 206 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_ChargedJets().

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

Definition at line 204 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_MaxpTtrack().

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

Definition at line 158 of file QcdUeDQM.h.

Referenced by createHistos(), and fillpTMaxRelated().

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

Definition at line 161 of file QcdUeDQM.h.

Referenced by createHistos(), and fillpTMaxRelated().

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

Definition at line 159 of file QcdUeDQM.h.

Referenced by createHistos(), and fillpTMaxRelated().

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

Definition at line 162 of file QcdUeDQM.h.

Referenced by createHistos(), and fillpTMaxRelated().

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

Definition at line 157 of file QcdUeDQM.h.

Referenced by createHistos(), and fillpTMaxRelated().

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

Definition at line 160 of file QcdUeDQM.h.

Referenced by createHistos(), and fillpTMaxRelated().

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

Definition at line 209 of file QcdUeDQM.h.

Referenced by createHistos(), and fillChargedJetSpectra().

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

Definition at line 210 of file QcdUeDQM.h.

Referenced by createHistos(), and fillChargedJetSpectra().

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

Definition at line 196 of file QcdUeDQM.h.

Referenced by createHistos(), and fillChargedJetSpectra().

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

Definition at line 187 of file QcdUeDQM.h.

Referenced by createHistos(), and fillpTMaxRelated().

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

Definition at line 188 of file QcdUeDQM.h.

Referenced by createHistos(), and fillpTMaxRelated().

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

Definition at line 186 of file QcdUeDQM.h.

Referenced by createHistos(), and fillpTMaxRelated().

HLTConfigProvider QcdUeDQM::hltConfig
private

Definition at line 130 of file QcdUeDQM.h.

Referenced by beginRun().

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

Definition at line 133 of file QcdUeDQM.h.

Referenced by beginRun(), and QcdUeDQM().

std::string QcdUeDQM::hltResName_
private

Definition at line 132 of file QcdUeDQM.h.

Referenced by beginRun().

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

Definition at line 137 of file QcdUeDQM.h.

Referenced by beginRun(), and fillHltBits().

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

Definition at line 138 of file QcdUeDQM.h.

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

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

Definition at line 134 of file QcdUeDQM.h.

Referenced by beginRun(), and QcdUeDQM().

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

Definition at line 139 of file QcdUeDQM.h.

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

std::string QcdUeDQM::hltUsedResName_
private

Definition at line 140 of file QcdUeDQM.h.

Referenced by beginRun(), and fillHltBits().

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

Definition at line 148 of file QcdUeDQM.h.

Referenced by analyze(), and createHistos().

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

Definition at line 156 of file QcdUeDQM.h.

Referenced by createHistos(), and fillpTMaxRelated().

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

Definition at line 149 of file QcdUeDQM.h.

Referenced by createHistos(), and trackSelection().

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

Definition at line 150 of file QcdUeDQM.h.

Referenced by createHistos(), and trackSelection().

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

Definition at line 151 of file QcdUeDQM.h.

Referenced by createHistos(), and trackSelection().

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

Definition at line 172 of file QcdUeDQM.h.

Referenced by createHistos(), and fillVtxPlots().

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

Definition at line 227 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_MaxpTtrack().

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

Definition at line 253 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_MaxpTtrack().

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

Definition at line 225 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_MaxpTtrack().

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

Definition at line 251 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_MaxpTtrack().

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

Definition at line 226 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_MaxpTtrack().

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

Definition at line 252 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_MaxpTtrack().

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

Definition at line 234 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_ChargedJets().

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

Definition at line 260 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_ChargedJets().

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

Definition at line 232 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_ChargedJets().

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

Definition at line 258 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_ChargedJets().

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

Definition at line 233 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_ChargedJets().

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

Definition at line 259 of file QcdUeDQM.h.

Referenced by createHistos(), and fillUE_with_ChargedJets().

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

Definition at line 163 of file QcdUeDQM.h.

Referenced by createHistos(), and trackSelection().

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

Definition at line 164 of file QcdUeDQM.h.

Referenced by createHistos(), and trackSelection().

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

Definition at line 165 of file QcdUeDQM.h.

Referenced by createHistos(), and trackSelection().

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

Definition at line 166 of file QcdUeDQM.h.

Referenced by createHistos(), and trackSelection().

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

Definition at line 152 of file QcdUeDQM.h.

Referenced by createHistos(), and trackSelection().

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

Definition at line 167 of file QcdUeDQM.h.

Referenced by createHistos(), and trackSelection().

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

Definition at line 154 of file QcdUeDQM.h.

Referenced by createHistos(), and trackSelection().

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

Definition at line 168 of file QcdUeDQM.h.

Referenced by createHistos(), and trackSelection().

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

Definition at line 155 of file QcdUeDQM.h.

Referenced by createHistos(), and trackSelection().

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

Definition at line 153 of file QcdUeDQM.h.

Referenced by createHistos(), and trackSelection().

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

Definition at line 176 of file QcdUeDQM.h.

Referenced by createHistos(), and fillVtxPlots().

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

Definition at line 177 of file QcdUeDQM.h.

Referenced by createHistos(), and fillVtxPlots().

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

Definition at line 175 of file QcdUeDQM.h.

Referenced by createHistos(), and fillVtxPlots().

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

Definition at line 174 of file QcdUeDQM.h.

Referenced by createHistos(), and fillVtxPlots().

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

Definition at line 173 of file QcdUeDQM.h.

Referenced by createHistos(), and fillVtxPlots().

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

Definition at line 178 of file QcdUeDQM.h.

Referenced by createHistos(), and fillVtxPlots().

bool QcdUeDQM::isHltConfigSuccessful_
private

Definition at line 69 of file QcdUeDQM.h.

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

double QcdUeDQM::lip_
private

Definition at line 268 of file QcdUeDQM.h.

Referenced by trackSelection().

double QcdUeDQM::maxChi2_
private

Definition at line 276 of file QcdUeDQM.h.

Referenced by trackSelection().

double QcdUeDQM::maxRapidity_
private

Definition at line 266 of file QcdUeDQM.h.

Referenced by trackSelection().

int QcdUeDQM::min3DHit_
private

Definition at line 275 of file QcdUeDQM.h.

Referenced by trackSelection().

int QcdUeDQM::minHit_
private

Definition at line 272 of file QcdUeDQM.h.

Referenced by trackSelection().

double QcdUeDQM::minRapidity_
private

Definition at line 265 of file QcdUeDQM.h.

Referenced by trackSelection().

double QcdUeDQM::ptErr_pt_
private

Definition at line 270 of file QcdUeDQM.h.

Referenced by trackSelection().

double QcdUeDQM::ptMin_
private

Definition at line 264 of file QcdUeDQM.h.

Referenced by trackSelection().

double QcdUeDQM::pxlLayerMinCut_
private

Definition at line 273 of file QcdUeDQM.h.

Referenced by trackSelection().

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

Definition at line 285 of file QcdUeDQM.h.

Referenced by QcdUeDQM(), and trackSelection().

MonitorElement* QcdUeDQM::repSumMap_
private

Definition at line 144 of file QcdUeDQM.h.

MonitorElement* QcdUeDQM::repSummary_
private

Definition at line 145 of file QcdUeDQM.h.

bool QcdUeDQM::requirePIX1_
private

Definition at line 274 of file QcdUeDQM.h.

Referenced by trackSelection().

container QcdUeDQM::selected_
private

Definition at line 288 of file QcdUeDQM.h.

Referenced by analyze().

const TrackerGeometry* QcdUeDQM::tgeo_
private

Definition at line 142 of file QcdUeDQM.h.

DQMStore* QcdUeDQM::theDbe_
private

Definition at line 143 of file QcdUeDQM.h.

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

double QcdUeDQM::tip_
private

Definition at line 267 of file QcdUeDQM.h.

Referenced by trackSelection().

edm::InputTag QcdUeDQM::trackLabel_
private

Definition at line 282 of file QcdUeDQM.h.

Referenced by analyze().

int QcdUeDQM::verbose_
private

Definition at line 141 of file QcdUeDQM.h.

reco::Vertex QcdUeDQM::vtx1
private

Definition at line 289 of file QcdUeDQM.h.

Referenced by analyze(), and fillVtxPlots().

edm::InputTag QcdUeDQM::vtxLabel_
private

Definition at line 283 of file QcdUeDQM.h.

Referenced by analyze().

double QcdUeDQM::vtxntk_
private

Definition at line 271 of file QcdUeDQM.h.