20 #include "nusimdata/SimulationBase/MCTruth.h"
46 const std::vector< std::vector<double> >&
dQdx()
const{
return fdQdx;}
47 const std::vector<double>&
dEdx()
const {
return fdEdx;}
92 std::vector<std::vector<double> >
fdQdx;
MCStep fStart
G4 start position/momentum of this track particle.
MCStep fMotherEnd
This particle's mother's G4 end position/momentum.
double std(const std::vector< short > &wf, const double ped_mean, size_t start, size_t nsample)
unsigned int fAncestorTrackID
This particle's ancestor's G4 track ID.
simb::Origin_t Origin() const
void Origin(simb::Origin_t o)
void dEdx(const std::vector< double > s)
std::string fProcess
G4 creation process of this track particle.
void dQdx(const std::vector< std::vector< double > > s)
const std::string & AncestorProcess() const
std::vector< double > fdEdx
const MCStep & MotherEnd() const
unsigned int AncestorTrackID() const
void AncestorTrackID(unsigned int id)
int AncestorPdgCode() const
const MCStep & End() const
const std::vector< std::vector< double > > & dQdx() const
Class def header for mcstep data container.
void TrackID(unsigned int id)
unsigned int MotherTrackID() const
int fPDGCode
PDG code of this track particle.
int fMotherPDGCode
This particle's mother's PDG code.
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
void MotherTrackID(unsigned int id)
void AncestorProcess(const std::string &n)
MCStep fEnd
G4 end position/momentum of this track particle.
int fAncestorPDGCode
This particle's ancestor's PDG code.
const MCStep & AncestorStart() const
void Start(const MCStep s)
simb::Origin_t fOrigin
Origin of this particle (see simb::Origin_t)
void AncestorEnd(const MCStep &s)
void AncestorStart(const MCStep &s)
const MCStep & MotherStart() const
MCStep fAncestorEnd
This particle's ancestor's G4 start position/momentum.
int MotherPdgCode() const
std::string fMotherProcess
This particle's mother's G4 process name.
then echo File list $list not found else cat $list while read file do echo $file sed s
unsigned int fTrackID
G4 track ID.
MCStep fAncestorStart
This particle's ancestor's G4 start position/momentum.
unsigned int fMotherTrackID
This particle's mother's G4 track ID.
const std::string & Process() const
const std::string & MotherProcess() const
std::vector< std::vector< double > > fdQdx
MCStep fMotherStart
This particle's mother's G4 start position/momentum.
void Process(std::string name)
void MotherStart(const MCStep &s)
const MCStep & Start() const
unsigned int TrackID() const
const std::vector< double > & dEdx() const
virtual ~MCTrack()
Default destructor.
std::string fAncestorProcess
This particle's ancestor's G4 process name.
void MotherPdgCode(int id)
const MCStep & AncestorEnd() const
void AncestorPdgCode(int id)
MCTrack()
Default constructor.
void MotherProcess(const std::string &n)
void MotherEnd(const MCStep &s)