CMS 3D CMS Logo

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

#include <MySub/LhcTrackAnalyzer/src/LhcTrackAnalyzer.cc>

Inheritance diagram for LhcTrackAnalyzer:
edm::EDAnalyzer edm::EDConsumerBase

Public Member Functions

 LhcTrackAnalyzer (const edm::ParameterSet &)
 
 ~LhcTrackAnalyzer () override
 
- Public Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
SerialTaskQueueglobalLuminosityBlocksQueue ()
 
SerialTaskQueueglobalRunsQueue ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
 ~EDAnalyzer () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
void beginJob () override
 
void endJob () override
 
void SetVarToZero ()
 

Private Attributes

int charge_ [nMaxtracks_]
 
double chi2_ [nMaxtracks_]
 
double chi2ndof_ [nMaxtracks_]
 
bool debug_
 
double dxy_ [nMaxtracks_]
 
double dz_ [nMaxtracks_]
 
double eta_ [nMaxtracks_]
 
int event_
 
std::string filename_
 
bool goodbx_
 
bool goodvtx_
 
int isHighPurity_ [nMaxtracks_]
 
int nTracks_
 
double phi_ [nMaxtracks_]
 
double pt_ [nMaxtracks_]
 
edm::InputTag PVtxCollectionTag_
 
double qoverp_ [nMaxtracks_]
 
TFile * rootFile_
 
TTree * rootTree_
 
int run_
 
edm::InputTag TrackCollectionTag_
 
int trkAlgo_ [nMaxtracks_]
 
int trkQuality_ [nMaxtracks_]
 
int validhits_ [nMaxtracks_][7]
 
double xPCA_ [nMaxtracks_]
 
double yPCA_ [nMaxtracks_]
 
double zPCA_ [nMaxtracks_]
 

Static Private Attributes

static const int nMaxtracks_ = 3000
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
static bool wantsGlobalLuminosityBlocks ()
 
static bool wantsGlobalRuns ()
 
static bool wantsStreamLuminosityBlocks ()
 
static bool wantsStreamRuns ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 

Detailed Description

Originally written by M.Musich Expanded by A. Bonato

Description: <one line="" class="" summary>="">

Implementation: <Notes on="" implementation>="">

Definition at line 54 of file LhcTrackAnalyzer.h.

Constructor & Destructor Documentation

◆ LhcTrackAnalyzer()

LhcTrackAnalyzer::LhcTrackAnalyzer ( const edm::ParameterSet iConfig)
explicit

Definition at line 61 of file LhcTrackAnalyzer.cc.

63 {
64  //now do what ever initialization is needed
65  debug_ = iConfig.getParameter<bool>("Debug");
66  TrackCollectionTag_ = iConfig.getParameter<edm::InputTag>("TrackCollectionTag");
67  PVtxCollectionTag_ = iConfig.getParameter<edm::InputTag>("PVtxCollectionTag");
68  filename_ = iConfig.getParameter<std::string>("OutputFileName");
69 }

References debug_, filename_, edm::ParameterSet::getParameter(), PVtxCollectionTag_, AlCaHLTBitMon_QueryRunRegistry::string, and TrackCollectionTag_.

◆ ~LhcTrackAnalyzer()

LhcTrackAnalyzer::~LhcTrackAnalyzer ( )
override

Definition at line 72 of file LhcTrackAnalyzer.cc.

72  {
73  // do anything here that needs to be done at desctruction time
74  // (e.g. close files, deallocate resources etc.)
75 }

Member Function Documentation

◆ analyze()

void LhcTrackAnalyzer::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
overrideprivatevirtual

Implements edm::EDAnalyzer.

Definition at line 82 of file LhcTrackAnalyzer.cc.

