Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
shower::LArPandoraShowerAlg Class Reference

#include "LArPandoraShowerAlg.h"

Public Member Functions

 LArPandoraShowerAlg (const fhicl::ParameterSet &pset)
 
void OrderShowerHits (detinfo::DetectorPropertiesData const &detProp, std::vector< art::Ptr< recob::Hit > > &hits, geo::Point_t const &ShowerPosition, geo::Vector_t const &ShowerDirection) const
 
void OrderShowerSpacePointsPerpendicular (std::vector< art::Ptr< recob::SpacePoint > > &showersps, geo::Point_t const &vertex, geo::Vector_t const &direction) const
 
void OrderShowerSpacePoints (std::vector< art::Ptr< recob::SpacePoint > > &showersps, geo::Point_t const &vertex, geo::Vector_t const &direction) const
 
void OrderShowerSpacePoints (std::vector< art::Ptr< recob::SpacePoint > > &showersps, geo::Point_t const &vertex) const
 
geo::Point_t ShowerCentre (std::vector< art::Ptr< recob::SpacePoint > > const &showersps) const
 
geo::Point_t ShowerCentre (detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, std::vector< art::Ptr< recob::SpacePoint > > const &showersps, art::FindManyP< recob::Hit > const &fmh, float &totalCharge) const
 
geo::Point_t ShowerCentre (detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, std::vector< art::Ptr< recob::SpacePoint > > const &showerspcs, art::FindManyP< recob::Hit > const &fmh) const
 
double DistanceBetweenSpacePoints (art::Ptr< recob::SpacePoint > const &sp_a, art::Ptr< recob::SpacePoint > const &sp_b) const
 
double SpacePointCharge (art::Ptr< recob::SpacePoint > const &sp, art::FindManyP< recob::Hit > const &fmh) const
 
double SpacePointTime (art::Ptr< recob::SpacePoint > const &sp, art::FindManyP< recob::Hit > const &fmh) const
 
TVector2 HitCoordinates (detinfo::DetectorPropertiesData const &detProp, art::Ptr< recob::Hit > const &hit) const
 
double SpacePointProjection (art::Ptr< recob::SpacePoint > const &sp, geo::Point_t const &vertex, geo::Vector_t const &direction) const
 
double SpacePointPerpendicular (art::Ptr< recob::SpacePoint > const &sp, geo::Point_t const &vertex, geo::Vector_t const &direction) const
 
double SpacePointPerpendicular (art::Ptr< recob::SpacePoint > const &sp, geo::Point_t const &vertex, geo::Vector_t const &direction, double proj) const
 
double RMSShowerGradient (std::vector< art::Ptr< recob::SpacePoint > > &sps, const geo::Point_t &ShowerCentre, const geo::Vector_t &Direction, const unsigned int nSegments) const
 
double CalculateRMS (const std::vector< float > &perps) const
 
double SCECorrectPitch (double const &pitch, geo::Point_t const &pos, geo::Vector_t const &dir, unsigned int const &TPC) const
 
double SCECorrectEField (double const &EField, geo::Point_t const &pos) const
 
std::map< art::Ptr< recob::Hit >, std::vector< art::Ptr< recob::Hit > > > OrganizeHits (const std::vector< art::Ptr< recob::Hit > > &hits) const
 
void DebugEVD (art::Ptr< recob::PFParticle > const &pfparticle, art::Event const &Event, const reco::shower::ShowerElementHolder &ShowerEleHolder, std::string const &evd_disp_name_append="") const
 

Private Attributes

bool fUseCollectionOnly
 
art::InputTag fPFParticleLabel
 
bool fSCEXFlip
 
spacecharge::SpaceCharge const * fSCE
 
art::ServiceHandle< geo::Geometry const > fGeom
 
art::ServiceHandle< art::TFileService > tfs
 
const std::string fInitialTrackInputLabel
 
const std::string fShowerStartPositionInputLabel
 
const std::string fShowerDirectionInputLabel
 
const std::string fInitialTrackSpacePointsInputLabel
 

Detailed Description

Definition at line 40 of file LArPandoraShowerAlg.h.

Constructor & Destructor Documentation

◆ LArPandoraShowerAlg()

shower::LArPandoraShowerAlg::LArPandoraShowerAlg ( const fhicl::ParameterSet &  pset)
explicit

Definition at line 25 of file LArPandoraShowerAlg.cxx.

Member Function Documentation

◆ CalculateRMS()

double shower::LArPandoraShowerAlg::CalculateRMS ( const std::vector< float > &  perps) const

Definition at line 467 of file LArPandoraShowerAlg.cxx.

◆ DebugEVD()

void shower::LArPandoraShowerAlg::DebugEVD ( art::Ptr< recob::PFParticle > const &  pfparticle,
art::Event const &  Event,
const reco::shower::ShowerElementHolder ShowerEleHolder,
std::string const &  evd_disp_name_append = "" 
) const

Definition at line 602 of file LArPandoraShowerAlg.cxx.

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

◆ DistanceBetweenSpacePoints()

double shower::LArPandoraShowerAlg::DistanceBetweenSpacePoints ( art::Ptr< recob::SpacePoint > const &  sp_a,
art::Ptr< recob::SpacePoint > const &  sp_b 
) const

Definition at line 310 of file LArPandoraShowerAlg.cxx.

Here is the caller graph for this function:

◆ HitCoordinates()

TVector2 shower::LArPandoraShowerAlg::HitCoordinates ( detinfo::DetectorPropertiesData const &  detProp,
art::Ptr< recob::Hit > const &  hit 
) const

Definition at line 351 of file LArPandoraShowerAlg.cxx.

Here is the caller graph for this function:

◆ OrderShowerHits()

void shower::LArPandoraShowerAlg::OrderShowerHits ( detinfo::DetectorPropertiesData const &  detProp,
std::vector< art::Ptr< recob::Hit > > &  hits,
geo::Point_t const &  ShowerPosition,
geo::Vector_t const &  ShowerDirection 
) const

Definition at line 39 of file LArPandoraShowerAlg.cxx.

Here is the caller graph for this function:

◆ OrderShowerSpacePoints() [1/2]

void shower::LArPandoraShowerAlg::OrderShowerSpacePoints ( std::vector< art::Ptr< recob::SpacePoint > > &  showersps,
geo::Point_t const &  vertex 
) const

Definition at line 167 of file LArPandoraShowerAlg.cxx.

◆ OrderShowerSpacePoints() [2/2]

void shower::LArPandoraShowerAlg::OrderShowerSpacePoints ( std::vector< art::Ptr< recob::SpacePoint > > &  showersps,
geo::Point_t const &  vertex,
geo::Vector_t const &  direction 
) const

Definition at line 142 of file LArPandoraShowerAlg.cxx.

Here is the caller graph for this function:

◆ OrderShowerSpacePointsPerpendicular()

void shower::LArPandoraShowerAlg::OrderShowerSpacePointsPerpendicular ( std::vector< art::Ptr< recob::SpacePoint > > &  showersps,
geo::Point_t const &  vertex,
geo::Vector_t const &  direction 
) const

Definition at line 115 of file LArPandoraShowerAlg.cxx.

Here is the caller graph for this function:

◆ OrganizeHits()

std::map< art::Ptr< recob::Hit >, std::vector< art::Ptr< recob::Hit > > > shower::LArPandoraShowerAlg::OrganizeHits ( const std::vector< art::Ptr< recob::Hit > > &  hits) const

Definition at line 529 of file LArPandoraShowerAlg.cxx.

Here is the caller graph for this function:

◆ RMSShowerGradient()

double shower::LArPandoraShowerAlg::RMSShowerGradient ( std::vector< art::Ptr< recob::SpacePoint > > &  sps,
const geo::Point_t &  ShowerCentre,
const geo::Vector_t &  Direction,
const unsigned int  nSegments 
) const

Definition at line 400 of file LArPandoraShowerAlg.cxx.

Here is the caller graph for this function:

◆ SCECorrectEField()

double shower::LArPandoraShowerAlg::SCECorrectEField ( double const &  EField,
geo::Point_t const &  pos 
) const

Definition at line 509 of file LArPandoraShowerAlg.cxx.

Here is the caller graph for this function:

◆ SCECorrectPitch()

double shower::LArPandoraShowerAlg::SCECorrectPitch ( double const &  pitch,
geo::Point_t const &  pos,
geo::Vector_t const &  dir,
unsigned int const &  TPC 
) const

Definition at line 480 of file LArPandoraShowerAlg.cxx.

Here is the caller graph for this function:

◆ ShowerCentre() [1/3]

geo::Point_t shower::LArPandoraShowerAlg::ShowerCentre ( detinfo::DetectorClocksData const &  clockData,
detinfo::DetectorPropertiesData const &  detProp,
std::vector< art::Ptr< recob::SpacePoint > > const &  showerspcs,
art::FindManyP< recob::Hit > const &  fmh 
) const

