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

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 ()
 

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
CurrentProcessingContext const * currentContext () const
 

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 56 of file QcdUeDQM.cc.

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

56  :
57  hltResName_(parameters.getUntrackedParameter<string>("hltTrgResults")),
58  verbose_(parameters.getUntrackedParameter<int>("verbose",3)),
59  tgeo_(0),
60  theDbe_(0),
61  repSumMap_(0),
62  repSummary_(0),
63  h2TrigCorr_(0),
64  ptMin_(parameters.getParameter<double>("ptMin")),
65  minRapidity_(parameters.getParameter<double>("minRapidity")),
66  maxRapidity_(parameters.getParameter<double>("maxRapidity")),
67  tip_(parameters.getParameter<double>("tip")),
68  lip_(parameters.getParameter<double>("lip")),
69  diffvtxbs_(parameters.getParameter<double>("diffvtxbs")),
70  ptErr_pt_(parameters.getParameter<double>("ptErr_pt")),
71  vtxntk_(parameters.getParameter<double>("vtxntk")),
72  minHit_(parameters.getParameter<int>("minHit")),
73  pxlLayerMinCut_(parameters.getParameter<double>("pxlLayerMinCut")),
74  requirePIX1_(parameters.getParameter<bool>("requirePIX1")),
75  min3DHit_(parameters.getParameter<int>("min3DHit")),
76  maxChi2_(parameters.getParameter<double>("maxChi2")),
77  bsuse_(parameters.getParameter<bool>("bsuse")),
78  allowTriplets_(parameters.getParameter<bool>("allowTriplets")),
79  bsPos_(parameters.getParameter<double>("bsPos")),
80  caloJetLabel_(parameters.getUntrackedParameter<edm::InputTag>("caloJetTag")),
81  chargedJetLabel_(parameters.getUntrackedParameter<edm::InputTag>("chargedJetTag")),
82  trackLabel_(parameters.getUntrackedParameter<edm::InputTag>("trackTag")),
83  vtxLabel_(parameters.getUntrackedParameter<edm::InputTag>("vtxTag")),
84  bsLabel_(parameters.getParameter<edm::InputTag>("beamSpotTag"))
85 {
86  // Constructor.
87  std::vector<std::string> quality = parameters.getParameter<std::vector<std::string> >("quality");
88  for (unsigned int j=0;j<quality.size();j++) quality_.push_back(reco::TrackBase::qualityByName(quality[j]));
89  std::vector<std::string> algorithm = parameters.getParameter<std::vector<std::string> >("algorithm");
90  for (unsigned int j=0;j<algorithm.size();j++) algorithm_.push_back(reco::TrackBase::algoByName(algorithm[j]));
91 
92  if (parameters.exists("hltTrgNames"))
93  hltTrgNames_ = parameters.getUntrackedParameter<vector<string> >("hltTrgNames");
94 
95  if (parameters.exists("hltProcNames"))
96  hltProcNames_ = parameters.getUntrackedParameter<vector<string> >("hltProcNames");
97  else {
98  // hltProcNames_.push_back("FU");
99  hltProcNames_.push_back("HLT");
100  }
101 
102  isHltConfigSuccessful_ = false; // init
103 
104 }
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 107 of file QcdUeDQM.cc.

108 {
109  // Destructor.
110 
111 
112 }

Member Function Documentation

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

Implements edm::EDAnalyzer.

Definition at line 115 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_.

116 {
117  if( ! isHltConfigSuccessful_ ) return;
118 
119  // Analyze the given event.
120 
122  bool ValidBS_ = iEvent.getByLabel(bsLabel_,beamSpot);
123  if(!ValidBS_)return;
124 
126  bool ValidTrack_ = iEvent.getByLabel(trackLabel_,tracks);
127  if(!ValidTrack_)return;
128 
129  //edm::Handle<reco::CandidateView> trkJets;
130  //bool ValidTrackJet_ = iEvent.getByLabel (chargedJetLabel_,trkJets);
131  //if(!ValidTrackJet_)return;
132 
134  bool ValidTrackJet_ = iEvent.getByLabel(chargedJetLabel_,trkJets );
135  if(!ValidTrackJet_)return;
136 
137 
139  bool ValidCaloJet_ = iEvent.getByLabel (caloJetLabel_,calJets);
140  if(!ValidCaloJet_)return;
141 
143  bool ValidVtxColl_ = iEvent.getByLabel (vtxLabel_, vertexColl);
144  if(!ValidVtxColl_)return;
145 
146  reco::TrackCollection tracks_sort = *tracks;
147  std::sort(tracks_sort.begin(), tracks_sort.end(), PtSorter());
148 
149  // get tracker geometry
150 /* ESHandle<TrackerGeometry> trackerHandle;
151  iSetup.get<TrackerDigiGeometryRecord>().get(trackerHandle);
152  tgeo_ = trackerHandle.product();
153  if (!tgeo_)return;
154 */
155  selected_.clear();
156  fillHltBits(iEvent,iSetup);
157  // select good tracks
158  if(fillVtxPlots(beamSpot.product(),vertexColl))
159  {
160  fill1D(hNevts_,1);
161  for(reco::TrackCollection::const_iterator Trk = tracks_sort.begin(); Trk != tracks_sort.end(); ++Trk)
162  {
163 
164  if ( trackSelection(*Trk,beamSpot.product(),vtx1,vertexColl->size()) ) selected_.push_back( & * Trk );
165  }
166 
167 
169  fillChargedJetSpectra(trkJets);
170 // fillCaloJetSpectra(calJets);
172  if(trkJets->size() > 0)fillUE_with_ChargedJets(selected_,trkJets);
173  // if(calJets->size()>0)fillUE_with_CaloJets(selected_,calJets);
174 
175  }
176 
177 }
void fillHltBits(const edm::Event &iEvent, const edm::EventSetup &iSetup)
Definition: QcdUeDQM.cc:1084
void fill1D(std::vector< TH1F * > &hs, double val, double w=1.)
Definition: QcdUeDQM.cc:581
bool trackSelection(const reco::Track &trk, const reco::BeamSpot *bs, const reco::Vertex &vtx, int sizevtx)
Definition: QcdUeDQM.cc:665
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:756
void fillUE_with_ChargedJets(const std::vector< const reco::Track * > &track, const edm::Handle< reco::TrackJetCollection > &trackJets)
Definition: QcdUeDQM.cc:926
bool isHltConfigSuccessful_
Definition: QcdUeDQM.h:69
void fillUE_with_MaxpTtrack(const std::vector< const reco::Track * > &track)
Definition: QcdUeDQM.cc:843
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:356
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:806
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:781
void QcdUeDQM::beginJob ( void  )
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 180 of file QcdUeDQM.cc.

References cppFunctionSkipper::operator, and theDbe_.

181 {
182  // Begin job and setup the DQM store.
183 
185  if (!theDbe_)return;
186 
187  // theDbe_->setCurrentFolder("Physics/QcdUe");
188 
189 }
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 192 of file QcdUeDQM.cc.

References isHltConfigSuccessful_.

194 {
195  if( ! isHltConfigSuccessful_ ) return;
196 
197  // At the moment, nothing needed to be done.
198 }
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 201 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().

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

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

Referenced by createHistos().

267 {
268  // Book 1D histos.
269 
270  for(size_t i=0;i<hltTrgUsedNames_.size();++i) {
271  std::string folderName = "Physics/QcdUe/" + hltTrgUsedNames_.at(i);
272  theDbe_->setCurrentFolder(folderName);
273  MonitorElement *e = theDbe_->book1D(Form("%s_%s",name.c_str(),hltTrgUsedNames_.at(i).c_str()),
274  Form("%s: %s",hltTrgUsedNames_.at(i).c_str(), title.c_str()),
275  nx, x1, x2);
276  TH1 *h1 = e->getTH1();
277  if (sumw2) {
278  if( 0 == h1->GetSumw2N() ) { // protect against re-summing (would cause exception)
279  h1->Sumw2();
280  }
281  }
282  h1->SetStats(sbox);
283  mes.push_back(e);
284  }
285 }
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:717
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:429
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 288 of file QcdUeDQM.cc.

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