82  {
83  using namespace edm;
84  using namespace reco;
85  using namespace std;
86 
87  //=======================================================
88  // Initialize Root-tuple variables
89  //=======================================================
90 
91  SetVarToZero();
92 
93  //=======================================================
94  // Retrieve the Track information
95  //=======================================================
96 
97  Handle<TrackCollection> trackCollectionHandle;
98  iEvent.getByLabel(TrackCollectionTag_, trackCollectionHandle);
99  Handle<VertexCollection> vertexCollectionHandle;
100  iEvent.getByLabel(PVtxCollectionTag_, vertexCollectionHandle);
101  for (VertexCollection::const_iterator vtx = vertexCollectionHandle->begin(); vtx != vertexCollectionHandle->end();
102  ++vtx) {
103  if (vtx == vertexCollectionHandle->begin()) {
104  if (vtx->isFake())
105  goodvtx_ = false;
106  else
107  goodvtx_ = true;
108  } else
109  break;
110  }
111 
112  goodbx_ = true;
113  // int bx = iEvent.bunchCrossing();
114  //if (bx==51 || bx==2724) goodbx_=true;
115 
116  run_ = iEvent.id().run();
117  event_ = iEvent.id().event();
118 
119  if (debug_)
120  cout << "LhcTrackAnalyzer::analyze() looping over " << trackCollectionHandle->size() << "tracks." << endl;
121 
122  // unsigned int i = 0;
123  for (TrackCollection::const_iterator track = trackCollectionHandle->begin(); track != trackCollectionHandle->end();
124  ++track) {
125  if (nTracks_ >= nMaxtracks_) {
126  std::cout << " LhcTrackAnalyzer::analyze() : Warning - Run " << run_ << " Event " << event_
127  << "\tNumber of tracks: " << trackCollectionHandle->size() << " , greater than " << nMaxtracks_
128  << std::endl;
129  continue;
130  }
131  pt_[nTracks_] = track->pt();
132  eta_[nTracks_] = track->eta();
133  phi_[nTracks_] = track->phi();
134  chi2_[nTracks_] = track->chi2();
135  chi2ndof_[nTracks_] = track->normalizedChi2();
136  charge_[nTracks_] = track->charge();
137  qoverp_[nTracks_] = track->qoverp();
138  dz_[nTracks_] = track->dz();
139  dxy_[nTracks_] = track->dxy();
140  xPCA_[nTracks_] = track->vertex().x();
141  yPCA_[nTracks_] = track->vertex().y();
142  zPCA_[nTracks_] = track->vertex().z();
143  validhits_[nTracks_][0] = track->numberOfValidHits();
144  validhits_[nTracks_][1] = track->hitPattern().numberOfValidPixelBarrelHits();
145  validhits_[nTracks_][2] = track->hitPattern().numberOfValidPixelEndcapHits();
146  validhits_[nTracks_][3] = track->hitPattern().numberOfValidStripTIBHits();
147  validhits_[nTracks_][4] = track->hitPattern().numberOfValidStripTIDHits();
148  validhits_[nTracks_][5] = track->hitPattern().numberOfValidStripTOBHits();
149  validhits_[nTracks_][6] = track->hitPattern().numberOfValidStripTECHits();
150 
151  int myalgo = -88;
152  if (track->algo() == reco::TrackBase::undefAlgorithm)
153  myalgo = 0;
154  if (track->algo() == reco::TrackBase::ctf)
155  myalgo = 1;
156  if (track->algo() == reco::TrackBase::initialStep)
157  myalgo = 4;
159  myalgo = 5;
160  if (track->algo() == reco::TrackBase::pixelPairStep)
161  myalgo = 6;
163  myalgo = 7;
165  myalgo = 8;
166  if (track->algo() == reco::TrackBase::pixelLessStep)
167  myalgo = 9;
168  if (track->algo() == reco::TrackBase::tobTecStep)
169  myalgo = 10;
171  myalgo = 11;
172  // This class is pending the migration to Phase1 tracks
175  throw cms::Exception("Not implemented")
176  << "LhcTrackAnalyzer does not yet support phase1 tracks, encountered one from algo "
177  << reco::TrackBase::algoName(track->algo());
178  }
179  trkAlgo_[nTracks_] = myalgo;
180 
181  int myquality = -99;
182  if (track->quality(reco::TrackBase::undefQuality))
183  myquality = -1;
184  if (track->quality(reco::TrackBase::loose))
185  myquality = 0;
186  if (track->quality(reco::TrackBase::tight))
187  myquality = 1;
188  if (track->quality(reco::TrackBase::highPurity))
189  myquality = 2;
190  //if(track->quality(reco::TrackBase::confirmed))myquality=3;
191  // if(track->quality(reco::TrackBase::goodIterative))myquality=4;
192  // if(track->quality(reco::TrackBase::qualitySize))myquality=5;
193  trkQuality_[nTracks_] = myquality;
194 
195  if (track->quality(reco::TrackBase::highPurity))
196  isHighPurity_[nTracks_] = 1;
197  else
198  isHighPurity_[nTracks_] = 0;
199  nTracks_++;
200 
201  } //end loop on tracks
202 
203  for (int d = 0; d < nTracks_; ++d) {
204  if (abs(trkQuality_[d]) > 5)
205  cout << "MYQUALITY!!! " << trkQuality_[d] << " at track # " << d << "/" << nTracks_ << endl;
206  }
207 
208  rootTree_->Fill();
209 }

