LArSoft  v08_61_00
Liquid Argon Software toolkit - http://larsoft.org/
anab Namespace Reference

Classes

struct  BackTrackerHitMatchingData
 
struct  BackTrackerMatchingData
 
class  Calorimetry
 
class  CosmicTag
 
class  FeatureVector
 
class  FlashMatch
 
class  FVectorReader
 
class  FVectorWrapperBase
 Helper functions for MVAReader/Writer and FVecReader/Writer wrappers. More...
 
class  FVectorWriter
 
class  MVADescription
 
struct  MVAPIDResult
 
class  MVAReader
 
class  MVAWrapperBase
 Helper functions for MVAReader and MVAWriter wrappers. More...
 
class  MVAWriter
 
class  ParticleID
 
class  T0
 

Typedefs

typedef size_t FVector_ID
 Index to the MVA output / FeatureVector collection, used when result vectors are added or set. More...
 
typedef size_t MVAOutput_ID
 
using Point_t = recob::tracking::Point_t
 
typedef enum anab::cosmic_tag_id CosmicTagID_t
 
template<size_t N>
using FVecDescription = MVADescription< N >
 

Enumerations

enum  cosmic_tag_id {
  kUnknown =-1, kNotTagged =0, kGeometry_YY =1, kGeometry_YZ,
  kGeometry_ZZ, kGeometry_XX, kGeometry_XY, kGeometry_XZ,
  kGeometry_Y =21, kGeometry_Z, kGeometry_X, kOutsideDrift_Partial =100,
  kOutsideDrift_Complete, kFlash_BeamIncompatible =200, kFlash_Match =300, kNotIsolated =500
}
 

Functions

std::ostream & operator<< (std::ostream &o, Calorimetry const &a)
 
std::ostream & operator<< (std::ostream &o, CosmicTag const &a)
 
std::ostream & operator<< (std::ostream &o, FlashMatch const &a)
 
bool operator< (const MVAPIDResult &a, const MVAPIDResult &b)
 
std::ostream & operator<< (std::ostream &o, ParticleID const &a)
 
std::ostream & operator<< (std::ostream &o, T0 const &a)
 

Detailed Description

Title: PIDA Algorithim Class Author: Wes Ketchum (wketc.nosp@m.hum@.nosp@m.lanl..nosp@m.gov), based on ideas/code from Bruce Baller

Description: Algorithm that calculates the PIDA from a calorimetry object Input: anab::Calorimetry Output: PIDA information

Title: Track Calorimetry Algorithim Class Author: Wes Ketchum (wketc.nosp@m.hum@.nosp@m.lanl..nosp@m.gov), based on code the Calorimetry_module

Description: Algorithm that produces a calorimetry object given a track Input: recob::Track, Assn<recob::Spacepoint,recob::Track>, Assn<recob::Hit,recob::Track> Output: anab::Calorimetry, (and Assn<anab::Calorimetry,recob::Track>)

Typedef Documentation

template<size_t N>
using anab::FVecDescription = typedef MVADescription<N>

Definition at line 167 of file MVAOutput.h.

typedef size_t anab::FVector_ID

Index to the MVA output / FeatureVector collection, used when result vectors are added or set.

Definition at line 21 of file MVAWriter.h.

typedef size_t anab::MVAOutput_ID

Definition at line 22 of file MVAWriter.h.

Definition at line 20 of file Calorimetry.h.

Enumeration Type Documentation

Enumerator
kUnknown 
kNotTagged 
kGeometry_YY 
kGeometry_YZ 
kGeometry_ZZ 
kGeometry_XX 
kGeometry_XY 
kGeometry_XZ 
kGeometry_Y 
kGeometry_Z 
kGeometry_X 
kOutsideDrift_Partial 
kOutsideDrift_Complete 
kFlash_BeamIncompatible 
kFlash_Match 
kNotIsolated 

Definition at line 17 of file CosmicTag.h.

Function Documentation

bool anab::operator< ( const MVAPIDResult a,
const MVAPIDResult b 
)

Definition at line 31 of file MVAPIDResult.h.

References anab::MVAPIDResult::nSpacePoints.

32  {
33  return a.nSpacePoints<b.nSpacePoints;
34  }
std::ostream& anab::operator<< ( std::ostream &  o,
FlashMatch const &  a 
)

Definition at line 39 of file FlashMatch.cxx.

References anab::FlashMatch::fChi2, anab::FlashMatch::fFlashID, and anab::FlashMatch::fSubjectID.

40  {
41  o << "Flash match with Chi2: " << a.fChi2
42  << "\n from flash: " << a.fFlashID
43  << "\n to object: " << a.fSubjectID
44  <<std::endl;
45 
46 
47  return o;
48  }
std::ostream& anab::operator<< ( std::ostream &  o,
T0 const &  a 
)

