FairRoot/PandaRoot
PndEmcFWEndcapTimebasedWaveforms.h
Go to the documentation of this file.
1 //----------------------------------------------------------------------
2 // Author List:
3 // Phil Strother Original author
4 // Dima Melnichuk - adaption for PANDA
5 // Philippp Mahlberg - integrtion in timebased simulation concept
6 //----------------------------------------------------------------------
7 
8 //#pragma once
9 #ifndef PndEmcFWEndcapTimebasedWaveforms_H
10 #define PndEmcFWEndcapTimebasedWaveforms_H
11 
12 #include <PndPersistencyTask.h>
13 
14 class PndEmcMapper;
16 class PndEmcGeoPar;
22 class TClonesArray;
23 
24 #define MULTI
25 
35 {
36 public:
37  // Constructors
38  PndEmcFWEndcapTimebasedWaveforms(Int_t verbose=0, Bool_t storewaves=kFALSE);
39  // Destructor
41 
42  virtual InitStatus Init();
43  virtual void Exec(Option_t* opt);
44 
45  void RunTimebased(Bool_t timebased = kTRUE) { fActivateBuffering = timebased; };
47  void SetStorageOfData(Bool_t storeWaves = kTRUE) {SetPersistency(storeWaves);} ;
48  void StoreDataClass(Bool_t storeData = kTRUE) { fStoreDataClass = storeData; };
49 
50 protected:
52  virtual void SetParContainers();
53 
54 private:
55  // don't allow copying (-Weffc++)
58 
59 private:
60 
62  TClonesArray* fHitArray;
63 
66 
69 
72 
76 
79 
81 };
82 
83 #endif
ClassDef(PndEmcFWEndcapTimebasedWaveforms, 2)
interface for waveform modifiers
void StoreDataClass(Bool_t storeData=kTRUE)
Method to specify whether waveforms are stored or not.
#define verbose
Taks to create waveforms from hits.
void SetPersistency(Bool_t val=kTRUE)
Simulator to create PndEmcMultiWaveform.
Emc geometry mapper.
Definition: PndEmcMapper.h:22
PndEmcFWEndcapDigiPar * fDigiPar
Digitisation parameter container.
void SetExternalSimulator(PndEmcAbsWaveformSimulator *simulator)
Abstract base class for waveform simulator.
PndEmcFWEndcapTimebasedWaveforms & operator=(const PndEmcFWEndcapTimebasedWaveforms &)
parameter set for the FWEndcap variant of waveform simulation
Double_t
virtual void Exec(Option_t *opt)
Runs the task.
pulseshape interface
buffer for waveforms, used by PndEmcFWEndcapTimebasedWaveforms
void SetStorageOfData(Bool_t storeWaves=kTRUE)
PndEmcFWEndcapTimebasedWaveforms(Int_t verbose=0, Bool_t storewaves=kFALSE)
PndEmcGeoPar * fGeoPar
Geometry parameter container.