References funct::abs(), reco::TrackBase::algoName(), charge_, chi2_, chi2ndof_, gather_cfg::cout, reco::TrackBase::ctf, ztail::d, debug_, reco::TrackBase::detachedQuadStep, reco::TrackBase::detachedTripletStep, dxy_, dz_, eta_, event_, Exception, goodbx_, goodvtx_, reco::TrackBase::highPtTripletStep, reco::TrackBase::highPurity, iEvent, reco::TrackBase::initialStep, isHighPurity_, reco::TrackBase::jetCoreRegionalStep, reco::TrackBase::loose, reco::TrackBase::lowPtQuadStep, reco::TrackBase::lowPtTripletStep, reco::TrackBase::mixedTripletStep, nMaxtracks_, nTracks_, phi_, reco::TrackBase::pixelLessStep, reco::TrackBase::pixelPairStep, pt_, PVtxCollectionTag_, qoverp_, rootTree_, run_, SetVarToZero(), reco::TrackBase::tight, reco::TrackBase::tobTecStep, HLT_2018_cff::track, TrackCollectionTag_, trkAlgo_, trkQuality_, reco::TrackBase::undefAlgorithm, reco::TrackBase::undefQuality, validhits_, badGlobalMuonTaggersAOD_cff::vtx, xPCA_, yPCA_, and zPCA_.

◆ beginJob()

void LhcTrackAnalyzer::beginJob ( void  )
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 212 of file LhcTrackAnalyzer.cc.

212  {
213  edm::LogInfo("beginJob") << "Begin Job" << std::endl;
214  // Define TTree for output
215  rootFile_ = new TFile(filename_.c_str(), "recreate");
216  rootTree_ = new TTree("tree", "Lhc Track tree");
217 
218  // Track Paramters
219  rootTree_->Branch("run", &run_, "run/I");
220  rootTree_->Branch("event", &event_, "event/I");
221  rootTree_->Branch("goodbx", &goodbx_, "goodbx/O");
222  rootTree_->Branch("goodvtx", &goodvtx_, "goodvtx/O");
223  rootTree_->Branch("nTracks", &nTracks_, "nTracks/I");
224  rootTree_->Branch("pt", &pt_, "pt[nTracks]/D");
225  rootTree_->Branch("eta", &eta_, "eta[nTracks]/D");
226  rootTree_->Branch("phi", &phi_, "phi[nTracks]/D");
227  rootTree_->Branch("chi2", &chi2_, "chi2[nTracks]/D");
228  rootTree_->Branch("chi2ndof", &chi2ndof_, "chi2ndof[nTracks]/D");
229  rootTree_->Branch("charge", &charge_, "charge[nTracks]/I");
230  rootTree_->Branch("qoverp", &qoverp_, "qoverp[nTracks]/D");
231  rootTree_->Branch("dz", &dz_, "dz[nTracks]/D");
232  rootTree_->Branch("dxy", &dxy_, "dxy[nTracks]/D");
233  rootTree_->Branch("xPCA", &xPCA_, "xPCA[nTracks]/D");
234  rootTree_->Branch("yPCA", &yPCA_, "yPCA[nTracks]/D");
235  rootTree_->Branch("zPCA", &zPCA_, "zPCA[nTracks]/D");
236  rootTree_->Branch("isHighPurity", &isHighPurity_, "isHighPurity[nTracks]/I");
237  rootTree_->Branch("trkQuality", &trkQuality_, "trkQuality[nTracks]/I");
238  rootTree_->Branch("trkAlgo", &trkAlgo_, "trkAlgo[nTracks]/I");
239  rootTree_->Branch("nValidHits", &validhits_, "nValidHits[nTracks][7]/I");
240 }

References charge_, chi2_, chi2ndof_, dxy_, dz_, eta_, event_, filename_, goodbx_, goodvtx_, isHighPurity_, nTracks_, phi_, pt_, qoverp_, rootFile_, rootTree_, run_, trkAlgo_, trkQuality_, validhits_, xPCA_, yPCA_, and zPCA_.

◆ endJob()

void LhcTrackAnalyzer::endJob ( void  )
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 243 of file LhcTrackAnalyzer.cc.

243  {
244  if (rootFile_) {
245  rootFile_->Write();
246  rootFile_->Close();
247  }
248 }

References rootFile_.

Referenced by o2olib.O2ORunMgr::executeJob().

◆ SetVarToZero()

void LhcTrackAnalyzer::SetVarToZero ( )
private

Definition at line 250 of file LhcTrackAnalyzer.cc.

250  {
251  run_ = -1;
252  event_ = -99;
253  nTracks_ = 0;
254  for (int i = 0; i < nMaxtracks_; ++i) {
255  pt_[i] = 0;
256  eta_[i] = 0;
257  phi_[i] = 0;
258  chi2_[i] = 0;
259  chi2ndof_[i] = 0;
260  charge_[i] = 0;
261  qoverp_[i] = 0;
262  dz_[i] = 0;
263  dxy_[i] = 0;
264  xPCA_[i] = 0;
265  yPCA_[i] = 0;
266  zPCA_[i] = 0;
267  trkQuality_[i] = 0;
268  trkAlgo_[i] = -1;
269  isHighPurity_[i] = -3;
270  for (int j = 0; j < 7; j++) {
271  validhits_[nTracks_][j] = -1 * j;
272  }
273  }
274 }

References charge_, chi2_, chi2ndof_, dxy_, dz_, eta_, event_, mps_fire::i, isHighPurity_, dqmiolumiharvest::j, nMaxtracks_, nTracks_, phi_, pt_, qoverp_, run_, trkAlgo_, trkQuality_, validhits_, xPCA_, yPCA_, and zPCA_.

Referenced by analyze().

Member Data Documentation

◆ charge_

int LhcTrackAnalyzer::charge_[nMaxtracks_]
private

Definition at line 87 of file LhcTrackAnalyzer.h.

Referenced by analyze(), beginJob(), and SetVarToZero().

◆ chi2_

double LhcTrackAnalyzer::chi2_[nMaxtracks_]
private

Definition at line 85 of file LhcTrackAnalyzer.h.

Referenced by analyze(), beginJob(), and SetVarToZero().

◆ chi2ndof_

double LhcTrackAnalyzer::chi2ndof_[nMaxtracks_]
private

Definition at line 86 of file LhcTrackAnalyzer.h.