Time in ns

Type of trigger used. 0 - Muon Counters, 1 - Photon Detectors, 2 - Monte Carlo Truth

An identifier for the Muon track / Flash / MCParticle used in matching.

Current size of T0 data product.

Confidence with which this T0 is known.

Definition at line 42 of file T0.cxx.

References anab::T0::fID, anab::T0::fTime, anab::T0::fTriggerBits, anab::T0::fTriggerConfidence, and anab::T0::fTriggerType.

43  {
44  o << "T0 with Time: " << a.fTime
45  << "\n from Trigger type: " << a.fTriggerType
46  << "\n with bits: " << a.fTriggerBits
47  << "\n with ID: " << a.fID
48  << "\n with confidence: " << a.fTriggerConfidence
49  <<std::endl;
50 
51  return o;
52  }
std::ostream& anab::operator<< ( std::ostream &  o,
CosmicTag const &  a 
)

Definition at line 52 of file CosmicTag.cxx.

References anab::CosmicTag::endPt1, anab::CosmicTag::endPt2, anab::CosmicTag::fCosmicScore, and anab::CosmicTag::fCosmicType.

53  {
54  o //<< "Flash Time : " << a.flashTime // should go
55  << "\n Cosmic Score : " << a.fCosmicScore
56  << "\n Cosmic Type : " << a.fCosmicType
57  << "\n End Point 1: " <<std::endl;
58  for(size_t i=0;i<a.endPt1.size(); i++)
59  o << a.endPt1[i] << ", ";
60  o << std::endl;
61  o << "\n End Point 2: " <<std::endl;
62  for(size_t i=0;i<a.endPt2.size(); i++)
63  o << a.endPt2[i] << ", ";
64  o << std::endl;
65 
66 
67  return o;
68  }
std::ostream& anab::operator<< ( std::ostream &  o,
ParticleID const &  a 
)

Definition at line 61 of file ParticleID.cxx.

References geo::CryostatID::Cryostat, anab::ParticleID::fChi2Kaon, anab::ParticleID::fChi2Muon, anab::ParticleID::fChi2Pion, anab::ParticleID::fChi2Proton, anab::ParticleID::fDeltaChi2, anab::ParticleID::fMinChi2, anab::ParticleID::fNdf, anab::ParticleID::fPdg, anab::ParticleID::fPIDA, anab::ParticleID::fPlaneID, geo::PlaneID::Plane, and geo::TPCID::TPC.

62  {
63  o << "Determined particle PDG code: " << a.fPdg
64  << "\n NDF: " << a.fNdf
65  << "\n Minimal chi2: " << a.fMinChi2
66  << "\n Delta chi2: " << a.fDeltaChi2
67  << "\n chi2 with proton template: " << a.fChi2Proton
68  << "\n chi2 with kaon template: " << a.fChi2Kaon
69  << "\n chi2 with pion template: " << a.fChi2Pion
70  << "\n chi2 with muon template: " << a.fChi2Muon
71  << "\n PIDA: " << a.fPIDA
72  << "\n planeID=(" << a.fPlaneID.Cryostat << "," << a.fPlaneID.TPC << "," << a.fPlaneID.Plane << ")"
73  <<std::endl;
74 
75 
76  return o;
77  }
std::ostream& anab::operator<< ( std::ostream &  o,
Calorimetry const &  a 
)

Definition at line 152 of file Calorimetry.cxx.

References geo::CryostatID::Cryostat, anab::Calorimetry::fdEdx, anab::Calorimetry::fdQdx, anab::Calorimetry::fKineticEnergy, anab::Calorimetry::fPlaneID, anab::Calorimetry::fRange, anab::Calorimetry::fResidualRange, anab::Calorimetry::fTrkPitch, anab::Calorimetry::fXYZ, n, geo::PlaneID::Plane, and geo::TPCID::TPC.

153  {
154  o << "Kinetic Energy: " << a.fKineticEnergy
155  << "\n Range: " << a.fRange << std::endl;
156 
157  for(size_t n = 0; n < a.fdEdx.size(); ++n)
158  o << "dE/dx=" << a.fdEdx[n]
159  << " Residual range=" << a.fResidualRange[n]
160  << " dQ/dx=" << a.fdQdx[n]
161  << " (x,y,z)=(" << a.fXYZ[n].X() << "," << a.fXYZ[n].Y() << "," << a.fXYZ[n].Z() << ")"
162  << " pitch=" << a.fTrkPitch[n]
163  << " planeID=(" << a.fPlaneID.Cryostat << "," << a.fPlaneID.TPC << "," << a.fPlaneID.Plane << ")"
164  << std::endl;
165 
166  return o;
167  }
Char_t n[5]