Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
garsoft
ReadoutSimulation
SiPMReadoutSimAlg.h
Go to the documentation of this file.
1
//
2
// ECALReadoutSimAlg.h
3
//
4
// Created by Eldwan Brianne on 8/27/18.
5
//
6
7
#ifndef GAR_READOUTSIMULATION_SiPMReadoutSimAlg_hpp
8
#define GAR_READOUTSIMULATION_SiPMReadoutSimAlg_hpp
9
10
#include "
SimulationDataProducts/CaloDeposit.h
"
11
#include "
RawDataProducts/CaloRawDigit.h
"
12
13
#include "DetectorInfo/DetectorProperties.h"
14
#include "Geometry/GeometryCore.h"
15
16
#include <map>
17
18
#include "CLHEP/Random/RandGauss.h"
19
20
namespace
fhicl
{
21
class
ParameterSet;
22
}
23
24
namespace
gar
{
25
26
namespace
rosim {
27
28
class
SiPMReadoutSimAlg
{
29
30
public
:
31
32
SiPMReadoutSimAlg
(CLHEP::HepRandomEngine& engine,
fhicl::ParameterSet
const
& pset);
33
34
virtual
~
SiPMReadoutSimAlg
();
35
36
virtual
void
reconfigure
(
fhicl::ParameterSet
const
& pset) = 0;
37
38
virtual
void
PrepareAlgo(
const
std::vector
<
art::Ptr<sdp::CaloDeposit>
> &hitVector) = 0;
39
40
virtual
void
DoDigitization() = 0;
41
42
virtual
std::vector< raw::CaloRawDigit* > GetDigitizedHits()
const
= 0;
43
44
protected
:
45
46
CLHEP::HepRandomEngine&
fEngine
;
///< random number engine
47
bool
fAddNoise
;
///< flag to add noise or not
48
bool
fSaturation
;
///< flag for sipm saturation or not
49
bool
fTimeSmearing
;
///< flag for time smearing or not
50
51
const
detinfo::DetectorProperties
*
fDetProp
;
///< detector properties
52
gar::geo::GeometryCore
const
*
fGeo
;
///< geometry information
53
54
};
55
56
}
// end rosim
57
58
}
// end gar
59
60
61
#endif
/* GAR_READOUTSIMULATION_SiPMReadoutSimAlg_hpp */
gar::rosim::SiPMReadoutSimAlg::fSaturation
bool fSaturation
flag for sipm saturation or not
Definition:
SiPMReadoutSimAlg.h:48
vector
struct vector vector
gar::rosim::SiPMReadoutSimAlg::fEngine
CLHEP::HepRandomEngine & fEngine
random number engine
Definition:
SiPMReadoutSimAlg.h:46
gar::geo::GeometryCore
Description of geometry of one entire detector.
Definition:
GeometryCore.h:436
gar::rosim::SiPMReadoutSimAlg::fDetProp
const detinfo::DetectorProperties * fDetProp
detector properties
Definition:
SiPMReadoutSimAlg.h:51
gar::rosim::SiPMReadoutSimAlg::fAddNoise
bool fAddNoise
flag to add noise or not
Definition:
SiPMReadoutSimAlg.h:47
gar::detinfo::DetectorProperties
Definition:
DetectorProperties.h:22
RunHistoryService::reconfigure
virtual void reconfigure(fhicl::ParameterSet const &pset)
fhicl
Definition:
InputSourceFactory.h:7
CaloRawDigit.h
Definition of basic calo raw digits.
gar
General GArSoft Utilities.
Definition:
anatest_module.cc:57
gar::rosim::SiPMReadoutSimAlg
Definition:
SiPMReadoutSimAlg.h:28
CaloDeposit.h
gar::rosim::SiPMReadoutSimAlg::fTimeSmearing
bool fTimeSmearing
flag for time smearing or not
Definition:
SiPMReadoutSimAlg.h:49
art::Ptr
Definition:
fwd.h:31
gar::rosim::SiPMReadoutSimAlg::fGeo
gar::geo::GeometryCore const * fGeo
geometry information
Definition:
SiPMReadoutSimAlg.h:52
fhicl::ParameterSet
Definition:
ParameterSet.h:36
Generated by
1.8.11