Referenced by analyze(), beginJob(), and SetVarToZero().

◆ debug_

bool LhcTrackAnalyzer::debug_
private

Definition at line 67 of file LhcTrackAnalyzer.h.

Referenced by analyze(), and LhcTrackAnalyzer().

◆ dxy_

double LhcTrackAnalyzer::dxy_[nMaxtracks_]
private

Definition at line 90 of file LhcTrackAnalyzer.h.

Referenced by analyze(), beginJob(), and SetVarToZero().

◆ dz_

double LhcTrackAnalyzer::dz_[nMaxtracks_]
private

Definition at line 89 of file LhcTrackAnalyzer.h.

Referenced by analyze(), beginJob(), and SetVarToZero().

◆ eta_

double LhcTrackAnalyzer::eta_[nMaxtracks_]
private

Definition at line 83 of file LhcTrackAnalyzer.h.

Referenced by analyze(), beginJob(), and SetVarToZero().

◆ event_

int LhcTrackAnalyzer::event_
private

Definition at line 81 of file LhcTrackAnalyzer.h.

Referenced by analyze(), beginJob(), and SetVarToZero().

◆ filename_

std::string LhcTrackAnalyzer::filename_
private

Definition at line 70 of file LhcTrackAnalyzer.h.

Referenced by beginJob(), and LhcTrackAnalyzer().

◆ goodbx_

bool LhcTrackAnalyzer::goodbx_
private

Definition at line 98 of file LhcTrackAnalyzer.h.

Referenced by analyze(), and beginJob().

◆ goodvtx_

bool LhcTrackAnalyzer::goodvtx_
private

Definition at line 99 of file LhcTrackAnalyzer.h.

Referenced by analyze(), and beginJob().

◆ isHighPurity_

int LhcTrackAnalyzer::isHighPurity_[nMaxtracks_]
private

Definition at line 96 of file LhcTrackAnalyzer.h.

Referenced by analyze(), beginJob(), and SetVarToZero().

◆ nMaxtracks_

const int LhcTrackAnalyzer::nMaxtracks_ = 3000
staticprivate

Definition at line 78 of file LhcTrackAnalyzer.h.

Referenced by analyze(), and SetVarToZero().

◆ nTracks_

int LhcTrackAnalyzer::nTracks_
private

Definition at line 79 of file LhcTrackAnalyzer.h.

Referenced by analyze(), beginJob(), and SetVarToZero().

◆ phi_

double LhcTrackAnalyzer::phi_[nMaxtracks_]
private

Definition at line 84 of file LhcTrackAnalyzer.h.

Referenced by analyze(), beginJob(), and SetVarToZero().

◆ pt_

double LhcTrackAnalyzer::pt_[nMaxtracks_]
private

Definition at line 82 of file LhcTrackAnalyzer.h.

Referenced by analyze(), beginJob(), and SetVarToZero().

◆ PVtxCollectionTag_

edm::InputTag LhcTrackAnalyzer::PVtxCollectionTag_
private

Definition at line 66 of file LhcTrackAnalyzer.h.

Referenced by analyze(), and LhcTrackAnalyzer().

◆ qoverp_

double LhcTrackAnalyzer::qoverp_[nMaxtracks_]
private

Definition at line 88 of file LhcTrackAnalyzer.h.

Referenced by analyze(), beginJob(), and SetVarToZero().

◆ rootFile_

TFile* LhcTrackAnalyzer::rootFile_
private

Definition at line 71 of file LhcTrackAnalyzer.h.

Referenced by beginJob(), and endJob().

◆ rootTree_

TTree* LhcTrackAnalyzer::rootTree_
private

Definition at line 72 of file LhcTrackAnalyzer.h.

Referenced by analyze(), and beginJob().

◆ run_

int LhcTrackAnalyzer::run_
private

Definition at line 80 of file LhcTrackAnalyzer.h.

Referenced by analyze(), beginJob(), and SetVarToZero().