292 {
293  // Book 2D histos.
294 
295  for(size_t i=0;i<hltTrgUsedNames_.size();++i) {
296  std::string folderName = "Physics/QcdUe/" + hltTrgUsedNames_.at(i);
297  theDbe_->setCurrentFolder(folderName);
298  MonitorElement *e = theDbe_->book2D(Form("%s_%s",name.c_str(),hltTrgUsedNames_.at(i).c_str()),
299  Form("%s: %s",hltTrgUsedNames_.at(i).c_str(), title.c_str()),
300  nx, x1, x2, ny, y1, y2);
301  TH1 *h1 = e->getTH1();
302  if (sumw2) {
303  if( 0 == h1->GetSumw2N() ) { // protect against re-summing (would cause exception)
304  h1->Sumw2();
305  }
306  }
307  h1->SetStats(sbox);
308  mes.push_back(e);
309  }
310 }
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:845
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:429
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 313 of file QcdUeDQM.cc.

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

Referenced by createHistos().

317 {
318  // Book Profile histos.
319 
320  for(size_t i=0;i<hltTrgUsedNames_.size();++i) {
321  std::string folderName = "Physics/QcdUe/" + hltTrgUsedNames_.at(i);
322  theDbe_->setCurrentFolder(folderName);
323  MonitorElement *e = theDbe_->bookProfile(Form("%s_%s",name.c_str(),hltTrgUsedNames_.at(i).c_str()),
324  Form("%s: %s",hltTrgUsedNames_.at(i).c_str(), title.c_str()),
325  nx, x1, x2, y1, y2," ");
326  mes.push_back(e);
327  }
328 }
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:1031
DQMStore * theDbe_
Definition: QcdUeDQM.h:143
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:429
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 330 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().

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

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

Reimplemented from edm::EDAnalyzer.

Definition at line 558 of file QcdUeDQM.cc.

References isHltConfigSuccessful_.

560 {
561  if( ! isHltConfigSuccessful_ ) return;
562 
563  // Update various histograms.
564 
565  //repSummary_->Fill(1.);
566  // repSumMap_->Fill(0.5,0.5,1.);
567 
568 }
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 572 of file QcdUeDQM.cc.

References isHltConfigSuccessful_.

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

Definition at line 581 of file QcdUeDQM.cc.

References hltTrgDeci_, and i.

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

582 {
583  // Loop over histograms and fill if trigger has fired.
584 
585  for(size_t i=0;i<hs.size();++i) {
586  if (!hltTrgDeci_.at(i))
587  continue;
588  hs.at(i)->Fill(val,w);
589  }
590 }
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 593 of file QcdUeDQM.cc.

References hltTrgDeci_, and i.

594 {
595  // Loop over histograms and fill if trigger has fired.
596 
597  for(size_t i=0;i<mes.size();++i) {
598  if (!hltTrgDeci_.at(i))
599  continue;
600  mes.at(i)->Fill(val,w);
601  }
602 }
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 617 of file QcdUeDQM.cc.

References hltTrgDeci_, and i.

618 {
619  // Loop over histograms and fill if trigger has fired.
620 
621  for(size_t i=0;i<hs.size();++i) {
622  if (!hltTrgDeci_.at(i))
623  continue;
624  hs.at(i)->Fill(valx, valy ,w);
625  }
626 }
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 629 of file QcdUeDQM.cc.

References hltTrgDeci_, and i.

630 {
631  // Loop over histograms and fill if trigger has fired.
632 
633  for(size_t i=0;i<mes.size();++i) {
634  if (!hltTrgDeci_.at(i))
635  continue;
636  mes.at(i)->Fill(valx, valy ,w);
637  }
638 }
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 806 of file QcdUeDQM.cc.

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

Referenced by analyze().

807 {
808  fill1D(hChargedJetMulti_,trackJets->size());
809  for( reco::TrackJetCollection::const_iterator f = trackJets->begin(); f != trackJets->end(); f++)
810  {
811  if(f != trackJets->begin())continue;
815  }
816 
817 }
void fill1D(std::vector< TH1F * > &hs, double val, double w=1.)
Definition: QcdUeDQM.cc:581
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 1084 of file QcdUeDQM.cc.

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

Referenced by analyze().

