Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
srcs
larsim
larsim
PhotonPropagation
ScintTimeTools
ScintTime.h
Go to the documentation of this file.
1
////////////////////////////////////////////////////////////////////////
2
// Class: ScintTime
3
// Plugin Type: tool
4
// File: ScintTime_tool.cc ScintTime.h
5
// Description:
6
// Oct. 8 by Mu Wei
7
////////////////////////////////////////////////////////////////////////
8
#ifndef ScintTime_H
9
#define ScintTime_H
10
11
namespace
CLHEP {
12
class
HepRandomEngine;
13
}
14
15
namespace
phot
16
{
17
class
ScintTime
18
{
19
public
:
20
virtual
~ScintTime
() =
default
;
21
22
virtual
void
GenScintTime
(
bool
is_fast, CLHEP::HepRandomEngine& engine) = 0;
23
double
GetScintTime
()
const
{
return
timing
;}
24
25
protected
:
26
// FIXME: This should be private, with a protected setter.
27
// 2022-04-10 CHG
28
double
timing
{ 0.0 };
29
};
30
}
31
32
#endif
phot::ScintTime::GenScintTime
virtual void GenScintTime(bool is_fast, CLHEP::HepRandomEngine &engine)=0
phot::ScintTime
Definition:
ScintTime.h:17
phot::ScintTime::~ScintTime
virtual ~ScintTime()=default
phot::ScintTime::GetScintTime
double GetScintTime() const
Definition:
ScintTime.h:23
phot::ScintTime::timing
double timing
Definition:
ScintTime.h:28
Generated by
1.8.5