#include <helper_PandoraPFParticles.h>
Definition at line 56 of file helper_PandoraPFParticles.h.
Definition at line 5 of file helper_PandoraPFParticles.cxx.
24 const unsigned int nShowers(input_Showers.size());
25 const unsigned int nTracks(input_Tracks.size());
26 if(nShowers+nTracks != 1) mf::LogDebug(
"SinglePhoton") <<
" No just one shower/track is associated to PFParticle " <<
pPFParticleID <<
"\n";
41 for(
size_t index=0; index<
pClusters.size(); ++index){
43 std::vector< art::Ptr<recob::Hit > > temp_hits = input_Hits.at(
cluster.key());
55 std::map<std::string, float> propertiesmap = meta->GetPropertiesMap();
56 if(propertiesmap.count(
"NuScore")==1)
pNuScore = propertiesmap[
"NuScore"];
57 if(propertiesmap.count(
"TrackScore")==1)
pTrackScore = propertiesmap[
"TrackScore"];
58 if(propertiesmap.count(
"IsNeutrino")==1)
pIsNeutrino =
true;
std::vector< art::Ptr< recob::Cluster > > pClusters
art::Ptr< recob::Track > pTrack
art::Ptr< recob::Shower > pShower
art::Ptr< recob::PFParticle > pPFParticle
std::vector< art::Ptr< recob::Hit > > pPFPHits
art::Ptr< recob::PFParticle > pAncestor
std::vector< art::Ptr< recob::Vertex > > pVertex
std::vector< art::Ptr< larpandoraobj::PFParticleMetadata > > pMetaData
const int single_photon::PandoraPFParticle::get_AncestorID |
( |
| ) |
const |
|
inline |
const std::vector< art::Ptr< anab::Calorimetry > > single_photon::PandoraPFParticle::get_Calorimetries |
( |
| ) |
const |
|
inline |
const bool single_photon::PandoraPFParticle::get_HasPID |
( |
| ) |
const |
|
inline |
const int single_photon::PandoraPFParticle::get_HasShower |
( |
| ) |
const |
|
inline |
const int single_photon::PandoraPFParticle::get_HasTrack |
( |
| ) |
const |
|
inline |
const bool single_photon::PandoraPFParticle::get_IsClearCosmic |
( |
| ) |
const |
|
inline |
const bool single_photon::PandoraPFParticle::get_IsNeutrino |
( |
| ) |
const |
|
inline |
const bool single_photon::PandoraPFParticle::get_IsNuSlice |
( |
| ) |
const |
|
inline |
const double single_photon::PandoraPFParticle::get_NuScore |
( |
| ) |
const |
|
inline |
const art::Ptr< anab::ParticleID > single_photon::PandoraPFParticle::get_ParticleID |
( |
| ) |
const |
|
inline |
const int single_photon::PandoraPFParticle::get_PdgCode |
( |
| ) |
const |
|
inline |
const int single_photon::PandoraPFParticle::get_PFParticleID |
( |
| ) |
const |
|
inline |
const int single_photon::PandoraPFParticle::get_SliceID |
( |
| ) |
const |
|
inline |
const double single_photon::PandoraPFParticle::get_TrackScore |
( |
| ) |
const |
|
inline |
const double * single_photon::PandoraPFParticle::get_Vertex_pos |
( |
| ) |
const |
|
inline |
void single_photon::PandoraPFParticle::set_AncestorID |
( |
const int |
input_number | ) |
|
|
inline |
void single_photon::PandoraPFParticle::set_Calorimetries |
( |
const std::vector< art::Ptr< anab::Calorimetry >> |
input_Calorimetries | ) |
|
|
inline |
void single_photon::PandoraPFParticle::set_HasPID |
( |
const bool |
input_bool | ) |
|
|
inline |
void single_photon::PandoraPFParticle::set_IsNuSlice |
( |
const bool |
input_bool | ) |
|
|
inline |
void single_photon::PandoraPFParticle::set_NuScore |
( |
const double |
input_score | ) |
|
|
inline |
void single_photon::PandoraPFParticle::set_ParticleID |
( |
const art::Ptr< anab::ParticleID > |
input_ParticleID | ) |
|
|
inline |
void single_photon::PandoraPFParticle::set_SliceID |
( |
const int |
input_number | ) |
|
|
inline |
int single_photon::PandoraPFParticle::pAncestorID = -9 |
|
private |
std::vector<art::Ptr<anab::Calorimetry> > single_photon::PandoraPFParticle::pCalorimetries |
std::vector< art::Ptr< recob::Cluster > > single_photon::PandoraPFParticle::pClusters |
bool single_photon::PandoraPFParticle::pHasPID = false |
|
private |
int single_photon::PandoraPFParticle::pHasShower = 0 |
|
private |
int single_photon::PandoraPFParticle::pHasTrack = 0 |
|
private |
bool single_photon::PandoraPFParticle::pIsClearCosmic = false |
|
private |
bool single_photon::PandoraPFParticle::pIsNeutrino = false |
|
private |
bool single_photon::PandoraPFParticle::pIsNuSlice = false |
|
private |
std::vector< art::Ptr< simb::MCParticle > > single_photon::PandoraPFParticle::pMCParticles |
art::Ptr< simb::MCTruth > single_photon::PandoraPFParticle::pMCTruth |
double single_photon::PandoraPFParticle::pNuScore = -999 |
|
private |
int single_photon::PandoraPFParticle::pPdgCode = -999 |
|
private |
int single_photon::PandoraPFParticle::pPFParticleID = -9 |
|
private |
std::vector< art::Ptr< recob::Hit > > single_photon::PandoraPFParticle::pPFPHits |
art::Ptr< recob::Shower> single_photon::PandoraPFParticle::pShower |
art::Ptr< recob::Slice > single_photon::PandoraPFParticle::pSlice |
std::vector< art::Ptr< recob::Hit > > single_photon::PandoraPFParticle::pSliceHits |
int single_photon::PandoraPFParticle::pSliceID = -9 |
|
private |
std::vector< art::Ptr< recob::SpacePoint > > single_photon::PandoraPFParticle::pSpacePoints |
art::Ptr< recob::Track > single_photon::PandoraPFParticle::pTrack |
double single_photon::PandoraPFParticle::pTrackScore = -999 |
|
private |
std::vector< art::Ptr< recob::Vertex > > single_photon::PandoraPFParticle::pVertex |
double single_photon::PandoraPFParticle::pVertex_pos[3] = {-9999,-9999,-9999} |
|
private |
The documentation for this class was generated from the following files: