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 const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
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
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
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
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Detailed Description

Originally written by M.Musich Expanded by A. Bonato

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

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

Definition at line 56 of file LhcTrackAnalyzer.h.

Constructor & Destructor Documentation

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

Definition at line 63 of file LhcTrackAnalyzer.cc.

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

65 {
66  //now do what ever initialization is needed
67  debug_ = iConfig.getParameter<bool> ("Debug");
68  TrackCollectionTag_ = iConfig.getParameter<edm::InputTag>("TrackCollectionTag");
69  PVtxCollectionTag_ = iConfig.getParameter<edm::InputTag>("PVtxCollectionTag");
70  filename_ = iConfig.getParameter<std::string>("OutputFileName");
71 }
T getParameter(std::string const &) const
edm::InputTag TrackCollectionTag_
std::string filename_
edm::InputTag PVtxCollectionTag_
LhcTrackAnalyzer::~LhcTrackAnalyzer ( )
override

Definition at line 74 of file LhcTrackAnalyzer.cc.

75 {
76 
77  // do anything here that needs to be done at desctruction time
78  // (e.g. close files, deallocate resources etc.)
79 
80 }

Member Function Documentation

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

Definition at line 89 of file LhcTrackAnalyzer.cc.

References funct::abs(), reco::TrackBase::algoName(), charge_, chi2_, chi2ndof_, gather_cfg::cout, reco::TrackBase::ctf, edmIntegrityCheck::d, debug_, reco::TrackBase::detachedQuadStep, reco::TrackBase::detachedTripletStep, dxy_, dz_, eta_, edm::EventID::event(), event_, Exception, edm::Event::getByLabel(), goodbx_, goodvtx_, reco::TrackBase::highPtTripletStep, reco::TrackBase::highPurity, edm::EventBase::id(), 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_, edm::EventID::run(), run_, SetVarToZero(), reco::TrackBase::tight, reco::TrackBase::tobTecStep, HiIsolationCommonParameters_cff::track, TrackCollectionTag_, trkAlgo_, trkQuality_, reco::TrackBase::undefAlgorithm, reco::TrackBase::undefQuality, validhits_, badGlobalMuonTaggersAOD_cff::vtx, xPCA_, yPCA_, and zPCA_.

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

Reimplemented from edm::EDAnalyzer.

Definition at line 213 of file LhcTrackAnalyzer.cc.

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_.

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

Reimplemented from edm::EDAnalyzer.

Definition at line 247 of file LhcTrackAnalyzer.cc.

References rootFile_.

Referenced by o2olib.O2ORunMgr::executeJob().

248 {
249  if ( rootFile_ ) {
250  rootFile_->Write();
251  rootFile_->Close();
252  }
253 
254 
255 
256 }
void LhcTrackAnalyzer::SetVarToZero ( )
private

Definition at line 258 of file LhcTrackAnalyzer.cc.

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

Referenced by analyze().

258  {
259  run_=-1;
260  event_=-99;
261  nTracks_ = 0;
262  for ( int i=0; i<nMaxtracks_; ++i ) {
263  pt_[i] = 0;
264  eta_[i] = 0;
265  phi_[i] = 0;
266  chi2_[i] = 0;
267  chi2ndof_[i] = 0;
268  charge_[i] = 0;
269  qoverp_[i] = 0;
270  dz_[i] = 0;
271  dxy_[i] = 0;
272  xPCA_[i] = 0;
273  yPCA_[i] = 0;
274  zPCA_[i] = 0;
275  trkQuality_[i] = 0;
276  trkAlgo_[i] = -1;
277  isHighPurity_[i]=-3;
278  for(int j=0;j<7;j++){
279  validhits_[nTracks_][j]=-1*j;
280  }
281  }
282 
283 
284 }
int validhits_[nMaxtracks_][7]
int isHighPurity_[nMaxtracks_]
double dz_[nMaxtracks_]
double zPCA_[nMaxtracks_]
int trkQuality_[nMaxtracks_]
double qoverp_[nMaxtracks_]
double eta_[nMaxtracks_]
double phi_[nMaxtracks_]
double chi2ndof_[nMaxtracks_]
double yPCA_[nMaxtracks_]
double dxy_[nMaxtracks_]
int trkAlgo_[nMaxtracks_]
double xPCA_[nMaxtracks_]
static const int nMaxtracks_
double chi2_[nMaxtracks_]
int charge_[nMaxtracks_]
double pt_[nMaxtracks_]

