Skip to content
Snippets Groups Projects

Pass run start time to the digitizers. For STS, start noise simulation at the run start time.

Merged Volker Friese requested to merge v.friese/cbmroot:stsdigi into master
4 files
+ 12
1
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -170,10 +170,17 @@ public:
@@ -170,10 +170,17 @@ public:
void SetProduceNoise(Bool_t choice = kTRUE) { fProduceNoise = choice; }
void SetProduceNoise(Bool_t choice = kTRUE) { fProduceNoise = choice; }
 
/** @brief Set the run start time
 
** @param Run start time [ns]
 
**/
 
void SetRunStartTime(Double_t time) { fRunStartTime = time; }
 
 
protected:
protected:
Bool_t fEventMode; /// Flag for event-by-event mode
Bool_t fEventMode; /// Flag for event-by-event mode
Bool_t fProduceNoise; /// Flag for production of inter-event noise
Bool_t fProduceNoise; /// Flag for production of inter-event noise
Bool_t fCreateMatches; /// Flag for creation of links to MC
Bool_t fCreateMatches; /// Flag for creation of links to MC
 
Double_t fRunStartTime = 0; /// Start time of run [ns]
Int_t fCurrentInput; /// Number of current input
Int_t fCurrentInput; /// Number of current input
Int_t fCurrentEvent; /// Number of current MC event
Int_t fCurrentEvent; /// Number of current MC event
Int_t fCurrentMCEntry; /// Number of current MC entry
Int_t fCurrentMCEntry; /// Number of current MC entry
Loading