diff --git a/Sim/GaussCherenkov/GaussCherenkov/CkvG4Hit.h b/Sim/GaussCherenkov/GaussCherenkov/CkvG4Hit.h index 2afaa7f80ef197a5af50a06c577a25b8cd015617..43171c5817b9edabfb8b94dddbdcd92bd86d0aca 100644 --- a/Sim/GaussCherenkov/GaussCherenkov/CkvG4Hit.h +++ b/Sim/GaussCherenkov/GaussCherenkov/CkvG4Hit.h @@ -96,8 +96,6 @@ private: G4double m_RichChTrackMass; ///< PDG mass of the Mother of the optical photon. // Only with RichVerboseTag mode - G4double m_TrackStartTime; - G4ThreeVector m_ChTrackCkvPreStepPos; ///< Prestep position of charged track during cherenkov step. // Only with RichVerboseTag mode @@ -299,12 +297,6 @@ public: inline G4double RichHitGlobalTime() const { return m_RichHitGlobalTime; } - inline void SetTrackStartTime(const G4double aTrackStartTime ) - { m_TrackStartTime= aTrackStartTime; } - - inline G4double TrackStartTime() const - { return m_TrackStartTime; } - inline void SetRichChTrackMass (const G4double aRichTrackMass ) { m_RichChTrackMass=aRichTrackMass; } diff --git a/Sim/GaussCherenkov/src/CherenkovAnalysis/CherenkovG4HistoHitTime.cpp b/Sim/GaussCherenkov/src/CherenkovAnalysis/CherenkovG4HistoHitTime.cpp index 3e34247998385b70299c8c30d7f0c33e5a2fc4e3..db7a6ce04720293a0ca1cad829872ac2dfcbf95f 100644 --- a/Sim/GaussCherenkov/src/CherenkovAnalysis/CherenkovG4HistoHitTime.cpp +++ b/Sim/GaussCherenkov/src/CherenkovAnalysis/CherenkovG4HistoHitTime.cpp @@ -191,7 +191,6 @@ void CherenkovG4HistoHitTime::FillG4NtupHitTime(const G4Event* anEvent, int Num } - aHit -> SetTrackStartTime( aTrackStartTime ); m_aChOriginTime = aTrackStartTime; m_aChPartTotMom = aHit -> ChTrackTotMom() ; diff --git a/Sim/GaussCherenkov/src/SensDet/CkvG4Hit.cpp b/Sim/GaussCherenkov/src/SensDet/CkvG4Hit.cpp index c3aeeae17b24cfe57c9e8ff8f49a5d12ea743ee5..96404815db53582f580307cefdfba9f73e2e94d2 100644 --- a/Sim/GaussCherenkov/src/SensDet/CkvG4Hit.cpp +++ b/Sim/GaussCherenkov/src/SensDet/CkvG4Hit.cpp @@ -211,9 +211,6 @@ void CkvG4Hit::Print() G4cout<<"RichHit Global Time = " <<m_RichHitGlobalTime<<G4endl; - G4cout<<"Track Start Time = " - <<m_TrackStartTime<<G4endl; - G4cout<<" RichG4Hit Verbose Hit Output Flag: " << m_RichVerboseHitInfo<<G4endl; diff --git a/Sim/GaussCherenkov/src/SensDet/GetMCCkvHitsAlg.cpp b/Sim/GaussCherenkov/src/SensDet/GetMCCkvHitsAlg.cpp index f2bb3cf66ca11a0c98e51975519641bbc9ed4a10..b1c7a270a27a78d0ee73be169a442583a0e2af06 100755 --- a/Sim/GaussCherenkov/src/SensDet/GetMCCkvHitsAlg.cpp +++ b/Sim/GaussCherenkov/src/SensDet/GetMCCkvHitsAlg.cpp @@ -271,17 +271,8 @@ StatusCode GetMCCkvHitsAlg::execute() LHCb::RichSmartID detID = assembleMCPmtRichSmartID(g4hit,isGrandPmtHitFlag); - // Set hit time and track time in smartID - detID.setTime( detID.floatNADC<16>( g4hit->RichHitGlobalTime(),0.,100. ) ); - detID.setTrackTime( detID.floatNADC<16>( g4hit->TrackStartTime(),-10.,60. ) ); - - // info() << "G4 Time " << g4hit->RichHitGlobalTime() - // << "\t ADC Time " << detID.floatNADC<16>( g4hit->RichHitGlobalTime(),0.,100. ) - // << "\t Recovered Time " << detID.ADCNfloat<16>( detID.time(),0.,100. ) - // << "\n G4 TrackStartTime " << g4hit->TrackStartTime() - // << "\t ADC Track Time " << detID.floatNADC<16>( g4hit->TrackStartTime(),-10.,60. ) - // << "\t Recovered Track Time " << detID.ADCNfloat<16>( detID.trackTime(),-10.,60. ) - // << endmsg; + // Set hit time in smartID + detID.setTime( detID.floatNADC<16>( g4hit->RichHitGlobalTime(),0.,100. ) ); if ( !detID.isValid() ) {