Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:14:55

0001 //==========================================================================
0002 //  AIDA Detector description implementation 
0003 //--------------------------------------------------------------------------
0004 // Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
0005 // All rights reserved.
0006 //
0007 // For the licensing terms see $DD4hepINSTALL/LICENSE.
0008 // For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
0009 //
0010 // Author     : M.Frank
0011 //
0012 //==========================================================================
0013 
0014 /// Framework include files
0015 #include "MyTrackerHit.h"
0016 #include "G4Track.hh"
0017 
0018 using namespace SomeExperiment;
0019 
0020 /// Assignment operator
0021 void MyTrackerHit::copyFrom(const MyTrackerHit& c)  {
0022   if ( &c != this )  {
0023     this->dd4hep::sim::Geant4Tracker::Hit::copyFrom(c);
0024     this->step_length = c.step_length;
0025     this->postPos = c.postPos;
0026     this->prePos = c.prePos;
0027   }
0028 }