1085 {
1086  // Fill HLT trigger bits.
1087 
1088  Handle<TriggerResults> triggerResultsHLT;
1089  getProduct(hltUsedResName_, triggerResultsHLT, iEvent);
1090 
1091 /* const unsigned int ntrigs(triggerResultsHLT.product()->size());
1092  if( ntrigs != 0 ) {
1093  const edm::TriggerNames & triggerNames = iEvent.triggerNames(*triggerResultsHLT);
1094  for (unsigned int j=0; j!=ntrigs; j++) {
1095 // if(triggerResultsHLT->accept(j)){
1096 // unsigned int hlt_prescale = hltConfig_.prescaleValue(iEvent, iSetup, triggerName);
1097  cout<<"trigger fired"<<triggerNames.triggerName(j)<<endl;
1098  for(unsigned int itrigName = 0; itrigName < hltTrgNames_.size(); itrigName++ ) {
1099  unsigned int hlt_prescale = hltConfig.prescaleValue(iEvent, iSetup, hltTrgNames_[itrigName]);
1100 
1101  if(triggerNames.triggerIndex(hltTrgNames_[itrigName]) >= (unsigned int)ntrigs ) continue;
1102 // if( triggerResultsHLT->accept(triggerNames.triggerIndex(hltTrgNames_[itrigName])) )cout<<hltTrgNames_[itrigName]<<endl;
1103 
1104  }
1105  }
1106  }
1107  // }
1108 */
1109  for(size_t i=0;i<hltTrgBits_.size();++i) {
1110  if (hltTrgBits_.at(i)<0)
1111  continue; //ignore unknown trigger
1112  size_t tbit = hltTrgBits_.at(i);
1113  if (tbit<triggerResultsHLT->size()) {
1114  hltTrgDeci_[i] = triggerResultsHLT->accept(tbit);
1115  }
1116  }
1117  // fill correlation histogram
1118  for(size_t i=0;i<hltTrgBits_.size();++i) {
1119  if (hltTrgDeci_.at(i))
1120  h2TrigCorr_->Fill(i,i);
1121  for(size_t j=i+1;j<hltTrgBits_.size();++j) {
1122  if (hltTrgDeci_.at(i) && hltTrgDeci_.at(j))
1123  h2TrigCorr_->Fill(i,j);
1124  if (hltTrgDeci_.at(i) && !hltTrgDeci_.at(j))
1125  h2TrigCorr_->Fill(j,i);
1126  }
1127  }
1128 }
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 640 of file QcdUeDQM.cc.

References hltTrgDeci_, and i.

Referenced by fillUE_with_ChargedJets(), and fillUE_with_MaxpTtrack().

641 {
642  // Loop over histograms and fill if trigger has fired.
643 
644  for(size_t i=0;i<hs.size();++i) {
645  if (!hltTrgDeci_.at(i))
646  continue;
647  hs.at(i)->Fill(valx, valy ,w);
648  }
649 }
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 652 of file QcdUeDQM.cc.

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

653 {
654  // Loop over histograms and fill if trigger has fired.
655 
656  for(size_t i=0;i<mes.size();++i) {
657  if (!hltTrgDeci_.at(i))
658  continue;
659  const double y = valy*w;
660  mes.at(i)->Fill(valx, y);
661  }
662 }
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 781 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().

782  {
783  fill1D(hNgoodTrk_,track.size());
784  if(track.size()>0)
785  {
786  fill1D(hLeadingTrack_pTSpectrum_,track[0]->pt());
789  }
790  for(size_t i = 0; i < track.size(); i++)
791  {
792  fill1D(hGoodTrkPt500_,track[i]->pt());
793  fill1D(hGoodTrkEta500_,track[i]->eta());
794  fill1D(hGoodTrkPhi500_,track[i]->phi());
795  if(track[i]->pt() > 0.9)
796  {
797  fill1D(hGoodTrkPt900_,track[i]->pt());
798  fill1D(hGoodTrkEta900_,track[i]->eta());
799  fill1D(hGoodTrkPhi900_,track[i]->phi());
800  }
801  }
802 
803  }
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:581
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 926 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().