◆ TrackCollectionTag_

edm::InputTag LhcTrackAnalyzer::TrackCollectionTag_
private

Definition at line 65 of file LhcTrackAnalyzer.h.

Referenced by analyze(), and LhcTrackAnalyzer().

◆ trkAlgo_

int LhcTrackAnalyzer::trkAlgo_[nMaxtracks_]
private

Definition at line 94 of file LhcTrackAnalyzer.h.

Referenced by analyze(), beginJob(), and SetVarToZero().

◆ trkQuality_

int LhcTrackAnalyzer::trkQuality_[nMaxtracks_]
private

Definition at line 95 of file LhcTrackAnalyzer.h.

Referenced by analyze(), beginJob(), and SetVarToZero().

◆ validhits_

int LhcTrackAnalyzer::validhits_[nMaxtracks_][7]
private

Definition at line 97 of file LhcTrackAnalyzer.h.

Referenced by analyze(), beginJob(), and SetVarToZero().

◆ xPCA_

double LhcTrackAnalyzer::xPCA_[nMaxtracks_]
private

Definition at line 91 of file LhcTrackAnalyzer.h.

Referenced by analyze(), beginJob(), and SetVarToZero().

◆ yPCA_

double LhcTrackAnalyzer::yPCA_[nMaxtracks_]
private

Definition at line 92 of file LhcTrackAnalyzer.h.

Referenced by analyze(), beginJob(), and SetVarToZero().

◆ zPCA_

double LhcTrackAnalyzer::zPCA_[nMaxtracks_]
private

Definition at line 93 of file LhcTrackAnalyzer.h.

Referenced by analyze(), beginJob(), and SetVarToZero().

