20 #define HIT_PROCESS_H 1 73 verbosity = gemcOpt.optMap[
"HIT_VERBOSITY"].arg;
74 log_msg =
" > " + HCname +
" Hit Process ";
92 map<string, double> integrateRaw(
MHit*,
int,
bool);
96 map< string, vector <double> > allRaws(
MHit*,
int);
99 virtual map<string, double> integrateDgt(
MHit*,
int) = 0;
102 virtual map< double, double > signalVT(
MHit*) ;
105 virtual map< int, int > quantumS(map< double, double >,
MHit*) ;
108 virtual map< string, vector <int> > multiDgt(
MHit*,
int) = 0;
112 virtual vector<identifier> processID(vector<identifier>, G4Step*,
detector) = 0;
123 inline double DGauss(
double x,
double *par,
double Edep,
double stepTime)
125 double t0 = par[0] + stepTime;
126 double rise = par[1]/3;
127 double fall = par[2]/3;
128 double ampl = Edep*par[3]/2;
130 double peak = t0 + 3*rise;
135 return - ampl*exp(-0.5*pow((x-peak)/rise, 2)) - ampl*exp(-0.5*pow((x-peak)/fall, 2));
virtual void initWithRunNumber(int runno)
void init(string name, goptions go, map< string, double > gp)
set< string > getListOfHitProcessHit(map< string, HitProcess_Factory >)
double DGauss(double x, double *par, double Edep, double stepTime)
HitProcess * getHitProcess(map< string, HitProcess_Factory > *hitProcessMap, string)
map< string, double > gpars