LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
TssHit2D.cxx
Go to the documentation of this file.
1 
9 #include "TssHit2D.h"
11 
15 
16 
18  fPlane(0), fWire(0),
19  fPoint2D(0, 0)
20 {
21 }
22 
24  fHit(src)
25 {
26  fPlane = src->WireID().Plane;
27  fWire = src->WireID().Wire;
28 
30  fWire, src->PeakTime(), fPlane,
31  src->WireID().TPC, src->WireID().Cryostat);
32 }
33 
35  fHit(src.fHit),
36  fPlane(src.fPlane), fWire(src.fWire),
37  fPoint2D(src.fPoint2D)
38 {
39 }
40 
art::Ptr< recob::Hit > fHit
Definition: TssHit2D.h:52
Hit2D(void)
Definition: TssHit2D.cxx:17
geo::WireID WireID() const
Initial tdc tick for hit.
Definition: Hit.h:234
CryostatID_t Cryostat
Index of cryostat.
Definition: geo_types.h:130
WireID_t Wire
Index of the wire within its plane.
Definition: geo_types.h:313
Hit pos in cm and original recob hit ptr.
PlaneID_t Plane
Index of the plane within its TPC.
Definition: geo_types.h:258
Encapsulate the geometry of a wire.
Implementation of the Projection Matching Algorithm.
float PeakTime() const
Time of the signal peak, in tick units.
Definition: Hit.h:219
Encapsulate the construction of a single detector plane.
TVector2 WireDriftToCm(unsigned int wire, float drift, unsigned int plane, unsigned int tpc, unsigned int cryo)
Definition: Utilities.cxx:307
TVector2 fPoint2D
Definition: TssHit2D.h:56
unsigned int fPlane
Definition: TssHit2D.h:54
TPCID_t TPC
Index of the TPC within its cryostat.
Definition: geo_types.h:203
Encapsulate the construction of a single detector plane.
unsigned int fWire
Definition: TssHit2D.h:54