TssHit2D.cxx
Go to the documentation of this file.
1 /**
2  * @file TssHit2D.cxx
3  *
4  * @author D.Stefan and R.Sulej
5  *
6  * @brief Hit pos in cm and original recob hit ptr.
7  */
8 
9 #include "TssHit2D.h"
11 
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 }
geo::WireID WireID() const
Definition: Hit.h:233
CryostatID_t Cryostat
Index of cryostat.
Definition: geo_types.h:212
TVector2 WireDriftToCm(detinfo::DetectorPropertiesData const &detProp, unsigned int wire, float drift, unsigned int plane, unsigned int tpc, unsigned int cryo)
Definition: Utilities.cxx:294
WireID_t Wire
Index of the wire within its plane.
Definition: geo_types.h:580
Hit2D(detinfo::DetectorPropertiesData const &detProp, const art::Ptr< recob::Hit > &src)
Definition: TssHit2D.cxx:12
Hit pos in cm and original recob hit ptr.
PlaneID_t Plane
Index of the plane within its TPC.
Definition: geo_types.h:493
Implementation of the Projection Matching Algorithm.
float PeakTime() const
Time of the signal peak, in tick units.
Definition: Hit.h:218
TVector2 fPoint2D
Definition: TssHit2D.h:93
unsigned int fPlane
Definition: TssHit2D.h:91
TPCID_t TPC
Index of the TPC within its cryostat.
Definition: geo_types.h:406
unsigned int fWire
Definition: TssHit2D.h:91