LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
ScintTime.h
Go to the documentation of this file.
1 // Class: ScintTime
3 // Plugin Type: tool
4 // File: ScintTime_tool.cc ScintTime.h
5 // Description:
6 // Oct. 8 by Mu Wei
8 #ifndef ScintTime_H
9 #define ScintTime_H
10 
11 namespace CLHEP {
12  class HepRandomEngine;
13 }
14 
15 namespace phot {
16  class ScintTime {
17  public:
18  virtual ~ScintTime() = default;
19 
20  virtual void initRand(CLHEP::HepRandomEngine& engine) = 0;
21  virtual void GenScintTime(bool is_fast, CLHEP::HepRandomEngine& engine) = 0;
22  double GetScintTime() const { return timing; }
23  virtual double fastScintTime() = 0;
24  virtual double slowScintTime() = 0;
25 
26  protected:
27  // FIXME: This should be private, with a protected setter.
28  // 2022-04-10 CHG
29  double timing{0.0};
30  };
31 }
32 
33 #endif
General LArSoft Utilities.
double GetScintTime() const
Definition: ScintTime.h:22