All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 
12 tss::Hit2D::Hit2D(detinfo::DetectorPropertiesData const& detProp, const art::Ptr<recob::Hit>& src)
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)
Hit2D(detinfo::DetectorPropertiesData const &detProp, const art::Ptr< recob::Hit > &src)
Definition: TssHit2D.cxx:12
Hit pos in cm and original recob hit ptr.
TVector2 fPoint2D
Definition: TssHit2D.h:93
unsigned int fPlane
Definition: TssHit2D.h:91
auto const detProp
unsigned int fWire
Definition: TssHit2D.h:91