927 {
928 double w = 0.119;
929 double nTrk500_TransReg = 0;
930 double nTrk500_AwayReg = 0;
931 double nTrk500_TowardReg = 0;
932 
933 double pTSum500_TransReg = 0;
934 double pTSum500_AwayReg = 0;
935 double pTSum500_TowardReg = 0;
936 
937 
938 double nTrk900_TransReg = 0;
939 double nTrk900_AwayReg = 0;
940 double nTrk900_TowardReg = 0;
941 
942 double pTSum900_TransReg = 0;
943 double pTSum900_AwayReg = 0;
944 double pTSum900_TowardReg = 0;
945 
946  if(!(trackJets->empty()) && (trackJets->begin())->pt() > 1.)
947  {
948  double jetPhi = (trackJets->begin())->phi();
949  for(size_t i = 0; i < track.size();i++)
950  {
951  double dphi = (180./PI)*(deltaPhi(jetPhi,track[i]->phi()));
953  if(fabs(dphi)>60. && fabs(dphi)<120.)
954  {
955  pTSum500_TransReg = pTSum500_TransReg + track[i]->pt();
956  nTrk500_TransReg++;
957  if(track[i]->pt() > 0.9)
958  {
959  pTSum900_TransReg = pTSum900_TransReg + track[i]->pt();
960  nTrk900_TransReg++;
961  }
962  }
963 
964  if(fabs(dphi)>120. && fabs(dphi)<180.)
965  {
966  pTSum500_AwayReg = pTSum500_AwayReg + track[i]->pt();
967  nTrk500_AwayReg++;
968  if(track[i]->pt() > 0.9)
969  {
970  pTSum900_AwayReg = pTSum900_AwayReg + track[i]->pt();
971  nTrk900_AwayReg++;
972  }
973  }
974  if(fabs(dphi)<60.)
975  {
976  pTSum500_TowardReg = pTSum500_TowardReg + track[i]->pt();
977  nTrk500_TowardReg++;
978  if(track[i]->pt() > 0.9)
979  {
980  pTSum900_TowardReg = pTSum900_TowardReg + track[i]->pt();
981  nTrk900_TowardReg++;
982  }
983  }
984  }// tracks loop
985 
986  }// leading track jet
987 
988  fillProfile(hdNdEtadPhi_trackJet_Toward500_, (trackJets->begin())->pt(),nTrk500_TowardReg,w);
989  fillProfile(hdNdEtadPhi_trackJet_Transverse500_, (trackJets->begin())->pt(),nTrk500_TransReg,w);
990  fillProfile(hdNdEtadPhi_trackJet_Away500_, (trackJets->begin())->pt(),nTrk500_AwayReg,w);
991 
992  fillProfile(hpTSumdEtadPhi_trackJet_Toward500_, (trackJets->begin())->pt(),pTSum500_TowardReg,w);
993  fillProfile(hpTSumdEtadPhi_trackJet_Transverse500_, (trackJets->begin())->pt(),pTSum500_TransReg,w);
994  fillProfile(hpTSumdEtadPhi_trackJet_Away500_, (trackJets->begin())->pt(),pTSum500_AwayReg,w);
995 
996  fillProfile(hdNdEtadPhi_trackJet_Toward900_, (trackJets->begin())->pt(),nTrk900_TowardReg,w);
997  fillProfile(hdNdEtadPhi_trackJet_Transverse900_, (trackJets->begin())->pt(),nTrk900_TransReg,w);
998  fillProfile(hdNdEtadPhi_trackJet_Away900_, (trackJets->begin())->pt(),nTrk900_AwayReg,w);
999 
1000  fillProfile(hpTSumdEtadPhi_trackJet_Toward900_, (trackJets->begin())->pt(),pTSum900_TowardReg,w);
1001  fillProfile(hpTSumdEtadPhi_trackJet_Transverse900_, (trackJets->begin())->pt(),pTSum900_TransReg,w);
1002  fillProfile(hpTSumdEtadPhi_trackJet_Away900_, (trackJets->begin())->pt(),pTSum900_AwayReg,w);
1003 }
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:581
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:640
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 843 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().

