FairRoot/PandaRoot
PndEmcTmpWaveformToDigi.h
Go to the documentation of this file.
1 //----------------------------------------------------------------------
2 // File and Version Information:
3 // $Id: Exp $
4 //
5 // Description:
6 // Class PndEmcTmpWaveformToDigi. Module to take the hit list for the
7 // calorimeter and make ADC waveforms from them.
8 //
9 // Software developed for the BaBar Detector at the SLAC B-Factory.
10 // Adapted for the PANDA experiment at GSI
11 //
12 // Author List:
13 // Phil Strother Original Author
14 // Dima Melnichuk - adaption for PANDA
15 //
16 // Copyright Information:
17 // Copyright (C) 1996 Imperial College
18 //
19 //----------------------------------------------------------------------
20 #pragma once
21 #ifndef PndEmcTmpWaveformToDigi_H
22 #define PndEmcTmpWaveformToDigi_H
23 
24 #include <PndPersistencyTask.h>
25 #include <string>
26 //#include <vector>
27 
28 class PndEmcHit;
30 class PndEmcWaveform;
31 
32 class TClonesArray;
33 class PndEmcDigiPar;
34 class PndEmcRecoPar;
35 
41 {
42 
43 public:
44 
45  // Constructors
46 
47  PndEmcTmpWaveformToDigi(Int_t verbose=0, Bool_t storedigis=kTRUE);
48 
49  // Destructor
50 
51  virtual ~PndEmcTmpWaveformToDigi();
52 
54  virtual InitStatus Init();
55 
56 
58  virtual void Exec(Option_t* opt);
59 
60  void SetStorageOfData(Bool_t val); // Method to specify whether digis are stored or not.
61 
62 private:
63 
65  TClonesArray* fWaveformArray;
66 
68  TClonesArray* fDigiArray;
69 
72 
73  std::string fDigiPosMethod;// "surface" or "depth"
76 
80  virtual void SetParContainers();
81 
83  Int_t fVerbose;
84 
86 
87 
88 };
89 
90 #endif
91 
92 
93 
94 
95 
currently not used, not in CMakeLists.txt
virtual void Exec(Option_t *opt)
Double_t val[nBoxes][nFEBox]
Definition: createCalib.C:11
#define verbose
stores crystal index coordinates (x,y) or (theta,phi)
Double_t
parameter set of Emc digitisation
Definition: PndEmcDigiPar.h:12
represents a simulated waveform in an emc crystal
represents the deposited energy of one emc crystal from simulation
Definition: PndEmcHit.h:26
PndEmcTmpWaveformToDigi(Int_t verbose=0, Bool_t storedigis=kTRUE)
Parameter set for Emc Reco.
Definition: PndEmcRecoPar.h:12
ClassDef(PndEmcTmpWaveformToDigi, 1)