LhcTrackAnalyzer::debug_
bool debug_
Definition: LhcTrackAnalyzer.h:67
LhcTrackAnalyzer::qoverp_
double qoverp_[nMaxtracks_]
Definition: LhcTrackAnalyzer.h:88
mps_fire.i
i
Definition: mps_fire.py:355
reco::TrackBase::tight
Definition: TrackBase.h:153
reco::TrackBase::loose
Definition: TrackBase.h:152
reco::TrackBase::detachedQuadStep
Definition: TrackBase.h:115
reco::TrackBase::lowPtQuadStep
Definition: TrackBase.h:114
LhcTrackAnalyzer::isHighPurity_
int isHighPurity_[nMaxtracks_]
Definition: LhcTrackAnalyzer.h:96
LhcTrackAnalyzer::charge_
int charge_[nMaxtracks_]
Definition: LhcTrackAnalyzer.h:87
LhcTrackAnalyzer::zPCA_
double zPCA_[nMaxtracks_]
Definition: LhcTrackAnalyzer.h:93
LhcTrackAnalyzer::eta_
double eta_[nMaxtracks_]
Definition: LhcTrackAnalyzer.h:83
edm
HLT enums.
Definition: AlignableModifier.h:19
reco::TrackBase::undefQuality
Definition: TrackBase.h:151
LhcTrackAnalyzer::goodvtx_
bool goodvtx_
Definition: LhcTrackAnalyzer.h:99
gather_cfg.cout
cout
Definition: gather_cfg.py:144
edm::LogInfo
Definition: MessageLogger.h:254
LhcTrackAnalyzer::trkQuality_
int trkQuality_[nMaxtracks_]
Definition: LhcTrackAnalyzer.h:95
reco::TrackBase::lowPtTripletStep
Definition: TrackBase.h:95
LhcTrackAnalyzer::rootFile_
TFile * rootFile_
Definition: LhcTrackAnalyzer.h:71
LhcTrackAnalyzer::chi2_
double chi2_[nMaxtracks_]
Definition: LhcTrackAnalyzer.h:85
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
edm::Handle
Definition: AssociativeIterator.h:50
reco::TrackBase::mixedTripletStep
Definition: TrackBase.h:98
LhcTrackAnalyzer::goodbx_
bool goodbx_
Definition: LhcTrackAnalyzer.h:98
LhcTrackAnalyzer::yPCA_
double yPCA_[nMaxtracks_]
Definition: LhcTrackAnalyzer.h:92
LhcTrackAnalyzer::nTracks_
int nTracks_
Definition: LhcTrackAnalyzer.h:79
reco::TrackBase::jetCoreRegionalStep
Definition: TrackBase.h:101
LhcTrackAnalyzer::chi2ndof_
double chi2ndof_[nMaxtracks_]
Definition: LhcTrackAnalyzer.h:86
LhcTrackAnalyzer::filename_
std::string filename_
Definition: LhcTrackAnalyzer.h:70
LhcTrackAnalyzer::phi_
double phi_[nMaxtracks_]
Definition: LhcTrackAnalyzer.h:84
reco::TrackBase::algoName
std::string algoName() const
Definition: TrackBase.h:535
badGlobalMuonTaggersAOD_cff.vtx
vtx
Definition: badGlobalMuonTaggersAOD_cff.py:5
LhcTrackAnalyzer::nMaxtracks_
static const int nMaxtracks_
Definition: LhcTrackAnalyzer.h:78
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
LhcTrackAnalyzer::dz_
double dz_[nMaxtracks_]
Definition: LhcTrackAnalyzer.h:89
LhcTrackAnalyzer::TrackCollectionTag_
edm::InputTag TrackCollectionTag_
Definition: LhcTrackAnalyzer.h:65
reco::TrackBase::detachedTripletStep
Definition: TrackBase.h:97
LhcTrackAnalyzer::dxy_
double dxy_[nMaxtracks_]
Definition: LhcTrackAnalyzer.h:90
LhcTrackAnalyzer::run_
int run_
Definition: LhcTrackAnalyzer.h:80
reco::TrackBase::undefAlgorithm
Definition: TrackBase.h:90
iEvent
int iEvent
Definition: GenABIO.cc:224
reco::TrackBase::initialStep
Definition: TrackBase.h:94
reco::TrackBase::tobTecStep
Definition: TrackBase.h:100
LhcTrackAnalyzer::validhits_
int validhits_[nMaxtracks_][7]
Definition: LhcTrackAnalyzer.h:97
reco::TrackBase::pixelPairStep
Definition: TrackBase.h:96
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
reco::TrackBase::ctf
Definition: TrackBase.h:91
LhcTrackAnalyzer::rootTree_
TTree * rootTree_
Definition: LhcTrackAnalyzer.h:72
LhcTrackAnalyzer::xPCA_
double xPCA_[nMaxtracks_]
Definition: LhcTrackAnalyzer.h:91
reco::TrackBase::highPtTripletStep
Definition: TrackBase.h:113
std
Definition: JetResolutionObject.h:76
LhcTrackAnalyzer::trkAlgo_
int trkAlgo_[nMaxtracks_]
Definition: LhcTrackAnalyzer.h:94
Exception
Definition: hltDiff.cc:246
HLT_2018_cff.track
track
Definition: HLT_2018_cff.py:10352
ztail.d
d
Definition: ztail.py:151
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
LhcTrackAnalyzer::pt_
double pt_[nMaxtracks_]
Definition: LhcTrackAnalyzer.h:82
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
LhcTrackAnalyzer::PVtxCollectionTag_
edm::InputTag PVtxCollectionTag_
Definition: LhcTrackAnalyzer.h:66
reco::TrackBase::pixelLessStep
Definition: TrackBase.h:99
edm::InputTag
Definition: InputTag.h:15
LhcTrackAnalyzer::event_
int event_
Definition: LhcTrackAnalyzer.h:81
reco::TrackBase::highPurity
Definition: TrackBase.h:154
LhcTrackAnalyzer::SetVarToZero
void SetVarToZero()
Definition: LhcTrackAnalyzer.cc:250