ElectronDriftStandardAlg.h
Go to the documentation of this file.
1 //
2 // ElectronDriftStandardAlg.h
3 //
4 // Default implementation of an electron drift algorithm
5 //
6 // Created by Brian Rebel on 11/18/16.
7 // Copyright © 2016 Brian Rebel. All rights reserved.
8 //
9 
10 #ifndef ElectronDriftStandardAlg_h
11 #define ElectronDriftStandardAlg_h
12 
15 #include "Geometry/GeometryGAr.h"
17 
18 
19 namespace gar {
20 
21  namespace sdp{
22  class EnergyDeposit;
23  }
24 
25  namespace rosim{
26 
28 
29  public:
30 
31  ElectronDriftStandardAlg(CLHEP::HepRandomEngine & engine,
32  fhicl::ParameterSet const& pset);
33  virtual ~ElectronDriftStandardAlg();
34 
35  void DriftElectronsToReadout(gar::sdp::EnergyDeposit const& dep,
36  gar::rosim::ElectronDriftInfo & driftInfo);
37 
38  private:
39 
40  int fElectronsPerCluster; ///< Number of electrons to drift in a cluster
41  size_t fMinClusters; ///< Minimum number of clusters for diffusion integral
42  gar::detinfo::ElecClock fClock; ///< electronics clock
43  const gar::detinfo::DetectorClocks* fTime; ///< electronics clock
44  const gar::geo::GeometryCore* fGeo; ///< Geometry
45 
46  };
47 
48  }
49 } // gar
50 
51 
52 
53 #endif /* ElectronDriftStandardAlg_h */
int fElectronsPerCluster
Number of electrons to drift in a cluster.
Description of geometry of one entire detector.
Definition: GeometryCore.h:436
gar::detinfo::ElecClock fClock
electronics clock
const gar::detinfo::DetectorClocks * fTime
electronics clock
size_t fMinClusters
Minimum number of clusters for diffusion integral.
General GArSoft Utilities.
const gar::geo::GeometryCore * fGeo
Geometry.
art framework interface to geometry description