Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
lar_pandora::PFParticleHitDumper Class Reference

PFParticleHitDumper class. More...

Inheritance diagram for lar_pandora::PFParticleHitDumper:
Collaboration diagram for lar_pandora::PFParticleHitDumper:

Public Member Functions

 PFParticleHitDumper (fhicl::ParameterSet const &pset)
 Constructor.
 
virtual ~PFParticleHitDumper ()
 Destructor.
 
void beginJob ()
 
void endJob ()
 
void analyze (const art::Event &evt)
 
void reconfigure (fhicl::ParameterSet const &pset)
 

Private Member Functions

void FillRecoTracks (const PFParticlesToTracks &particlesToTracks)
 Store 3D track hits.
 
void FillReco3D (const PFParticleVector &particleVector, const PFParticlesToSpacePoints &particlesToSpacePoints, const SpacePointsToHits &spacePointsToHits)
 Store 3D hits.
 
void FillReco2D (const art::Event &event, const HitVector &hitVector, const HitsToPFParticles &hitsToParticles)
 Store 2D hits.
 
void FillAssociated2DHits (const art::Event &evt, const PFParticleVector &particleVector, const PFParticlesToHits &particlesToHits, const PFParticlesToHits &particlesToHitsClusters, const PFParticlesToTracks &particlesToTracks, const TracksToHits &tracksToHits, const PFParticlesToShowers &particlesToShowers, const ShowersToHits &showersToHits)
 Store number of 2D hits associated to PFParticle in different ways.
 
void FillRecoWires (const art::Event &event, const WireVector &wireVector)
 Store raw data.
 
double GetUVW (const geo::WireID &wireID) const
 Conversion from wire ID to U/V/W coordinate.
 
double YZtoU (const unsigned int cstat, const unsigned int tpc, const double y, const double z) const
 Convert from (Y,Z) to U coordinate.
 
double YZtoV (const unsigned int cstat, const unsigned int tpc, const double y, const double z) const
 Convert from (Y,Z) to V coordinate.
 

Private Attributes

TTree * m_pRecoTracks
 
TTree * m_pReco3D
 
TTree * m_pReco2D
 
TTree * m_pRecoComparison
 
TTree * m_pRecoWire
 
int m_run
 
int m_event
 
int m_particle
 
int m_primary
 
int m_pdgcode
 
int m_cstat
 
int m_tpc
 
int m_plane
 
int m_wire
 
double m_u
 
double m_v
 
double m_w
 
double m_x
 
double m_y
 
double m_z
 
double m_q
 
int m_hitsFromSpacePoints
 
int m_hitsFromClusters
 
int m_hitsFromTrackOrShower
 
std::string m_calwireLabel
 
std::string m_hitfinderLabel
 
std::string m_clusterLabel
 
std::string m_spacepointLabel
 
std::string m_particleLabel
 
std::string m_trackLabel
 
std::string m_showerLabel
 
bool m_storeWires
 
bool m_printDebug
 switch for print statements (TODO: use message service!)
 

Detailed Description

PFParticleHitDumper class.

Definition at line 26 of file PFParticleHitDumper_module.cc.

Constructor & Destructor Documentation

◆ PFParticleHitDumper()

lar_pandora::PFParticleHitDumper::PFParticleHitDumper ( fhicl::ParameterSet const &  pset)

Constructor.

Parameters
pset

Definition at line 209 of file PFParticleHitDumper_module.cc.

Here is the call graph for this function:

◆ ~PFParticleHitDumper()

lar_pandora::PFParticleHitDumper::~PFParticleHitDumper ( )
virtual

Destructor.

Definition at line 216 of file PFParticleHitDumper_module.cc.

Member Function Documentation

◆ analyze()

void lar_pandora::PFParticleHitDumper::analyze ( const art::Event &  evt)

Definition at line 307 of file PFParticleHitDumper_module.cc.

Here is the call graph for this function:

◆ beginJob()

void lar_pandora::PFParticleHitDumper::beginJob ( )

Definition at line 235 of file PFParticleHitDumper_module.cc.

◆ endJob()

void lar_pandora::PFParticleHitDumper::endJob ( )

Definition at line 303 of file PFParticleHitDumper_module.cc.

◆ FillAssociated2DHits()

void lar_pandora::PFParticleHitDumper::FillAssociated2DHits ( const art::Event &  evt,
const PFParticleVector particleVector,
const PFParticlesToHits particlesToHits,
const PFParticlesToHits particlesToHitsClusters,
const PFParticlesToTracks particlesToTracks,
const TracksToHits tracksToHits,
const PFParticlesToShowers particlesToShowers,
const ShowersToHits showersToHits 
)
private