Definition at line 209 of file LArPandoraShowerAlg.cxx.

Here is the call graph for this function:

◆ ShowerCentre() [2/3]

geo::Point_t shower::LArPandoraShowerAlg::ShowerCentre ( detinfo::DetectorClocksData const &  clockData,
detinfo::DetectorPropertiesData const &  detProp,
std::vector< art::Ptr< recob::SpacePoint > > const &  showersps,
art::FindManyP< recob::Hit > const &  fmh,
float &  totalCharge 
) const

Definition at line 221 of file LArPandoraShowerAlg.cxx.

◆ ShowerCentre() [3/3]

geo::Point_t shower::LArPandoraShowerAlg::ShowerCentre ( std::vector< art::Ptr< recob::SpacePoint > > const &  showersps) const

Definition at line 190 of file LArPandoraShowerAlg.cxx.

Here is the caller graph for this function:

◆ SpacePointCharge()

double shower::LArPandoraShowerAlg::SpacePointCharge ( art::Ptr< recob::SpacePoint > const &  sp,
art::FindManyP< recob::Hit > const &  fmh 
) const

Definition at line 318 of file LArPandoraShowerAlg.cxx.

Here is the caller graph for this function:

◆ SpacePointPerpendicular() [1/2]

double shower::LArPandoraShowerAlg::SpacePointPerpendicular ( art::Ptr< recob::SpacePoint > const &  sp,
geo::Point_t const &  vertex,
geo::Vector_t const &  direction 
) const

Definition at line 374 of file LArPandoraShowerAlg.cxx.

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

◆ SpacePointPerpendicular() [2/2]

double shower::LArPandoraShowerAlg::SpacePointPerpendicular ( art::Ptr< recob::SpacePoint > const &  sp,
geo::Point_t const &  vertex,
geo::Vector_t const &  direction,
double  proj 
) const

Definition at line 384 of file LArPandoraShowerAlg.cxx.

◆ SpacePointProjection()

double shower::LArPandoraShowerAlg::SpacePointProjection ( art::Ptr< recob::SpacePoint > const &  sp,
geo::Point_t const &  vertex,
geo::Vector_t const &  direction 
) const

Definition at line 363 of file LArPandoraShowerAlg.cxx.

Here is the caller graph for this function:

◆ SpacePointTime()

double shower::LArPandoraShowerAlg::SpacePointTime ( art::Ptr< recob::SpacePoint > const &  sp,
art::FindManyP< recob::Hit > const &  fmh 
) const

Definition at line 335 of file LArPandoraShowerAlg.cxx.

Here is the caller graph for this function:

Member Data Documentation

◆ fGeom

art::ServiceHandle<geo::Geometry const> shower::LArPandoraShowerAlg::fGeom
private

Definition at line 127 of file LArPandoraShowerAlg.h.

◆ fInitialTrackInputLabel

const std::string shower::LArPandoraShowerAlg::fInitialTrackInputLabel
private

Definition at line 130 of file LArPandoraShowerAlg.h.

◆ fInitialTrackSpacePointsInputLabel

const std::string shower::LArPandoraShowerAlg::fInitialTrackSpacePointsInputLabel
private

Definition at line 133 of file LArPandoraShowerAlg.h.

◆ fPFParticleLabel

art::InputTag shower::LArPandoraShowerAlg::fPFParticleLabel
private

Definition at line 123 of file LArPandoraShowerAlg.h.

◆ fSCE

spacecharge::SpaceCharge const* shower::LArPandoraShowerAlg::fSCE
private

Definition at line 126 of file LArPandoraShowerAlg.h.

◆ fSCEXFlip

bool shower::LArPandoraShowerAlg::fSCEXFlip
private

Definition at line 124 of file LArPandoraShowerAlg.h.

◆ fShowerDirectionInputLabel

const std::string shower::LArPandoraShowerAlg::fShowerDirectionInputLabel
private

Definition at line 132 of file LArPandoraShowerAlg.h.

◆ fShowerStartPositionInputLabel

const std::string shower::LArPandoraShowerAlg::fShowerStartPositionInputLabel
private

Definition at line 131 of file LArPandoraShowerAlg.h.

◆ fUseCollectionOnly

bool shower::LArPandoraShowerAlg::fUseCollectionOnly
private

Definition at line 122 of file LArPandoraShowerAlg.h.

◆ tfs

art::ServiceHandle<art::TFileService> shower::LArPandoraShowerAlg::tfs
private

Definition at line 128 of file LArPandoraShowerAlg.h.


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