Changeset 23 in Idarraga
- Timestamp:
- Dec 23, 2010, 4:04:58 PM (13 years ago)
- Location:
- SLHCTrackAnalysis
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
SLHCTrackAnalysis/SLHCTrackAnalysis/SLHCTrackAnalysis.h
r21 r23 73 73 // In single particle mode, pdgId of the single particule to study 74 74 int m_pdgIdRootParticle; 75 bool m_doTruth; 75 76 76 77 int m_nt_nTracks; -
SLHCTrackAnalysis/src/SLHCTrackAnalysis.cxx
r22 r23 12 12 m_truthToTrack("Trk::TruthToTrack"), 13 13 m_pdgIdRootParticle(15), // tau by default // test svn 14 m_doTruth(true), 14 15 m_maxTrackEta(2.5), 15 16 m_minTrackEta(0.0) … … 22 23 declareProperty("SiClusterContKey", m_SiClusterContKey="PixelClusters"); 23 24 declareProperty("pdgIdRootParticle", m_pdgIdRootParticle=15); 25 declareProperty("doTruth", m_doTruth=true); 24 26 25 27 } … … 77 79 ///////////////////////// 78 80 // Truth 79 if( Truth() != StatusCode::SUCCESS ){ 81 82 if( m_doTruth && Truth() != StatusCode::SUCCESS ){ 80 83 log << MSG::ERROR << "SLHCTrackAnalysis::Truth()" << endreq; 81 84 return StatusCode::FAILURE; 82 85 } 83 84 86 // fill and rewind 85 87 m_nt_T->Fill();
Note: See TracChangeset
for help on using the changeset viewer.