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

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

#include <TP0DReconModule.hxx>

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

Public Member Functions

virtual ~TP0DVertex ()
 
 ClassDef (TP0DReconModule::TP0DVertex, 4)
 

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 vertex. More...
 
short Cycle
 The cycle number, based on the first hit. More...
 
float Fiducial
 The distance to the outside of the fiducial volume. More...
 
std::vector< short > Hits
 Holds internal Ids of Hits pertinent to this reconstructed vertex. More...
 
int NDOF
 The Number of Degrees of Freedom in the reconstruction of the. 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 vertex. More...
 
std::vector< short > Particles
 Holds internal Ids of Particles pertinent to this reconstructed vertex. More...
 
TLorentzVector Position
 Position of the TVertexState of the corresponding ND::TReconVertex. More...
 
TLorentzVector PosVariance
 Variance on the position of the TVertexState of the corresponding ND::TReconVertex. More...
 
float Quality
 The reported reconstruction 'quality' of the corresponding ND::TReconVertex. More...
 
std::vector< short > Showers
 Holds internal Ids of Showers pertinent to this reconstructed vertex. More...
 
int Status
 The reported Status of the corresponding ND::TReconVertex. More...
 
std::vector< short > Tracks
 Holds internal Ids of Tracks pertinent to this reconstructed vertex. 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 vertex. More...
 
std::vector< int > Truth_TrajIDs
 The vector of true trajectory IDs which contribute to the ND::THits which are constituents of this vertex. More...
 
UInt_t UniqueID
 The Unique ID of the corresponding ND::TReconVertex, used for global-subdetector matching. More...
 
short ValidDimensions
 Bit flag demarkating valid dimensions for this vertex's position. More...
 
std::vector< short > Vertices
 Holds internal Ids of Vertices pertinent to this reconstructed vertex. More...
 

Detailed Description

Contains a summary of the reconstruction information in a TReconVertex.

Definition at line 182 of file TP0DReconModule.hxx.

Constructor & Destructor Documentation

ND::TP0DReconModule::TP0DVertex::~TP0DVertex ( )
virtual

Definition at line 53 of file TP0DReconModule.cxx.

Member Function Documentation

ND::TP0DReconModule::TP0DVertex::ClassDef ( TP0DReconModule::TP0DVertex  ,
 
)

Member Data Documentation

std::string ND::TP0DReconModule::TP0DVertex::AlgorithmName

The name of the p0dRecon algorithm that created this object.

Definition at line 193 of file TP0DReconModule.hxx.

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

Holds internal Ids of Clusters pertinent to this reconstructed vertex.

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 vertex.

Definition at line 221 of file TP0DReconModule.hxx.

short ND::TP0DReconModule::TP0DVertex::Cycle

The cycle number, based on the first hit.

Definition at line 197 of file TP0DReconModule.hxx.

float ND::TP0DReconModule::TP0DVertex::Fiducial

The distance to the outside of the fiducial volume.

(negative if the vertex is outside).

p0dVertex->Fiducial =
ND::TGeomInfo::P0D().WaterFiducialDistance(p0dVertex->Position.X(),
p0dVertex->Position.Y(),
p0dVertex->Position.Z());

Definition at line 316 of file TP0DReconModule.hxx.

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

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

Holds internal Ids of Hits pertinent to this reconstructed vertex.

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 vertex.

Definition at line 231 of file TP0DReconModule.hxx.

int ND::TP0DReconModule::TP0DVertex::NDOF

The Number of Degrees of Freedom in the reconstruction of the.

corresponding ND::TReconVertex.

Retreived from ND::TReconBase::GetNDOF

p0dVertex->NDOF = vertex->GetNDOF();

Definition at line 257 of file TP0DReconModule.hxx.

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

short ND::TP0DReconModule::TP0DVertex::NHits

A count of the Hits associated with this object.

Definition at line 236 of file TP0DReconModule.hxx.

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

Holds internal Ids of Nodes pertinent to this reconstructed vertex.

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 vertex.

Definition at line 226 of file TP0DReconModule.hxx.

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

Holds internal Ids of Particles pertinent to this reconstructed vertex.

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 vertex.

Definition at line 206 of file TP0DReconModule.hxx.

TLorentzVector ND::TP0DReconModule::TP0DVertex::Position

Position of the TVertexState of the corresponding ND::TReconVertex.

ND::THandle<ND::TVertexState> vertexState = vertex->GetState();
p0dVertex->Position = vertexState->GetPosition();

Definition at line 303 of file TP0DReconModule.hxx.

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

TLorentzVector ND::TP0DReconModule::TP0DVertex::PosVariance

Variance on the position of the TVertexState of the corresponding ND::TReconVertex.

ND::THandle<ND::TVertexState> vertexState = vertex->GetState();
p0dVertex->PosVariance = vertexState->GetPositionVariance();

Definition at line 307 of file TP0DReconModule.hxx.

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

float ND::TP0DReconModule::TP0DVertex::Quality

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

Uses ND::TReconBase::GetQuality

p0dVertex->Quality = vertex->GetQuality();

Definition at line 253 of file TP0DReconModule.hxx.

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

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

Holds internal Ids of Showers pertinent to this reconstructed vertex.

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 vertex.

Definition at line 216 of file TP0DReconModule.hxx.

int ND::TP0DReconModule::TP0DVertex::Status

The reported Status of the corresponding ND::TReconVertex.

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

Definition at line 249 of file TP0DReconModule.hxx.

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

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

Holds internal Ids of Tracks pertinent to this reconstructed vertex.

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 vertex.

Definition at line 211 of file TP0DReconModule.hxx.

std::vector<float> ND::TP0DReconModule::TP0DVertex::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 TP0DVertex::Truth_TrajIDs. See ND::TP0DReconModule::HitTruthInfo for how they are calculated.

Definition at line 294 of file TP0DReconModule.hxx.

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

std::vector<short> ND::TP0DReconModule::TP0DVertex::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 TP0DVertex::Truth_TrajIDs. See ND::TP0DReconModule::HitTruthInfo for how they are calculated.

Definition at line 285 of file TP0DReconModule.hxx.

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

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

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

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 TP0DVertex::Truth_TrajIDs list and get primary ID from the trajectories. See ND::TP0DReconModule::HitTruthPrimaryInfo for how they are calculated.

Definition at line 267 of file TP0DReconModule.hxx.

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

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

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

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

Definition at line 278 of file TP0DReconModule.hxx.

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

UInt_t ND::TP0DReconModule::TP0DVertex::UniqueID

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

In ND::TP0DReconModule::FillBaseObject

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

Definition at line 240 of file TP0DReconModule.hxx.

short ND::TP0DReconModule::TP0DVertex::ValidDimensions

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

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

Definition at line 313 of file TP0DReconModule.hxx.

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

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

Holds internal Ids of Vertices pertinent to this reconstructed vertex.

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 vertex.

Definition at line 201 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