| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

G4DhHitCollector.h

Go to the documentation of this file.
00001 /*
00002  * G4DhHitCollector - collect SimHits in a generic manner.
00003  * 
00004  * This class lets disparate detector simulations (DetSim & SimuAlg)
00005  * collect SimHits in a like manner.  I can either be used from inside
00006  * a sensitive detector, or from a FastSim model.  
00007  *
00008  * Each time a hit is processed, the caller must supply the
00009  * DetectorSensor (detector + PMT/RPC ID).
00010  *
00011  * NOTE: there is no way to assure that the sensor ID number scheme is
00012  * shared between all simulations!
00013  *
00014  * 2008/3/11 bv@bnl.gov
00015  */
00016 
00017 #ifndef G4DHHITCOLLECTOR_H
00018 #define G4DHHITCOLLECTOR_H
00019 
00020 #include "Conventions/Detectors.h"
00021 
00022 class G4HCofThisEvent;
00023 class G4Step;
00024 class G4TouchableHistory;
00025 class G4FastTrack;
00026 class G4FastStep;
00027 
00028 class G4DhHitCollector {
00029 public:
00030     G4DhHitCollector();
00031 
00033     void Intialize(G4HCofThisEvent* hce);
00034 
00037     void ProcessHits(G4Step* step, G4TouchableHistory* hist,
00038                      DayaBay::DetectorSensor sensor);
00039 
00042     void ProcessHits(const G4FastTrack& fastTrack, G4FastStep& fastStep,
00043                      DayaBay::DetectorSensor sensor);
00044 
00045 private:
00046 
00047 };
00048 
00049 
00050 #endif  // G4DHHITCOLLECTOR_H
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:32:08 2011 for G4DataHelpers by doxygen 1.4.7