All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
tss::Hit2D Class Reference

#include <TssHit2D.h>

Public Member Functions

 Hit2D (detinfo::DetectorPropertiesData const &detProp, const art::Ptr< recob::Hit > &src)
 
art::Ptr< recob::HitHit2DPtr () const
 
TVector2 const & Point2D () const
 
unsigned int Cryo () const
 
unsigned int TPC () const
 
unsigned int View () const
 
unsigned int Wire () const
 
float PeakTime () const
 
int StartTick () const
 
int EndTick () const
 
float SummedADC () const
 
float GetAmplitude () const
 

Private Attributes

art::Ptr< recob::HitfHit
 
unsigned int fPlane
 
unsigned int fWire
 
TVector2 fPoint2D
 

Detailed Description

Definition at line 25 of file TssHit2D.h.

Constructor & Destructor Documentation

tss::Hit2D::Hit2D ( detinfo::DetectorPropertiesData const &  detProp,
const art::Ptr< recob::Hit > &  src 
)

Definition at line 12 of file TssHit2D.cxx.

13  : fHit(src)
14 {
15  fPlane = src->WireID().Plane;
16  fWire = src->WireID().Wire;
17 
19  detProp, fWire, src->PeakTime(), fPlane, src->WireID().TPC, src->WireID().Cryostat);
20 }
TVector2 WireDriftToCm(detinfo::DetectorPropertiesData const &detProp, unsigned int wire, float drift, unsigned int plane, unsigned int tpc, unsigned int cryo)
art::Ptr< recob::Hit > fHit
Definition: TssHit2D.h:89
TVector2 fPoint2D
Definition: TssHit2D.h:93
unsigned int fPlane
Definition: TssHit2D.h:91
auto const detProp
unsigned int fWire
Definition: TssHit2D.h:91

Member Function Documentation

unsigned int tss::Hit2D::Cryo ( ) const
inline

Definition at line 42 of file TssHit2D.h.

43  {
44  return fHit->WireID().Cryostat;
45  }
art::Ptr< recob::Hit > fHit
Definition: TssHit2D.h:89
int tss::Hit2D::EndTick ( ) const
inline

Definition at line 72 of file TssHit2D.h.

73  {
74  return fHit->EndTick();
75  }
art::Ptr< recob::Hit > fHit
Definition: TssHit2D.h:89
float tss::Hit2D::GetAmplitude ( ) const
inline

Definition at line 83 of file TssHit2D.h.

84  {
85  return fHit->PeakAmplitude();
86  }
art::Ptr< recob::Hit > fHit
Definition: TssHit2D.h:89
art::Ptr<recob::Hit> tss::Hit2D::Hit2DPtr ( ) const
inline

Definition at line 30 of file TssHit2D.h.

31  {
32  return fHit;
33  }
art::Ptr< recob::Hit > fHit
Definition: TssHit2D.h:89
float tss::Hit2D::PeakTime ( ) const
inline

Definition at line 62 of file TssHit2D.h.

63  {
64  return fHit->PeakTime();
65  }
art::Ptr< recob::Hit > fHit
Definition: TssHit2D.h:89
TVector2 const& tss::Hit2D::Point2D ( ) const
inline

Definition at line 36 of file TssHit2D.h.

37  {
38  return fPoint2D;
39  }
TVector2 fPoint2D
Definition: TssHit2D.h:93
int tss::Hit2D::StartTick ( ) const
inline

Definition at line 67 of file TssHit2D.h.

68  {
69  return fHit->StartTick();
70  }
art::Ptr< recob::Hit > fHit
Definition: TssHit2D.h:89
float tss::Hit2D::SummedADC ( ) const
inline

Definition at line 78 of file TssHit2D.h.

79  {
80  return fHit->SummedADC();
81  }
art::Ptr< recob::Hit > fHit
Definition: TssHit2D.h:89
unsigned int tss::Hit2D::TPC ( ) const
inline

Definition at line 47 of file TssHit2D.h.

48  {
49  return fHit->WireID().TPC;
50  }
art::Ptr< recob::Hit > fHit
Definition: TssHit2D.h:89
unsigned int tss::Hit2D::View ( ) const
inline

Definition at line 52 of file TssHit2D.h.

53  {
54  return fPlane;
55  }
unsigned int fPlane
Definition: TssHit2D.h:91
unsigned int tss::Hit2D::Wire ( ) const
inline

Definition at line 57 of file TssHit2D.h.

58  {
59  return fWire;
60  }
unsigned int fWire
Definition: TssHit2D.h:91

Member Data Documentation

art::Ptr<recob::Hit> tss::Hit2D::fHit
private

Definition at line 89 of file TssHit2D.h.

unsigned int tss::Hit2D::fPlane
private

Definition at line 91 of file TssHit2D.h.

TVector2 tss::Hit2D::fPoint2D
private

Definition at line 93 of file TssHit2D.h.

unsigned int tss::Hit2D::fWire
private

Definition at line 91 of file TssHit2D.h.


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