eventAnalysis  7.0-49-g0ac7482
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ND::TP0DReconModule::TP0DTrack Class Reference

Contains a summary of the reconstruction information in a TReconNode. More...

#include <TP0DReconModule.hxx>

+ Inheritance diagram for ND::TP0DReconModule::TP0DTrack:
+ Collaboration diagram for ND::TP0DReconModule::TP0DTrack:

Public Member Functions

virtual ~TP0DTrack ()
 
 ClassDef (TP0DReconModule::TP0DTrack, 6)
 

Public Attributes

std::string AlgorithmName
 The name of the p0dRecon algorithm that created this object. More...
 
std::vector< short > Clusters
 Holds internal Ids of Clusters pertinent to this reconstructed track. More...
 
short Cycle
 The cycle number, based on the first hit. More...
 
TVector3 Direction
 Direction of the TTrackState of the corresponding ND::TReconTrack. More...
 
TVector3 DirVariance
 Variance on the TP0DTrack::Direction of the TTrackState of the corresponding ND::TReconTrack. More...
 
float EDeposit
 The total reconstructed energy deposit of the corresponding ND::TReconTrack. More...
 
float EndDeposit
 The deposited charge in the end p0dules. More...
 
std::vector< short > Hits
 Holds internal Ids of Hits pertinent to this reconstructed track. More...
 
float Length
 The length of the track calculated by summing over the distances. More...
 
int NDOF
 The Number of Degrees of Freedom in the reconstruction of the corresponding ND::TReconTrack. More...
 
short NHits
 A count of the Hits associated with this object. More...
 
std::vector< short > Nodes
 Holds internal Ids of Nodes pertinent to this reconstructed track. More...
 
std::vector< short > Particles
 Holds internal Ids of Particles pertinent to this reconstructed track. More...
 
TLorentzVector Position
 Position of the TTrackState of the corresponding ND::TReconTrack. More...
 
TLorentzVector PosVariance
 Variance on the position of the TTrackState of the corresponding ND::TReconTrack. More...
 
float Quality
 The reported reconstruction 'quality' of the corresponding ND::TReconTrack. More...
 
std::vector< short > Showers
 Holds internal Ids of Showers pertinent to this reconstructed track. More...
 
float SideDeposit
 The deposited charge in the side bars. More...
 
int Status
 The reported Status of the corresponding ND::TReconTrack. More...
 
std::vector< short > Tracks
 Holds internal Ids of Tracks pertinent to this reconstructed track. More...
 
std::vector< float > Truth_ChargeShare
 The weighted reconstructed charge deposited by each truth trajectory. More...
 
std::vector< short > Truth_HitCount
 The number of THits that each truth trajectory contributed to. More...
 
std::vector< int > Truth_PrimaryTrajIDs
 The vector of primary true trajectory IDs which contribute to the ND::THits which are constituents of this track. More...
 
std::vector< int > Truth_TrajIDs
 The vector of true trajectory IDs which contribute to the ND::THits which are constituents of this track. More...
 
UInt_t UniqueID
 The Unique ID of the corresponding ND::TReconTrack, used for global-subdetector matching. More...
 
short ValidDimensions
 Bit flag demarkating valid dimensions for this track's position. More...
 
std::vector< short > Vertices
 Holds internal Ids of Vertices pertinent to this reconstructed track. More...
 

Detailed Description

Contains a summary of the reconstruction information in a TReconNode.

Definition at line 864 of file TP0DReconModule.hxx.

Constructor & Destructor Documentation

ND::TP0DReconModule::TP0DTrack::~TP0DTrack ( )
virtual

Definition at line 59 of file TP0DReconModule.cxx.

Member Function Documentation

ND::TP0DReconModule::TP0DTrack::ClassDef ( TP0DReconModule::TP0DTrack  ,
 
)

Member Data Documentation

std::string ND::TP0DReconModule::TP0DTrack::AlgorithmName

The name of the p0dRecon algorithm that created this object.

Definition at line 874 of file TP0DReconModule.hxx.

std::vector<short> ND::TP0DReconModule::TP0DTrack::Clusters

Holds internal Ids of Clusters pertinent to this reconstructed track.

Holds ND::TP0DReconModule::ObjectID::id of ND::TP0DReconModule::TP0DCluster objects which are equivalent to indicies of ND::TP0DReconModule::fClusters which hold Clusters related to this reconstructed track.

Definition at line 902 of file TP0DReconModule.hxx.

short ND::TP0DReconModule::TP0DTrack::Cycle

The cycle number, based on the first hit.

Definition at line 878 of file TP0DReconModule.hxx.

TVector3 ND::TP0DReconModule::TP0DTrack::Direction

Direction of the TTrackState of the corresponding ND::TReconTrack.

ND::THandle<ND::TTrackState> trackState = track->GetState();

Definition at line 1017 of file TP0DReconModule.hxx.

Referenced by ND::TP0DReconModule::FillTrackObject().

TVector3 ND::TP0DReconModule::TP0DTrack::DirVariance