Store number of 2D hits associated to PFParticle in different ways.

Parameters
particleVectorthe input vector of PFParticles
particlesToHitsmapping between PFParticles and 2D hits through space points
particlesToHitsClustersmapping between PFParticles and 2D hits through clusters
particlesToTracksmapping between PFParticles and tracks
particlesToShowersmapping between PFParticles and showers

Definition at line 546 of file PFParticleHitDumper_module.cc.

Here is the caller graph for this function:

◆ FillReco2D()

void lar_pandora::PFParticleHitDumper::FillReco2D ( const art::Event &  event,
const HitVector hitVector,
const HitsToPFParticles hitsToParticles 
)
private

Store 2D hits.

Parameters
hitVectorthe input vector of 2D hits
hitsToParticlesmapping between 2D hits and PFParticles

Definition at line 608 of file PFParticleHitDumper_module.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FillReco3D()

void lar_pandora::PFParticleHitDumper::FillReco3D ( const PFParticleVector particleVector,
const PFParticlesToSpacePoints particlesToSpacePoints,
const SpacePointsToHits spacePointsToHits 
)
private

Store 3D hits.

Parameters
particleVectorthe input vector of PFParticles
particlesToSpacePointsmapping between 3D hits and PFParticles
spacePointsToHitsmapping between 3D hits and 2D hits

Definition at line 461 of file PFParticleHitDumper_module.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FillRecoTracks()

void lar_pandora::PFParticleHitDumper::FillRecoTracks ( const PFParticlesToTracks particlesToTracks)
private

Store 3D track hits.

Parameters
particlesToTracksmapping between 3D track hits and PFParticles

Definition at line 416 of file PFParticleHitDumper_module.cc.

Here is the caller graph for this function:

◆ FillRecoWires()

void lar_pandora::PFParticleHitDumper::FillRecoWires ( const art::Event &  event,
const WireVector wireVector 
)
private

Store raw data.

Parameters
wireVectorthe input vector of reconstructed wires

Definition at line 659 of file PFParticleHitDumper_module.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetUVW()

double lar_pandora::PFParticleHitDumper::GetUVW ( const geo::WireID &  wireID) const
private

Conversion from wire ID to U/V/W coordinate.

Parameters
wireIDthe input wire ID

Definition at line 718 of file PFParticleHitDumper_module.cc.

Here is the caller graph for this function:

◆ reconfigure()

void lar_pandora::PFParticleHitDumper::reconfigure ( fhicl::ParameterSet const &  pset)

Definition at line 220 of file PFParticleHitDumper_module.cc.

Here is the caller graph for this function:

◆ YZtoU()

double lar_pandora::PFParticleHitDumper::YZtoU ( const unsigned int  cstat,
const unsigned int  tpc,
const double  y,
const double  z 
) const
private

Convert from (Y,Z) to U coordinate.

Parameters
cstatthe cryostat
tpcthe tpc
ythe y coordinate
zthe z coordinate

Definition at line 744 of file PFParticleHitDumper_module.cc.

Here is the caller graph for this function:

◆ YZtoV()

double lar_pandora::PFParticleHitDumper::YZtoV ( const unsigned int  cstat,
const unsigned int  tpc,
const double  y,
const double  z 
) const
private

Convert from (Y,Z) to V coordinate.

Parameters
cstatthe crystat
tpcthe tpc
ythe y coordinate
zthe z coordinate

Definition at line 757 of file PFParticleHitDumper_module.cc.

Here is the caller graph for this function:

Member Data Documentation

◆ m_calwireLabel

std::string lar_pandora::PFParticleHitDumper::m_calwireLabel
private

Definition at line 161 of file PFParticleHitDumper_module.cc.

◆ m_clusterLabel

std::string lar_pandora::PFParticleHitDumper::m_clusterLabel
private

Definition at line 163 of file PFParticleHitDumper_module.cc.

◆ m_cstat

int lar_pandora::PFParticleHitDumper::m_cstat
private

Definition at line 144 of file PFParticleHitDumper_module.cc.

◆ m_event

int lar_pandora::PFParticleHitDumper::m_event
private

Definition at line 139 of file PFParticleHitDumper_module.cc.

◆ m_hitfinderLabel

std::string lar_pandora::PFParticleHitDumper::m_hitfinderLabel
private

Definition at line 162 of file PFParticleHitDumper_module.cc.

◆ m_hitsFromClusters

int lar_pandora::PFParticleHitDumper::m_hitsFromClusters
private