844 {
845 double w = 0.119;
846 //double w = 1.;
847 double nTrk500_TransReg = 0;
848 double nTrk500_AwayReg = 0;
849 double nTrk500_TowardReg = 0;
850 
851 double pTSum500_TransReg = 0;
852 double pTSum500_AwayReg = 0;
853 double pTSum500_TowardReg = 0;
854 
855 
856 double nTrk900_TransReg = 0;
857 double nTrk900_AwayReg = 0;
858 double nTrk900_TowardReg = 0;
859 
860 double pTSum900_TransReg = 0;
861 double pTSum900_AwayReg = 0;
862 double pTSum900_TowardReg = 0;
863  if(track.size() > 0)
864  {
865  if(track[0]->pt() > 1.)
866  {
867  for(size_t i = 1; i < track.size();i++)
868  {
869 
870  double dphi = (180./PI)*(deltaPhi(track[0]->phi(),track[i]->phi()));
872  if(fabs(dphi)>60. && fabs(dphi)<120.)
873  {
874  pTSum500_TransReg = pTSum500_TransReg + track[i]->pt();
875  nTrk500_TransReg++;
876  if(track[i]->pt() > 0.9)
877  {
878  pTSum900_TransReg = pTSum900_TransReg + track[i]->pt();
879  nTrk900_TransReg++;
880  }
881  }
882 
883  if(fabs(dphi)>120. && fabs(dphi)<180.)
884  {
885  pTSum500_AwayReg = pTSum500_AwayReg + track[i]->pt();
886  nTrk500_AwayReg++;
887  if(track[i]->pt() > 0.9)
888  {
889  pTSum900_AwayReg = pTSum900_AwayReg + track[i]->pt();
890  nTrk900_AwayReg++;
891 
892  }
893  }
894 
895  if(fabs(dphi)<60.)
896  {
897  pTSum500_TowardReg = pTSum500_TowardReg + track[i]->pt();
898  nTrk500_TowardReg++;
899  if(track[i]->pt() > 0.9)
900  {
901  pTSum900_TowardReg = pTSum900_TowardReg + track[i]->pt();
902  nTrk900_TowardReg++;
903  }
904  }
905  } // track loop
906  }// leading track
907  // non empty collection
908  fillProfile(hdNdEtadPhi_pTMax_Toward500_, track[0]->pt(),nTrk500_TowardReg,w);
909  fillProfile(hdNdEtadPhi_pTMax_Transverse500_, track[0]->pt(),nTrk500_TransReg,w);
910  fillProfile(hdNdEtadPhi_pTMax_Away500_, track[0]->pt(),nTrk500_AwayReg,w);
911 
912  fillProfile(hpTSumdEtadPhi_pTMax_Toward500_,track[0]->pt() ,pTSum500_TowardReg,w);
913  fillProfile(hpTSumdEtadPhi_pTMax_Transverse500_,track[0]->pt(),pTSum500_TransReg,w);
914  fillProfile(hpTSumdEtadPhi_pTMax_Away500_, track[0]->pt(),pTSum500_AwayReg,w);
915 
916  fillProfile(hdNdEtadPhi_pTMax_Toward900_, track[0]->pt(),nTrk900_TowardReg,w);
917  fillProfile(hdNdEtadPhi_pTMax_Transverse900_, track[0]->pt(),nTrk900_TransReg,w);
918  fillProfile(hdNdEtadPhi_pTMax_Away900_, track[0]->pt(),nTrk900_AwayReg,w);
919 
920  fillProfile(hpTSumdEtadPhi_pTMax_Toward900_,track[0]->pt() ,pTSum900_TowardReg,w);
921  fillProfile(hpTSumdEtadPhi_pTMax_Transverse900_,track[0]->pt(),pTSum900_TransReg,w);
922  fillProfile(hpTSumdEtadPhi_pTMax_Away900_, track[0]->pt(),pTSum900_AwayReg,w);
923  }
924 }
int i
Definition: DBlmapReader.cc:9
#define PI
void fill1D(std::vector< TH1F * > &hs, double val, double w=1.)
Definition: QcdUeDQM.cc:581
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:640
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 756 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().

757 {
758  const reco::VertexCollection theVertices = *(vtxColl.product());
759  bool goodVtx = false;
760  fill1D(hNvertices_,theVertices.size());
761  for (reco::VertexCollection::const_iterator vertexIt = theVertices.begin(); vertexIt != theVertices.end(); ++vertexIt)
762  {
763  fill1D(hVertex_z_,vertexIt->z());
764  fill1D(hVertex_y_,vertexIt->y());
765  fill1D(hVertex_x_,vertexIt->x());
766  fill1D(hVertex_ndof_,vertexIt->ndof());
767  fill1D(hVertex_rho_,vertexIt->position().rho());
768  fill1D(hVertex_z_bs_,(vertexIt->z() -bs->z0()));
769 
770  if(fabs(vertexIt->z() -bs->z0()) < diffvtxbs_ && vertexIt->ndof() >= 4 && vertexIt->position().rho()<= 2.0)
771  {
772  goodVtx = true;
773  vtx1=(*vertexIt);
774 
775  break;
776  }
777  } // Loop over vertcies
778  return goodVtx;
779 }
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:581
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 605 of file QcdUeDQM.cc.

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