Variance on the TP0DTrack::Direction of the TTrackState of the corresponding ND::TReconTrack.

ND::THandle<ND::TTrackState> trackState = track->GetState();
p0dTrack->DirVariance = trackState->GetDirectionVariance();

Definition at line 1021 of file TP0DReconModule.hxx.

Referenced by ND::TP0DReconModule::FillTrackObject().

float ND::TP0DReconModule::TP0DTrack::EDeposit

The total reconstructed energy deposit of the corresponding ND::TReconTrack.

p0dTrack->EDeposit = trackState->GetEDeposit();

Definition at line 983 of file TP0DReconModule.hxx.

Referenced by ND::TP0DReconModule::FillTrackObject().

float ND::TP0DReconModule::TP0DTrack::EndDeposit

The deposited charge in the end p0dules.

ND::TGeometryId geomid = (*hit)->GetGeomId();
int p0dule = ND::TGeomInfo::P0D().GetBar(geomid).GetP0Dule();
if(p0dule > 38){
p0dTrack->EndDeposit += (*hit)->GetCharge();
}

Definition at line 996 of file TP0DReconModule.hxx.

Referenced by ND::TP0DReconModule::FillTrackObject().

std::vector<short> ND::TP0DReconModule::TP0DTrack::Hits

Holds internal Ids of Hits pertinent to this reconstructed track.

Holds ND::TP0DReconModule::ObjectID::id of ND::TP0DReconModule::TP0DHit objects which are equivalent to indicies of ND::TP0DReconModule::fHits which hold Hits related to this reconstructed track.

Definition at line 912 of file TP0DReconModule.hxx.

float ND::TP0DReconModule::TP0DTrack::Length

The length of the track calculated by summing over the distances.

between the constituent TReconNodes.

Definition at line 1027 of file TP0DReconModule.hxx.

Referenced by ND::TP0DReconModule::FillTrackObject().

int ND::TP0DReconModule::TP0DTrack::NDOF

The Number of Degrees of Freedom in the reconstruction of the corresponding ND::TReconTrack.

Retreived from ND::TReconBase::GetNDOF

p0dTrack->NDOF = track->GetNDOF();

Definition at line 938 of file TP0DReconModule.hxx.

Referenced by ND::TP0DReconModule::FillTrackObject().

short ND::TP0DReconModule::TP0DTrack::NHits

A count of the Hits associated with this object.

Definition at line 917 of file TP0DReconModule.hxx.

std::vector<short> ND::TP0DReconModule::TP0DTrack::Nodes

Holds internal Ids of Nodes pertinent to this reconstructed track.

Holds ND::TP0DReconModule::ObjectID::id of ND::TP0DReconModule::TP0DNode objects which are equivalent to indicies of ND::TP0DReconModule::fNodes which hold Nodes related to this reconstructed track.

Definition at line 907 of file TP0DReconModule.hxx.

std::vector<short> ND::TP0DReconModule::TP0DTrack::Particles

Holds internal Ids of Particles pertinent to this reconstructed track.

Holds ND::TP0DReconModule::ObjectID::id of ND::TP0DReconModule::TP0DParticle objects which are equivalent to indicies of ND::TP0DReconModule::fParticles which hold Particles related to this reconstructed track.

Definition at line 887 of file TP0DReconModule.hxx.

TLorentzVector ND::TP0DReconModule::TP0DTrack::Position

Position of the TTrackState of the corresponding ND::TReconTrack.

ND::THandle<ND::TTrackState> trackState = track->GetState();
p0dTrack->Position = trackState->GetPosition();

Definition at line 1004 of file TP0DReconModule.hxx.

Referenced by ND::TP0DReconModule::FillTrackObject().

TLorentzVector ND::TP0DReconModule::TP0DTrack::PosVariance

Variance on the position of the TTrackState of the corresponding ND::TReconTrack.

ND::THandle<ND::TTrackState> trackState = track->GetState();
p0dTrack->PosVariance = trackState->GetPositionVariance();

Definition at line 1008 of file TP0DReconModule.hxx.

Referenced by ND::TP0DReconModule::FillTrackObject().

float ND::TP0DReconModule::TP0DTrack::Quality

The reported reconstruction 'quality' of the corresponding ND::TReconTrack.

Uses ND::TReconBase::GetQuality

p0dTrack->Quality = track->GetQuality();

Definition at line 934 of file TP0DReconModule.hxx.

Referenced by ND::TP0DReconModule::FillTrackObject().

std::vector<short> ND::TP0DReconModule::TP0DTrack::Showers

Holds internal Ids of Showers pertinent to this reconstructed track.

Holds ND::TP0DReconModule::ObjectID::id of ND::TP0DReconModule::TP0DShower objects which are equivalent to indicies of ND::TP0DReconModule::fShowers which hold Showers related to this reconstructed track.

Definition at line 897 of file TP0DReconModule.hxx.

float ND::TP0DReconModule::TP0DTrack::SideDeposit

The deposited charge in the side bars.

