BmnRoot
Loading...
Searching...
No Matches
CbmStsIdealMatchHits.h
Go to the documentation of this file.
1//* $Id: */
2
3// -------------------------------------------------------------------------
4// ----- CbmStsIdealMatchHits header file -----
5// ----- Created 27/11/06 by V. Friese -----
6// -------------------------------------------------------------------------
7
8
19#ifndef CBMSTSIDEALMATCHHIT_H
20#define CBMSTSIDEALMATCHHIT_H 1
21
22#include "FairTask.h"
23
24#include "TStopwatch.h"
25
26#include <map>
27
28class TClonesArray;
29class CbmGeoStsPar;
30class CbmStsDigiPar;
32class CbmStsDigiMatch;
33class CbmStsHit;
34
35
36
37class CbmStsIdealMatchHits : public FairTask
38{
39
40 public:
41
44
45
47 CbmStsIdealMatchHits(Int_t iVerbose);
48
49
51 CbmStsIdealMatchHits(const char* name, Int_t iVerbose);
52
53
55 virtual ~CbmStsIdealMatchHits();
56
57
59 virtual void Exec(Option_t* opt);
60
61
62
63 private:
64
66 virtual void SetParContainers();
67
68
70 virtual InitStatus Init();
71
72
74 virtual InitStatus ReInit();
75
76
78 virtual void Finish();
79
80
81 // ----- Data members ----------
82 CbmGeoStsPar* fGeoPar;
83 CbmStsDigiPar* fDigiPar;
84 CbmStsDigiScheme* fDigiScheme;
85 TClonesArray* fPoints;
86 TClonesArray* fDigis;
87 TClonesArray* fDigiMatches;
88 TClonesArray* fHits;
89 TStopwatch fTimer;
90 Int_t fNEvents;
91 Int_t fNEventsFailed;
92 Double_t fTime;
93 Double_t fNHits;
94 Double_t fNMatched;
95 Double_t fNDistant;
96 Double_t fNBackgrd;
99 std::map<Double_t, Int_t> fCandMap;
100 std::map<Double_t, Int_t>::iterator fIter;
101
104
105 ClassDef(CbmStsIdealMatchHits,1);
106
107};
108
109#endif
110
virtual void Exec(Option_t *opt)