Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
N21-01-16
MCCheater
SimTrack.h
Go to the documentation of this file.
1
////////////////////////////////////////////////////////////////////////
2
// $Id: SimTrack.h,v 1.5 2011-10-19 20:31:56 brebel Exp $
3
//
4
// Definition of reco Track.
5
//
6
// \author $Author: brebel $
7
// \date $Date: 2011-10-19 20:31:56 $
8
//
9
////////////////////////////////////////////////////////////////////////
10
11
#ifndef SIMTRACK_H
12
#define SIMTRACK_H
13
14
#include "
RecoBase/Track.h
"
15
16
namespace
cheat
{
17
18
class
SimTrack
:
public
rb::Track
{
19
20
public
:
21
SimTrack
();
22
~SimTrack
();
23
24
#ifndef __GCCXML__
25
int
PID
()
const
{
return
fPID
; }
26
int
TrackID
()
const
{
return
fTrackID
; }
27
28
void
SetPID
(
int
pid
) {
fPID
=
pid
; }
29
void
SetTrackID
(
int
trackid) {
fTrackID
= trackid; }
30
#endif
31
32
private
:
33
int
fPID
;
///< Particle Data Group code for the particle
34
int
fTrackID
;
///< Track ID for the particle
35
36
};
37
}
38
39
#endif // SIMTRACK_H
cheat::SimTrack::~SimTrack
~SimTrack()
Definition:
SimTrack.cxx:37
cheat::SimTrack::SetPID
void SetPID(int pid)
Definition:
SimTrack.h:28
Track.h
cheat::SimTrack
Definition:
SimTrack.h:18
rb::Track
A rb::Prong with full reconstructed trajectory.
Definition:
Track.h:20
cheat::SimTrack::SetTrackID
void SetTrackID(int trackid)
Definition:
SimTrack.h:29
BlessedPlots.pid
pid
Definition:
BlessedPlots.py:26
cheat::SimTrack::SimTrack
SimTrack()
Definition:
SimTrack.cxx:19
cheat::SimTrack::fTrackID
int fTrackID
Track ID for the particle.
Definition:
SimTrack.h:34
cheat::SimTrack::TrackID
int TrackID() const
Definition:
SimTrack.h:26
cheat
code to link reconstructed objects back to the MC truth information
Definition:
FillTruth.h:17
cheat::SimTrack::fPID
int fPID
Particle Data Group code for the particle.
Definition:
SimTrack.h:33
cheat::SimTrack::PID
int PID() const
Definition:
SimTrack.h:25
Generated on Sat Jan 16 2021 14:13:37 for NOvA by
1.8.11