BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
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/** CbmStsIdealMatchHits
9 *@author Volker Friese <v.friese@gsi.de>
10 *@since 27.11.06
11 **
12 ** CBM task class for matching StsHit with StsPoint.
13 ** Task level RECO
14 ** Sets the reference index of CbmStsHit.
15 **/
16
17#ifndef CBMSTSIDEALMATCHHIT_H
18#define CBMSTSIDEALMATCHHIT_H 1
19
20#include "FairTask.h"
21#include "TStopwatch.h"
22
23#include <map>
24
25class TClonesArray;
26class CbmGeoStsPar;
27class CbmStsDigiPar;
29class CbmStsDigiMatch;
30class CbmStsHit;
31
33{
34
35 public:
36 /** Default constructor **/
38
39 /** Standard constructor **/
41
42 /** Constructor with name **/
43 CbmStsIdealMatchHits(const char* name, Int_t iVerbose);
44
45 /** Destructor **/
46 virtual ~CbmStsIdealMatchHits();
47
48 /** Execution **/
49 virtual void Exec(Option_t* opt);
50
51 private:
52 /** Get parameter containers **/
53 virtual void SetParContainers();
54
55 /** Intialisation **/
56 virtual InitStatus Init();
57
58 /** Reinitialisation **/
59 virtual InitStatus ReInit();
60
61 /** Run summary **/
62 virtual void Finish();
63
64 // ----- Data members ----------
65 CbmGeoStsPar* fGeoPar; /** Geometry parameter container **/
66 CbmStsDigiPar* fDigiPar; /** Digitisation parameter container **/
67 CbmStsDigiScheme* fDigiScheme; /** Digitisation scheme **/
68 TClonesArray* fPoints; /** Array of CbmStsPoint **/
69 TClonesArray* fDigis; /** Array of CbmStsDigi **/
70 TClonesArray* fDigiMatches; /** Array of CbmStsDigiMatch **/
71 TClonesArray* fHits; /** Array of CbmStsHit **/
72 TStopwatch fTimer; /** Timer **/
73 Int_t fNEvents; /** Number of events with success **/
74 Int_t fNEventsFailed; /** Number of events with failure **/
75 Double_t fTime; /** Total real time used for good events **/
76 Double_t fNHits; /** Total number of hits **/
77 Double_t fNMatched; /** Total number of matched hits **/
78 Double_t fNDistant; /** Total number of displaced hits **/
79 Double_t fNBackgrd; /** Total number of background hits **/
80
81 /** Map from candidate point to distance to hit **/
82 std::map<Double_t, Int_t> fCandMap; //!
83 std::map<Double_t, Int_t>::iterator fIter; //!
84
87
89};
90
91#endif
int Int_t
double Double_t
const char Option_t
#define ClassDef(name, id)
CbmStsDigiMatch.h.
virtual void Finish()
Run summary.
CbmStsDigiScheme * fDigiScheme
Digitisation parameter container.
TClonesArray * fPoints
Digitisation scheme.
std::map< Double_t, Int_t > fCandMap
Total number of background hits.
virtual void Exec(Option_t *opt)
Execution.
TClonesArray * fDigiMatches
Array of CbmStsDigi.
TStopwatch fTimer
Array of CbmStsHit.
virtual ~CbmStsIdealMatchHits()
Destructor.
CbmStsIdealMatchHits operator=(const CbmStsIdealMatchHits &)
virtual void SetParContainers()
Get parameter containers.
Double_t fNBackgrd
Total number of displaced hits.
CbmStsDigiPar * fDigiPar
Geometry parameter container.
Double_t fTime
Number of events with failure.
virtual InitStatus ReInit()
Reinitialisation.
TClonesArray * fDigis
Array of CbmStsPoint.
Int_t fNEventsFailed
Number of events with success.
std::map< Double_t, Int_t >::iterator fIter
TClonesArray * fHits
Array of CbmStsDigiMatch.
CbmStsIdealMatchHits()
Default constructor.
CbmStsIdealMatchHits(const CbmStsIdealMatchHits &)
virtual InitStatus Init()
Intialisation.
Double_t fNMatched
Total number of hits.
Double_t fNHits
Total real time used for good events.
Double_t fNDistant
Total number of matched hits.