BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
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
25
class
TClonesArray
;
26
class
CbmGeoStsPar
;
27
class
CbmStsDigiPar
;
28
class
CbmStsDigiScheme
;
29
class
CbmStsDigiMatch
;
30
class
CbmStsHit
;
31
32
class
CbmStsIdealMatchHits
:
public
FairTask
33
{
34
35
public
:
36
/** Default constructor **/
37
CbmStsIdealMatchHits
();
38
39
/** Standard constructor **/
40
CbmStsIdealMatchHits
(
Int_t
iVerbose);
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
85
CbmStsIdealMatchHits
(
const
CbmStsIdealMatchHits
&);
86
CbmStsIdealMatchHits
operator=
(
const
CbmStsIdealMatchHits
&);
87
88
ClassDef
(
CbmStsIdealMatchHits
, 1);
89
};
90
91
#endif
Int_t
int Int_t
Double_t
double Double_t
Option_t
const char Option_t
ClassDef
#define ClassDef(name, id)
TStopwatch.h
CbmGeoStsPar
Definition
CbmGeoStsPar.h:8
CbmStsDigiMatch
CbmStsDigiMatch.h.
Definition
CbmStsDigiMatch.h:27
CbmStsDigiPar
Definition
CbmStsDigiPar.h:31
CbmStsDigiScheme
Definition
CbmStsDigiScheme.h:36
CbmStsHit
Definition
CbmStsHit.h:27
CbmStsIdealMatchHits::Finish
virtual void Finish()
Run summary.
Definition
CbmStsIdealMatchHits.cxx:443
CbmStsIdealMatchHits::fDigiScheme
CbmStsDigiScheme * fDigiScheme
Digitisation parameter container.
Definition
CbmStsIdealMatchHits.h:67
CbmStsIdealMatchHits::fPoints
TClonesArray * fPoints
Digitisation scheme.
Definition
CbmStsIdealMatchHits.h:68
CbmStsIdealMatchHits::fCandMap
std::map< Double_t, Int_t > fCandMap
Total number of background hits.
Definition
CbmStsIdealMatchHits.h:82
CbmStsIdealMatchHits::Exec
virtual void Exec(Option_t *opt)
Execution.
Definition
CbmStsIdealMatchHits.cxx:126
CbmStsIdealMatchHits::fDigiMatches
TClonesArray * fDigiMatches
Array of CbmStsDigi.
Definition
CbmStsIdealMatchHits.h:70
CbmStsIdealMatchHits::fTimer
TStopwatch fTimer
Array of CbmStsHit.
Definition
CbmStsIdealMatchHits.h:72
CbmStsIdealMatchHits::~CbmStsIdealMatchHits
virtual ~CbmStsIdealMatchHits()
Destructor.
Definition
CbmStsIdealMatchHits.cxx:114
CbmStsIdealMatchHits::operator=
CbmStsIdealMatchHits operator=(const CbmStsIdealMatchHits &)
CbmStsIdealMatchHits::fNEvents
Int_t fNEvents
Timer.
Definition
CbmStsIdealMatchHits.h:73
CbmStsIdealMatchHits::SetParContainers
virtual void SetParContainers()
Get parameter containers.
Definition
CbmStsIdealMatchHits.cxx:360
CbmStsIdealMatchHits::fNBackgrd
Double_t fNBackgrd
Total number of displaced hits.
Definition
CbmStsIdealMatchHits.h:79
CbmStsIdealMatchHits::fDigiPar
CbmStsDigiPar * fDigiPar
Geometry parameter container.
Definition
CbmStsIdealMatchHits.h:66
CbmStsIdealMatchHits::fTime
Double_t fTime
Number of events with failure.
Definition
CbmStsIdealMatchHits.h:75
CbmStsIdealMatchHits::fGeoPar
CbmGeoStsPar * fGeoPar
Definition
CbmStsIdealMatchHits.h:65
CbmStsIdealMatchHits::ReInit
virtual InitStatus ReInit()
Reinitialisation.
Definition
CbmStsIdealMatchHits.cxx:428
CbmStsIdealMatchHits::fDigis
TClonesArray * fDigis
Array of CbmStsPoint.
Definition
CbmStsIdealMatchHits.h:69
CbmStsIdealMatchHits::fNEventsFailed
Int_t fNEventsFailed
Number of events with success.
Definition
CbmStsIdealMatchHits.h:74
CbmStsIdealMatchHits::fIter
std::map< Double_t, Int_t >::iterator fIter
Definition
CbmStsIdealMatchHits.h:83
CbmStsIdealMatchHits::fHits
TClonesArray * fHits
Array of CbmStsDigiMatch.
Definition
CbmStsIdealMatchHits.h:71
CbmStsIdealMatchHits::CbmStsIdealMatchHits
CbmStsIdealMatchHits()
Default constructor.
Definition
CbmStsIdealMatchHits.cxx:39
CbmStsIdealMatchHits::CbmStsIdealMatchHits
CbmStsIdealMatchHits(const CbmStsIdealMatchHits &)
CbmStsIdealMatchHits::Init
virtual InitStatus Init()
Intialisation.
Definition
CbmStsIdealMatchHits.cxx:378
CbmStsIdealMatchHits::fNMatched
Double_t fNMatched
Total number of hits.
Definition
CbmStsIdealMatchHits.h:77
CbmStsIdealMatchHits::fNHits
Double_t fNHits
Total real time used for good events.
Definition
CbmStsIdealMatchHits.h:76
CbmStsIdealMatchHits::fNDistant
Double_t fNDistant
Total number of matched hits.
Definition
CbmStsIdealMatchHits.h:78
FairTask
TClonesArray
TStopwatch
detectors
sts
CbmStsIdealMatchHits.h
Generated on
for BmnRoot by
1.17.0