BmnRoot
Loading...
Searching...
No Matches
CbmStsIdealDigitize.h
Go to the documentation of this file.
1//* $Id: */
2
3// -------------------------------------------------------------------------
4// ----- CbmStsDigitize header file -----
5// ----- Created 30/08/06 by V. Friese -----
6// -------------------------------------------------------------------------
7
8
20#ifndef CBMSTSIDEALDIGITIZE_H
21#define CBMSTSIDEALDIGITIZE_H 1
22
23#include "FairTask.h"
24
25#include "TStopwatch.h"
26
27#include <list>
28#include <map>
29
30class TClonesArray;
31class CbmGeoStsPar;
32class CbmStsDigiPar;
34class CbmStsStation;
35
36
37
38class CbmStsIdealDigitize : public FairTask
39{
40
41 public:
42
45
46
48 CbmStsIdealDigitize(Int_t iVerbose);
49
50
52 CbmStsIdealDigitize(const char* name, Int_t iVerbose);
53
54
56 virtual ~CbmStsIdealDigitize();
57
58
60 virtual void Exec(Option_t* opt);
61
62
63
64 private:
65
66 CbmGeoStsPar* fGeoPar;
67 CbmStsDigiPar* fDigiPar;
68 CbmStsDigiScheme* fDigiScheme;
69 TClonesArray* fPoints;
70 TClonesArray* fDigis;
71 TClonesArray* fDigiMatches;
72 Int_t fNPoints;
73 Int_t fNFailed;
74 Int_t fNOutside;
75 Int_t fNMulti;
76 Int_t fNDigis;
77 TStopwatch fTimer;
78
81 std::map<std::pair<Int_t, Int_t>, Int_t> fChannelMap;
82
83
85 virtual void SetParContainers();
86
87
89 virtual InitStatus Init();
90
91
93 virtual InitStatus ReInit();
94
95
97 void Reset();
98
101
102
103 ClassDef(CbmStsIdealDigitize,1);
104
105};
106
107#endif
108
109
virtual void Exec(Option_t *opt)