LArSoft  v06_85_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
 
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)
 

Typedef Documentation

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

Definition at line 168 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 22 of file MVAWriter.h.

typedef size_t anab::MVAOutput_ID

Definition at line 23 of file MVAWriter.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 21 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 38 of file FlashMatch.cxx.

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

39  {
40  o << "Flash match with Chi2: " << a.fChi2
41  << "\n from flash: " << a.fFlashID
42  << "\n to object: " << a.fSubjectID
43  <<std::endl;
44 
45 
46  return o;
47  }
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 41 of file T0.cxx.

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

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

Definition at line 50 of file CosmicTag.cxx.

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

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

Definition at line 60 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.

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

Definition at line 148 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.

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