CbmRoot
CbmMuchToTrdVectors.h
Go to the documentation of this file.
1
11
#ifndef CBMMUCHTOTRDVECTORS_H_
12
#define CBMMUCHTOTRDVECTORS_H_ 1
13
14
#include "FairTask.h"
15
//#include "FairTrackParam.h"
16
17
#include <map>
18
19
class
CbmMuchTrack
;
20
class
FairTrackParam;
21
class
TClonesArray;
22
//class CbmTrdDigiPar;
23
24
class
CbmMuchToTrdVectors
:
public
FairTask {
25
public
:
27
CbmMuchToTrdVectors
();
28
30
virtual
~CbmMuchToTrdVectors
();
31
33
virtual
InitStatus
Init
();
34
36
virtual
void
Exec
(Option_t* opt);
37
39
virtual
void
Finish
();
40
42
virtual
void
SetParContainers
();
43
45
Int_t
GetNofTracks
() {
return
fNofTracks
; };
46
47
private
:
48
// Some constants
49
50
private
:
51
//CbmTrdDigiPar *fDigiPar; // digi params
52
TClonesArray*
fTrackArray
;
// Output array of CbmMuchVectors
53
Int_t
fNofTracks
;
// Number of tracks created
54
TClonesArray*
fMuchTracks
;
// Input array of CbmMuchTrack
55
TClonesArray*
fTrdTracks
;
// Input array of CbmMuchTrack
56
TClonesArray*
fDigiMatches
;
// Input array of
57
Double_t
fZ0
;
// Z-position of the TRD first layer
58
std::multimap<Double_t, Int_t>
fXmap
;
// track indices vs X-coord.
59
60
void
GetMuchVectors
();
// get MUCH vectors
61
void
MergeVectors
();
// merge vectors
62
void
AddTrack
(
CbmMuchTrack
* tr1,
63
CbmMuchTrack
* tr2,
64
Int_t indx1,
65
Int_t indx2,
66
FairTrackParam& parOk,
67
Double_t c2);
// add track
68
void
RemoveClones
();
// remove clones
69
70
CbmMuchToTrdVectors
(
const
CbmMuchToTrdVectors
&);
71
CbmMuchToTrdVectors
&
operator=
(
const
CbmMuchToTrdVectors
&);
72
73
ClassDef(
CbmMuchToTrdVectors
, 0)
74
};
75
76
#endif
CbmMuchToTrdVectors
Definition:
CbmMuchToTrdVectors.h:24
CbmMuchToTrdVectors::SetParContainers
virtual void SetParContainers()
Definition:
CbmMuchToTrdVectors.cxx:59
CbmMuchToTrdVectors::CbmMuchToTrdVectors
CbmMuchToTrdVectors(const CbmMuchToTrdVectors &)
CbmMuchToTrdVectors::MergeVectors
void MergeVectors()
Definition:
CbmMuchToTrdVectors.cxx:152
CbmMuchToTrdVectors::~CbmMuchToTrdVectors
virtual ~CbmMuchToTrdVectors()
Definition:
CbmMuchToTrdVectors.cxx:38
CbmMuchToTrdVectors::operator=
CbmMuchToTrdVectors & operator=(const CbmMuchToTrdVectors &)
CbmMuchToTrdVectors::CbmMuchToTrdVectors
CbmMuchToTrdVectors()
Definition:
CbmMuchToTrdVectors.cxx:28
CbmMuchToTrdVectors::Exec
virtual void Exec(Option_t *opt)
Definition:
CbmMuchToTrdVectors.cxx:69
CbmMuchToTrdVectors::Finish
virtual void Finish()
Definition:
CbmMuchToTrdVectors.cxx:88
CbmMuchTrack
Definition:
CbmMuchTrack.h:16
CbmMuchToTrdVectors::Init
virtual InitStatus Init()
Definition:
CbmMuchToTrdVectors.cxx:42
CbmMuchToTrdVectors::fTrdTracks
TClonesArray * fTrdTracks
Definition:
CbmMuchToTrdVectors.h:55
CbmMuchToTrdVectors::fDigiMatches
TClonesArray * fDigiMatches
Definition:
CbmMuchToTrdVectors.h:56
CbmMuchToTrdVectors::fXmap
std::multimap< Double_t, Int_t > fXmap
Definition:
CbmMuchToTrdVectors.h:58
CbmMuchToTrdVectors::fMuchTracks
TClonesArray * fMuchTracks
Definition:
CbmMuchToTrdVectors.h:54
CbmMuchToTrdVectors::RemoveClones
void RemoveClones()
Definition:
CbmMuchToTrdVectors.cxx:292
CbmMuchToTrdVectors::fZ0
Double_t fZ0
Definition:
CbmMuchToTrdVectors.h:57
CbmMuchToTrdVectors::AddTrack
void AddTrack(CbmMuchTrack *tr1, CbmMuchTrack *tr2, Int_t indx1, Int_t indx2, FairTrackParam &parOk, Double_t c2)
Definition:
CbmMuchToTrdVectors.cxx:260
CbmMuchToTrdVectors::fNofTracks
Int_t fNofTracks
Definition:
CbmMuchToTrdVectors.h:53
CbmMuchToTrdVectors::GetMuchVectors
void GetMuchVectors()
Definition:
CbmMuchToTrdVectors.cxx:92
CbmMuchToTrdVectors::fTrackArray
TClonesArray * fTrackArray
Definition:
CbmMuchToTrdVectors.h:45
CbmMuchToTrdVectors::GetNofTracks
Int_t GetNofTracks()
Definition:
CbmMuchToTrdVectors.h:45
reco
tracking
vector
CbmMuchToTrdVectors.h
Generated on Wed Oct 28 2020 15:11:42 for CbmRoot by
1.8.18