Member Data Documentation

int LhcTrackAnalyzer::charge_[nMaxtracks_]
private

Definition at line 90 of file LhcTrackAnalyzer.h.

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

double LhcTrackAnalyzer::chi2_[nMaxtracks_]
private

Definition at line 88 of file LhcTrackAnalyzer.h.

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

double LhcTrackAnalyzer::chi2ndof_[nMaxtracks_]
private

Definition at line 89 of file LhcTrackAnalyzer.h.

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

bool LhcTrackAnalyzer::debug_
private

Definition at line 70 of file LhcTrackAnalyzer.h.

Referenced by analyze(), and LhcTrackAnalyzer().

double LhcTrackAnalyzer::dxy_[nMaxtracks_]
private

Definition at line 93 of file LhcTrackAnalyzer.h.

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

double LhcTrackAnalyzer::dz_[nMaxtracks_]
private

Definition at line 92 of file LhcTrackAnalyzer.h.

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

double LhcTrackAnalyzer::eta_[nMaxtracks_]
private

Definition at line 86 of file LhcTrackAnalyzer.h.

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

int LhcTrackAnalyzer::event_
private

Definition at line 84 of file LhcTrackAnalyzer.h.

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

std::string LhcTrackAnalyzer::filename_
private

Definition at line 73 of file LhcTrackAnalyzer.h.

Referenced by beginJob(), and LhcTrackAnalyzer().

bool LhcTrackAnalyzer::goodbx_
private

Definition at line 101 of file LhcTrackAnalyzer.h.

Referenced by analyze(), and beginJob().

bool LhcTrackAnalyzer::goodvtx_
private

Definition at line 102 of file LhcTrackAnalyzer.h.

Referenced by analyze(), and beginJob().

int LhcTrackAnalyzer::isHighPurity_[nMaxtracks_]
private

Definition at line 99 of file LhcTrackAnalyzer.h.

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

const int LhcTrackAnalyzer::nMaxtracks_ = 3000
staticprivate

Definition at line 81 of file LhcTrackAnalyzer.h.

Referenced by analyze(), and SetVarToZero().

int LhcTrackAnalyzer::nTracks_
private

Definition at line 82 of file LhcTrackAnalyzer.h.

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

double LhcTrackAnalyzer::phi_[nMaxtracks_]
private

Definition at line 87 of file LhcTrackAnalyzer.h.

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

double LhcTrackAnalyzer::pt_[nMaxtracks_]
private

Definition at line 85 of file LhcTrackAnalyzer.h.

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

edm::InputTag LhcTrackAnalyzer::PVtxCollectionTag_
private

Definition at line 69 of file LhcTrackAnalyzer.h.

Referenced by analyze(), and LhcTrackAnalyzer().

double LhcTrackAnalyzer::qoverp_[nMaxtracks_]
private

Definition at line 91 of file LhcTrackAnalyzer.h.

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

TFile* LhcTrackAnalyzer::rootFile_
private

Definition at line 74 of file LhcTrackAnalyzer.h.

Referenced by beginJob(), and endJob().

TTree* LhcTrackAnalyzer::rootTree_
private

Definition at line 75 of file LhcTrackAnalyzer.h.

Referenced by analyze(), and beginJob().

int LhcTrackAnalyzer::run_
private

Definition at line 83 of file LhcTrackAnalyzer.h.

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

edm::InputTag LhcTrackAnalyzer::TrackCollectionTag_
private

Definition at line 68 of file LhcTrackAnalyzer.h.

Referenced by analyze(), and LhcTrackAnalyzer().

int LhcTrackAnalyzer::trkAlgo_[nMaxtracks_]
private

Definition at line 97 of file LhcTrackAnalyzer.h.

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

int LhcTrackAnalyzer::trkQuality_[nMaxtracks_]
private

Definition at line 98 of file LhcTrackAnalyzer.h.

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

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

Definition at line 100 of file LhcTrackAnalyzer.h.

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

double LhcTrackAnalyzer::xPCA_[nMaxtracks_]
private

Definition at line 94 of file LhcTrackAnalyzer.h.

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

double LhcTrackAnalyzer::yPCA_[nMaxtracks_]
private

Definition at line 95 of file LhcTrackAnalyzer.h.

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

double LhcTrackAnalyzer::zPCA_[nMaxtracks_]
private

Definition at line 96 of file LhcTrackAnalyzer.h.

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