Definition at line 158 of file PFParticleHitDumper_module.cc.

◆ m_hitsFromSpacePoints

int lar_pandora::PFParticleHitDumper::m_hitsFromSpacePoints
private

Definition at line 157 of file PFParticleHitDumper_module.cc.

◆ m_hitsFromTrackOrShower

int lar_pandora::PFParticleHitDumper::m_hitsFromTrackOrShower
private

Definition at line 159 of file PFParticleHitDumper_module.cc.

◆ m_particle

int lar_pandora::PFParticleHitDumper::m_particle
private

Definition at line 140 of file PFParticleHitDumper_module.cc.

◆ m_particleLabel

std::string lar_pandora::PFParticleHitDumper::m_particleLabel
private

Definition at line 165 of file PFParticleHitDumper_module.cc.

◆ m_pdgcode

int lar_pandora::PFParticleHitDumper::m_pdgcode
private

Definition at line 142 of file PFParticleHitDumper_module.cc.

◆ m_plane

int lar_pandora::PFParticleHitDumper::m_plane
private

Definition at line 146 of file PFParticleHitDumper_module.cc.

◆ m_pReco2D

TTree* lar_pandora::PFParticleHitDumper::m_pReco2D
private

Definition at line 134 of file PFParticleHitDumper_module.cc.

◆ m_pReco3D

TTree* lar_pandora::PFParticleHitDumper::m_pReco3D
private

Definition at line 133 of file PFParticleHitDumper_module.cc.

◆ m_pRecoComparison

TTree* lar_pandora::PFParticleHitDumper::m_pRecoComparison
private

Definition at line 135 of file PFParticleHitDumper_module.cc.

◆ m_pRecoTracks

TTree* lar_pandora::PFParticleHitDumper::m_pRecoTracks
private

Definition at line 132 of file PFParticleHitDumper_module.cc.

◆ m_pRecoWire

TTree* lar_pandora::PFParticleHitDumper::m_pRecoWire
private

Definition at line 136 of file PFParticleHitDumper_module.cc.

◆ m_primary

int lar_pandora::PFParticleHitDumper::m_primary
private

Definition at line 141 of file PFParticleHitDumper_module.cc.

◆ m_printDebug

bool lar_pandora::PFParticleHitDumper::m_printDebug
private

switch for print statements (TODO: use message service!)

Definition at line 170 of file PFParticleHitDumper_module.cc.

◆ m_q

double lar_pandora::PFParticleHitDumper::m_q
private

Definition at line 155 of file PFParticleHitDumper_module.cc.

◆ m_run

int lar_pandora::PFParticleHitDumper::m_run
private

Definition at line 138 of file PFParticleHitDumper_module.cc.

◆ m_showerLabel

std::string lar_pandora::PFParticleHitDumper::m_showerLabel
private

Definition at line 167 of file PFParticleHitDumper_module.cc.

◆ m_spacepointLabel

std::string lar_pandora::PFParticleHitDumper::m_spacepointLabel
private

Definition at line 164 of file PFParticleHitDumper_module.cc.

◆ m_storeWires

bool lar_pandora::PFParticleHitDumper::m_storeWires
private

Definition at line 169 of file PFParticleHitDumper_module.cc.

◆ m_tpc

int lar_pandora::PFParticleHitDumper::m_tpc
private

Definition at line 145 of file PFParticleHitDumper_module.cc.

◆ m_trackLabel

std::string lar_pandora::PFParticleHitDumper::m_trackLabel
private

Definition at line 166 of file PFParticleHitDumper_module.cc.

◆ m_u

double lar_pandora::PFParticleHitDumper::m_u
private

Definition at line 149 of file PFParticleHitDumper_module.cc.

◆ m_v

double lar_pandora::PFParticleHitDumper::m_v
private

Definition at line 150 of file PFParticleHitDumper_module.cc.

◆ m_w

double lar_pandora::PFParticleHitDumper::m_w
private

Definition at line 151 of file PFParticleHitDumper_module.cc.

◆ m_wire

int lar_pandora::PFParticleHitDumper::m_wire
private

Definition at line 147 of file PFParticleHitDumper_module.cc.

◆ m_x

double lar_pandora::PFParticleHitDumper::m_x
private

Definition at line 152 of file PFParticleHitDumper_module.cc.

◆ m_y

double lar_pandora::PFParticleHitDumper::m_y
private

Definition at line 153 of file PFParticleHitDumper_module.cc.

◆ m_z

double lar_pandora::PFParticleHitDumper::m_z
private

Definition at line 154 of file PFParticleHitDumper_module.cc.


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