Skip to content

Commit

Permalink
TRestDetectorHitsToSignalProcess. Removed InitFromConfigFile implemen…
Browse files Browse the repository at this point in the history
…tation so that TRestEventProcess::InitFromConfigFile method is considered.
  • Loading branch information
jgalan committed Jul 12, 2021
1 parent 5cb94bd commit 73f77f3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
4 changes: 0 additions & 4 deletions inc/TRestDetectorHitsToSignalProcess.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,11 @@

class TRestDetectorHitsToSignalProcess : public TRestEventProcess {
private:
#ifndef __CINT__
TRestDetectorHitsEvent* fHitsEvent; //!
TRestDetectorSignalEvent* fSignalEvent; //!

TRestDetectorReadout* fReadout; //!
TRestDetectorGas* fGas; //!
#endif

void InitFromConfigFile();

void Initialize();

Expand Down
11 changes: 0 additions & 11 deletions src/TRestDetectorHitsToSignalProcess.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -212,14 +212,3 @@ void TRestDetectorHitsToSignalProcess::EndProcess() {
// Comment this if you don't want it.
// TRestEventProcess::EndProcess();
}

//______________________________________________________________________________
void TRestDetectorHitsToSignalProcess::InitFromConfigFile() {
fSampling = GetDblParameterWithUnits("sampling");
// returned in REST standard unit: atm
fGasPressure = GetDblParameterWithUnits("gasPressure", -1.);
// convert REST standard unit "V/mm" to "V/cm"
fElectricField = GetDblParameterWithUnits("electricField", -1.);
// DONE : velocity units are implemented with standard unit "mm/us"
fDriftVelocity = GetDblParameterWithUnits("driftVelocity", -1.);
}

0 comments on commit 73f77f3

Please sign in to comment.