ND::TGeometryId geomid = (*hit)->GetGeomId();
int layer = ND::TGeomInfo::P0D().GetBar(geomid).GetLayer();
int bar = ND::TGeomInfo::P0D().GetBar(geomid).GetNumber();
if(bar < 4 || (layer == 0 && bar > 121) || (layer == 1 && bar > 129)){
p0dTrack->SideDeposit += (*hit)->GetCharge();
}

Definition at line 988 of file TP0DReconModule.hxx.

Referenced by ND::TP0DReconModule::FillTrackObject().

int ND::TP0DReconModule::TP0DTrack::Status

The reported Status of the corresponding ND::TReconTrack.

p0dTrack->Status = track->GetStatus();
Use ND::TReconBase::StateBits to check the which status flags are set.

Definition at line 930 of file TP0DReconModule.hxx.

Referenced by ND::TP0DReconModule::FillTrackObject().

std::vector<short> ND::TP0DReconModule::TP0DTrack::Tracks

Holds internal Ids of Tracks pertinent to this reconstructed track.

Holds ND::TP0DReconModule::ObjectID::id of ND::TP0DReconModule::TP0DTrack objects which are equivalent to indicies of ND::TP0DReconModule::fTracks which hold Tracks related to this reconstructed track.

Definition at line 892 of file TP0DReconModule.hxx.

std::vector<float> ND::TP0DReconModule::TP0DTrack::Truth_ChargeShare

The weighted reconstructed charge deposited by each truth trajectory.

For each THit, a trajectory will receive a proportional share of the charge, based on the total true charge deposited by all contributing trajectories. Indexed by the position of the relevant trajectory ID in TP0DTrack::Truth_TrajIDs. See ND::TP0DReconModule::HitTruthInfo for how they are calculated.

Definition at line 974 of file TP0DReconModule.hxx.

Referenced by ND::TP0DReconModule::FillTrackObject().

std::vector<short> ND::TP0DReconModule::TP0DTrack::Truth_HitCount

The number of THits that each truth trajectory contributed to.

This doesn't have to equal the number of hits, hits can be shared and some hits may not have associated trajectories. Indexed by the position of the relevant trajectory ID in TP0DTrack::Truth_TrajIDs. See ND::TP0DReconModule::HitTruthInfo for how they are calculated.

Definition at line 965 of file TP0DReconModule.hxx.

Referenced by ND::TP0DReconModule::FillTrackObject().

std::vector<int> ND::TP0DReconModule::TP0DTrack::Truth_PrimaryTrajIDs

The vector of primary true trajectory IDs which contribute to the ND::THits which are constituents of this track.

These are 'pseudo-primaries', which may or may not be primaries for a vertex. It is the 'interesting' primary that is defined by nd280Geant4Sim, and can include particles such as photons from pi0 decay and michel electrons from muon decay. If you want to be sure of finding a vertex, use the TP0DTrack::Truth_TrajIDs list and get primary ID from the trajectories. See ND::TP0DReconModule::HitTruthPrimaryInfo for how they are calculated.

Definition at line 947 of file TP0DReconModule.hxx.

Referenced by ND::TP0DReconModule::FillTrackObject().

std::vector<int> ND::TP0DReconModule::TP0DTrack::Truth_TrajIDs

The vector of true trajectory IDs which contribute to the ND::THits which are constituents of this track.

The index of a given trajectory id within this vector is used as the index for the corresponding information held in TP0DTrack::Truth_HitCount and TP0DTrack::Truth_ChargeShare. See ND::TP0DReconModule::HitTruthInfo for how they are calculated.

Definition at line 958 of file TP0DReconModule.hxx.

Referenced by ND::TP0DReconModule::FillTrackObject().

UInt_t ND::TP0DReconModule::TP0DTrack::UniqueID

The Unique ID of the corresponding ND::TReconTrack, used for global-subdetector matching.

In ND::TP0DReconModule::FillBaseObject

basePtr->UniqueID = baseObject->GetUniqueID();

Definition at line 921 of file TP0DReconModule.hxx.

short ND::TP0DReconModule::TP0DTrack::ValidDimensions

Bit flag demarkating valid dimensions for this track's position.

values(valid dimensions) : 1(x),2(y),4(z),3(xy),5(xz),6(yz),7(xyz)

Definition at line 1014 of file TP0DReconModule.hxx.

Referenced by ND::TP0DReconModule::FillTrackObject().

std::vector<short> ND::TP0DReconModule::TP0DTrack::Vertices

Holds internal Ids of Vertices pertinent to this reconstructed track.

Holds ND::TP0DReconModule::ObjectID::id of ND::TP0DReconModule::TP0DVertex objects which are equivalent to indicies of ND::TP0DReconModule::fVertices which hold Vertices related to this reconstructed track.

Definition at line 882 of file TP0DReconModule.hxx.


The documentation for this class was generated from the following files:

Package Summary
Package Name: eventAnalysis
Package Version: 7.0-49-g0ac7482
Package Manager:

Generated on Mon Mar 25 2024 14:44:02 for eventAnalysis by doxygen 1.8.5