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

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

#include <TP0DReconModule.hxx>

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

Public Member Functions

virtual ~TP0DNode ()
 
 ClassDef (TP0DReconModule::TP0DNode, 5)
 

Public Attributes

TVector3 Direction
 Direction of the TMPositionDirectionState of the corresponding ND::TReconNode. More...
 
TVector3 DirVariance
 Variance on the TP0DNode::Direction of the TMPositionDirectionState of the corresponding ND::TReconNode. More...
 
float EDeposit
 The total reconstructed energy deposit of the ND::TMEDepositState of the relevant ND::TReconNode. More...
 
std::vector< short > Hits
 Holds internal Ids of Hits pertinent to this reconstruction node. More...
 
TLorentzVector Position
 Position of the TMPositionDirectionState of the corresponding ND::TReconNode. More...
 
TLorentzVector PosVariance
 Variance on the position of the TMPositionDirectionState of the corresponding ND::TReconPID. 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...
 
short ValidDimensions
 Bit flag demarkating valid dimensions for this node's position. More...
 

Detailed Description

Contains a summary of the reconstruction information in a TSingleHit.

Definition at line 1034 of file TP0DReconModule.hxx.

Constructor & Destructor Documentation

ND::TP0DReconModule::TP0DNode::~TP0DNode ( )
virtual

Definition at line 65 of file TP0DReconModule.cxx.

Member Function Documentation

ND::TP0DReconModule::TP0DNode::ClassDef ( TP0DReconModule::TP0DNode  ,
 
)

Member Data Documentation

TVector3 ND::TP0DReconModule::TP0DNode::Direction

Direction of the TMPositionDirectionState of the corresponding ND::TReconNode.

ND::THandle<ND::TReconState> s1 = node->GetState();
const ND::TMPositionDirectionState* posDirState = NULL;
posDirState =
dynamic_cast<const ND::TMPositionDirectionState*>(ND::GetPointer(s1));
p0dNode->Direction = posDirState->GetDirection();

Definition at line 1113 of file TP0DReconModule.hxx.

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

TVector3 ND::TP0DReconModule::TP0DNode::DirVariance

Variance on the TP0DNode::Direction of the TMPositionDirectionState of the corresponding ND::TReconNode.

ND::THandle<ND::TReconState> s1 = node->GetState();
const ND::TMPositionDirectionState* posDirState = NULL;
posDirState =
dynamic_cast<const ND::TMPositionDirectionState*>(ND::GetPointer(s1));
p0dNode->DirVariance = posDirState->GetDirectionVariance();

Definition at line 1120 of file TP0DReconModule.hxx.

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

float ND::TP0DReconModule::TP0DNode::EDeposit

The total reconstructed energy deposit of the ND::TMEDepositState of the relevant ND::TReconNode.

ND::THandle<ND::TReconBase> nodeObject = node->GetObject();
if(nodeObject){
ND::THandle<ND::TReconState> objState = nodeObject->GetState();
if(objState){
#if BEFORE_oaEvent(9,0,0)
const ND::TMEDepositState* eDepState = NULL;
eDepState =
dynamic_cast<const ND::TMEDepositState*>(ND::GetPointer(s1));
if(eDepState){
p0dNode->EDeposit = eDepState->GetEDeposit();
}
}
}

Definition at line 1083 of file TP0DReconModule.hxx.

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

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

Holds internal Ids of Hits pertinent to this reconstruction node.

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 reconstruction node.

Definition at line 1037 of file TP0DReconModule.hxx.

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

TLorentzVector ND::TP0DReconModule::TP0DNode::Position

Position of the TMPositionDirectionState of the corresponding ND::TReconNode.

ND::THandle<ND::TReconState> s1 = node->GetState();
const ND::TMPositionDirectionState* posDirState = NULL;
posDirState =
dynamic_cast<const ND::TMPositionDirectionState*>(ND::GetPointer(s1));
p0dNode->Position = posDirState->GetPosition();

Definition at line 1095 of file TP0DReconModule.hxx.

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

TLorentzVector ND::TP0DReconModule::TP0DNode::PosVariance

Variance on the position of the TMPositionDirectionState of the corresponding ND::TReconPID.

ND::THandle<ND::TReconState> s1 = node->GetState();
const ND::TMPositionDirectionState* posDirState = NULL;
posDirState =
dynamic_cast<const ND::TMPositionDirectionState*>(ND::GetPointer(s1));
p0dNode->PosVariance = posDirState->GetPositionVariance();

Definition at line 1102 of file TP0DReconModule.hxx.

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

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

Definition at line 1074 of file TP0DReconModule.hxx.

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

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

Definition at line 1065 of file TP0DReconModule.hxx.

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

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

Definition at line 1047 of file TP0DReconModule.hxx.

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

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

Definition at line 1058 of file TP0DReconModule.hxx.

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

short ND::TP0DReconModule::TP0DNode::ValidDimensions

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

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

Definition at line 1110 of file TP0DReconModule.hxx.

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


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