606 {
607  // Loop over histograms and fill if trigger has fired.
608  string cut[5] = {"Nevt","vtx!=bmspt","Zvtx<10cm","pT>1GeV","trackFromVtx"};
609  for(size_t i=0;i<mes.size();++i) {
610  if (!hltTrgDeci_.at(i))
611  continue;
612  for(size_t j = 1;j < 6;j++)mes.at(i)->setBinLabel(j,cut[j-1],1);
613  }
614 }
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 665 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().

666 {
667 //-------------Fill basic histograms---------
668 
669 
670 //-------------------------------------------
671 
672  bool goodTrk = false;
673 
674  if(sizevtx!=1) return 0; //selection events with only a vertex
675 
676  //Fill basic information of all the tracks
680  fill1D(hRatioPtErrorPt_,(trk.ptError()/trk.pt()));
681  fill1D(hTrkPt_,trk.pt());
682  fill1D(hTrkEta_,trk.eta());
683  fill1D(hTrkPhi_,trk.phi());
684  fill1D(hRatioDxySigmaDxyBS_,(trk.dxy(bs->position())/trk.dxyError()));
685  fill1D(hRatioDxySigmaDxyPV_,(trk.dxy(vtx.position())/trk.dxyError()));
686  fill1D(hRatioDzSigmaDzBS_,(trk.dz(bs->position())/trk.dzError()));
687  fill1D(hRatioDzSigmaDzPV_,(trk.dz(vtx.position())/trk.dzError()));
689  fill1D(hTrkNdof_,trk.ndof());
690 
691  fill1D(hBeamSpot_x_,bs->x0());
692  fill1D(hBeamSpot_y_,bs->y0());
693  fill1D(hBeamSpot_z_,bs->z0());
694 
695  //number of layers
696  bool layerMinCutbool=false;
699  layerMinCutbool=true;
700 
701 
702  //number of pixel layers
703  bool pxlLayerMinCutbool=false;
704  if (trk.hitPattern().pixelLayersWithMeasurement() >=pxlLayerMinCut_) pxlLayerMinCutbool=true;
705 
706 
707  // cut on the hits in pixel layers
708  bool hasPIX1 = false;
709  if (requirePIX1_) {
710  const reco::HitPattern& p = trk.hitPattern();
711  for (int i=0; i<p.numberOfHits(); i++) {
712  uint32_t hit = p.getHitPattern(i);
713  if (p.validHitFilter(hit) && p.pixelHitFilter(hit) && p.getLayer(hit)==1) hasPIX1 = true;
714  }
715  }else hasPIX1 = true;
716 
717  // cut on the pT error
718  bool ptErrorbool=false;
719  if (trk.ptError()/trk.pt() < ptErr_pt_ ||
720  (trk.hitPattern().trackerLayersWithMeasurement()==3 && trk.hitPattern().pixelLayersWithMeasurement()==3 && allowTriplets_)) ptErrorbool=true;
721  // quality cut
722  bool quality_ok = true;
723  if (quality_.size()!=0) {
724  quality_ok = false;
725  for (unsigned int i = 0; i<quality_.size();++i) {
726  if (trk.quality(quality_[i])){
727  quality_ok = true;
728  break;
729  }
730  }
731  }
732  //-----
733  bool algo_ok = true;
734  if (algorithm_.size()!=0) {
735  if (std::find(algorithm_.begin(),algorithm_.end(),trk.algo())==algorithm_.end()) algo_ok = false;
736  }
737 
738 
739  if(bsuse_==1)
740  {
741  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 ;
742  }
743 
744  if(bsuse_==0)
745  {
746  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;
747 
748  }
749 
750  return goodTrk;
751 
752  }
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:485
void fill1D(std::vector< TH1F * > &hs, double val, double w=1.)
Definition: QcdUeDQM.cc:581
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:710
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:705
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:384
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:529
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.