BmnRoot
Loading...
Searching...
No Matches
CbmStsMatchTracks.h
Go to the documentation of this file.
1// -------------------------------------------------------------------------
2// ----- CbmStsMatchTracks header file -----
3// ----- Created 22/11/05 by V. Friese -----
4// -------------------------------------------------------------------------
5
15#ifndef CBMSTSMATCHTRACKS_H
16#define CBMSTSMATCHTRACKS_H 1
17
18#include "FairTask.h"
19
20#include "TStopwatch.h"
21
22#include <map>
23
24class TClonesArray;
25
26
27class CbmStsMatchTracks : public FairTask
28{
29 public:
32
37 CbmStsMatchTracks(Int_t iVerbose );
38
39
45 CbmStsMatchTracks(const char* name, Int_t verbose );
46
47
49 virtual ~CbmStsMatchTracks();
50
51
53 virtual InitStatus Init();
54
55
57 virtual void Exec(Option_t* opt);
58
59
61 virtual void Finish();
62
63 private:
64 TClonesArray* fTracks; // Array of CbmStsTracks
65 TClonesArray* fPoints; // Array of CbmStsPoints
66 TClonesArray* fPointsSi; // Array of BmnSiliconPoints-AZ-280322
67 TClonesArray* fHits; // Array of CbmStsHits
68 TClonesArray* fMatches; // Array of CbmStsTrackMatch
69 TStopwatch fTimer; // Timer
70
72 std::map<Int_t, Int_t> fMatchMap;
73
74 Int_t fNEvents;
75 Int_t fNEventsFailed;
76 Double_t fTime;
77 Double_t fNTrackMatches;
78 Double_t fNAllHits;
79 Double_t fNTrueHits;
82 CbmStsMatchTracks operator=(const CbmStsMatchTracks&);
83
84 ClassDef(CbmStsMatchTracks,1);
85};
86
87#endif
virtual void Exec(Option_t *opt)
virtual InitStatus Init()