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

Contains a summary of the reconstruction information in a TReconCluster. Contains a summary of the reconstruction information in a TReconTrack. More...

#include <TP0DReconModule.hxx>

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

Public Member Functions

virtual ~TP0DCluster ()
 
 ClassDef (TP0DReconModule::TP0DCluster, 7)
 

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 cluster. More...
 
short Cycle
 The cycle number, based on the first hit. More...
 
float EDeposit
 The total reconstructed energy deposit of the corresponding ND::TReconCluster. More...
 
std::vector< short > Hits
 Holds internal Ids of Hits pertinent to this reconstructed cluster. More...
 
float Moments [arraySize]
 Moments of the cluster stored as a flat 3x3 matrix. More...
 
short NFiducialHits
 The number of THits in the cluster which are within the fiducial volume. 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 cluster. More...
 
std::vector< short > Particles
 Holds internal Ids of Particles pertinent to this reconstructed cluster. More...
 
TLorentzVector Position
 Position of the corresponding ND::TReconCluster. More...
 
TLorentzVector PosVariance
 Variance on the position of the corresponding ND::TReconCluster. More...
 
std::vector< short > Showers
 Holds internal Ids of Showers pertinent to this reconstructed cluster. More...
 
std::vector< short > Tracks
 Holds internal Ids of Tracks pertinent to this reconstructed cluster. 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::TReconCluster, used for global-subdetector matching. More...
 
short ValidDimensions
 Bit flag demarkating valid dimensions for this cluster's positon. More...
 
std::vector< short > Vertices
 Holds internal Ids of Vertices pertinent to this reconstructed cluster. More...
 

Static Public Attributes

static const int arraySize = 9
 Size of the TP0DCluster::Moments array. More...
 

Detailed Description

Contains a summary of the reconstruction information in a TReconCluster. Contains a summary of the reconstruction information in a TReconTrack.

Definition at line 725 of file TP0DReconModule.hxx.

Constructor & Destructor Documentation

ND::TP0DReconModule::TP0DCluster::~TP0DCluster ( )
virtual

Definition at line 68 of file TP0DReconModule.cxx.

Member Function Documentation

ND::TP0DReconModule::TP0DCluster::ClassDef ( TP0DReconModule::TP0DCluster  ,
 
)

Member Data Documentation

std::string ND::TP0DReconModule::TP0DCluster::AlgorithmName

The name of the p0dRecon algorithm that created this object.

Definition at line 735 of file TP0DReconModule.hxx.

const int ND::TP0DReconModule::TP0DCluster::arraySize = 9
static

Size of the TP0DCluster::Moments array.

Definition at line 853 of file TP0DReconModule.hxx.

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

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

Holds internal Ids of Clusters pertinent to this reconstructed cluster.

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

Definition at line 763 of file TP0DReconModule.hxx.

short ND::TP0DReconModule::TP0DCluster::Cycle

The cycle number, based on the first hit.

Definition at line 739 of file TP0DReconModule.hxx.

float ND::TP0DReconModule::TP0DCluster::EDeposit

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

p0dCluster->EDeposit = cluster->GetEDeposit();

Definition at line 837 of file TP0DReconModule.hxx.

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

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

Holds internal Ids of Hits pertinent to this reconstructed cluster.

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

Definition at line 773 of file TP0DReconModule.hxx.

float ND::TP0DReconModule::TP0DCluster::Moments[arraySize]

Moments of the cluster stored as a flat 3x3 matrix.

TMatrixF moments = cluster->GetMoments();
std::copy(moments.GetMatrixArray(),
moments.GetMatrixArray()+p0dCluster->arraySize,
p0dCluster->Moments);

Definition at line 854 of file TP0DReconModule.hxx.

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

short ND::TP0DReconModule::TP0DCluster::NFiducialHits

The number of THits in the cluster which are within the fiducial volume.

float fiducial =
ND::TGeomInfo::P0D().WaterFiducialDistance(hitPosition.X(),
hitPosition.Y(),
hitPosition.Z());
if (fiducial > 0){p0dCluster->NFiducialHits += 1;}

Definition at line 831 of file TP0DReconModule.hxx.

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

short ND::TP0DReconModule::TP0DCluster::NHits

A count of the Hits associated with this object.

Definition at line 778 of file TP0DReconModule.hxx.

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

Holds internal Ids of Nodes pertinent to this reconstructed cluster.

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

Definition at line 768 of file TP0DReconModule.hxx.

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

Holds internal Ids of Particles pertinent to this reconstructed cluster.

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

Definition at line 748 of file TP0DReconModule.hxx.

TLorentzVector ND::TP0DReconModule::TP0DCluster::Position

Position of the corresponding ND::TReconCluster.

p0dCluster->Position = cluster->GetPosition();

Definition at line 842 of file TP0DReconModule.hxx.

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

TLorentzVector ND::TP0DReconModule::TP0DCluster::PosVariance

Variance on the position of the corresponding ND::TReconCluster.

p0dCluster->PosVariance = cluster->GetPositionVariance();

Definition at line 845 of file TP0DReconModule.hxx.

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

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

Holds internal Ids of Showers pertinent to this reconstructed cluster.

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

Definition at line 758 of file TP0DReconModule.hxx.

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

Holds internal Ids of Tracks pertinent to this reconstructed cluster.

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

Definition at line 753 of file TP0DReconModule.hxx.

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

Definition at line 822 of file TP0DReconModule.hxx.

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

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

Definition at line 813 of file TP0DReconModule.hxx.

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

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

Definition at line 795 of file TP0DReconModule.hxx.

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

std::vector<int> ND::TP0DReconModule::TP0DCluster::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 TP0DCluster::Truth_HitCount and TP0DCluster::Truth_ChargeShare. See ND::TP0DReconModule::HitTruthInfo for how they are calculated.

Definition at line 806 of file TP0DReconModule.hxx.

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

UInt_t ND::TP0DReconModule::TP0DCluster::UniqueID

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

In ND::TP0DReconModule::FillBaseObject

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

Definition at line 782 of file TP0DReconModule.hxx.

short ND::TP0DReconModule::TP0DCluster::ValidDimensions

Bit flag demarkating valid dimensions for this cluster's positon.

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

Definition at line 850 of file TP0DReconModule.hxx.

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

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

Holds internal Ids of Vertices pertinent to this reconstructed cluster.

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

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