EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
EIC Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
BeastMagneticField
delphes_EIC
Doxygen_Assist
east
eic-smear
EicRoot
blob
master
base
cbmbase
cbmdata
dbase
eic
ayk
base
cad
calorimetry
detectors
event
field
htc
htree
FwdHoughNodeGroup.cxx
FwdHoughNodeGroup.h
FwdHoughTree.cxx
FwdHoughTree.h
FwdIdealTrackingCode.cxx
FwdIdealTrackingCode.h
FwdKalmanFilter.cxx
FwdKalmanFilter.h
FwdMatchCandidate.cxx
FwdMatchCandidate.h
FwdMcTrackMapper.cxx
FwdMcTrackMapper.h
FwdTrackFinder.cxx
FwdTrackFinder.h
HoughCell.cxx
HoughCell.h
HoughNodeGroup.cxx
HoughNodeGroup.h
HoughTree.cxx
HoughTree.h
htreeLinkDef.h
MatchCandidate.cxx
MatchCandidate.h
MatchCandidateGroup.cxx
MatchCandidateGroup.h
ResolutionLevel.cxx
ResolutionLevel.h
infrastructure
jana
proto
tracking
eventdisplay
examples
fairtools
field
gconfig
geane
genfit
GenfitTools
geobase
geometry
input
littrack
parbase
passive
pCDR-2018
pid
pnddata
PndTools
rich
trackbase
eicsmear-jetexample
eicsmeardetectors
EicToyModel
estarlight
Fun4All-lmon
fun4all_coresoftware
fun4all_eic_qa
fun4all_eic_tutorials
fun4all_eicdetectors
fun4all_eicmacros
fun4all_g4jleic
fun4all_GenFit
fun4all_macros
fun4all_tutorials
g4exampledetector
g4lblvtx
online_distribution
PEPSI
doxygen_mainpage.h
File Members
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
FwdMcTrackMapper.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file FwdMcTrackMapper.h
1
//
2
// AYK (ayk@bnl.gov)
3
//
4
// Code helping to remap MC tracks into RC ones;
5
//
6
//
7
8
#include <map>
9
10
#include <TObject.h>
11
#include <TClonesArray.h>
12
13
#include <
PndMCTrack.h
>
14
15
#include <
FwdMatchCandidate.h
>
16
17
#ifndef _FWD_MC_TRACK_MAPPER_
18
#define _FWD_MC_TRACK_MAPPER_
19
20
class
FwdMcTrackMapper
:
public
TObject
21
{
22
public
:
23
FwdMcTrackMapper
(TClonesArray *mcarr = 0, TClonesArray *rcarr = 0):
24
mcTrackArray
(mcarr),
rcTrackArray
(rcarr) {};
25
~FwdMcTrackMapper
() {};
26
27
int
Rebuild
();
28
29
// FIXME: not exactly efficient stuff; first call allows to get number
30
// of RC tracks which associated themselves with this particular MC track;
31
// second call basically builds the same pair of iterators and pulls out
32
// N-th track out of the matching set;
33
unsigned
GetRcTrackCount
(
PndMCTrack
*mctrack);
34
FwdMatchCandidate
*
GetRcTrack
(
PndMCTrack
*mctrack,
unsigned
id
);
35
36
private
:
37
TClonesArray *
mcTrackArray
, *
rcTrackArray
;
38
39
std::multimap<PndMCTrack*, FwdMatchCandidate*>
mMcToRcMap
;
40
41
ClassDef
(
FwdMcTrackMapper
,2);
42
};
43
44
#endif
EicRoot
blob
master
eic
htree
FwdMcTrackMapper.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:35
using
1.8.2 with
EIC GitHub integration