er  dev
ERN15B11Digitizer.h
1 /********************************************************************************
2  * Copyright (C) Joint Institute for Nuclear Research *
3  * *
4  * This software is distributed under the terms of the *
5  * GNU Lesser General Public Licence version 3 (LGPL) version 3, *
6  * copied verbatim in the file "LICENSE" *
7  ********************************************************************************/
8 
15 #ifndef ERN15B11Digitizer_H
16 #define ERN15B11Digitizer_H
17 
18 #include <map>
19 
20 #include "FairTask.h" // mother class
21 
22 class TClonesArray;
23 
24 class ERN15B11Digitizer : public FairTask
25 {
26 public:
29 
31  virtual ~ERN15B11Digitizer();
32 
33  virtual InitStatus Init();
34 
35  virtual void Exec(Option_t* option = "");
36 
37  virtual void FinishEvent();
38 
39 protected:
40 
41  // Input
42  std::map<TString,TClonesArray*> fPoints;
43 
44  // Output
45  std::map<TString,TClonesArray*> fDigis;
46 
47 private:
53  void AddOutputDigi(TClonesArray& clref, Double_t Edep = 0., Double_t Time = 0.);
54 
55  ClassDef(ERN15B11Digitizer, 1);
56 };
57 
58 #endif // ERN15B11Digitizer_H
Class for the detectors response simulate.
ERN15B11Digitizer()
Default constructor.
void AddOutputDigi(TClonesArray &clref, Double_t Edep=0., Double_t Time=0.)
Write data to output file.
virtual ~ERN15B11Digitizer()
Destructor.