Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
srcs
larreco
larreco
ClusterFinder
TrackShowerSplitter
Segmentation2D
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
"
10
#include "
larreco/RecoAlg/PMAlg/Utilities.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
18
fPoint2D
=
pma::WireDriftToCm
(
19
detProp,
fWire
, src->PeakTime(),
fPlane
, src->WireID().TPC, src->WireID().Cryostat);
20
}
detinfo::DetectorPropertiesData
Definition:
DetectorPropertiesData.h:11
pma::WireDriftToCm
TVector2 WireDriftToCm(detinfo::DetectorPropertiesData const &detProp, unsigned int wire, float drift, unsigned int plane, unsigned int tpc, unsigned int cryo)
Definition:
larreco/larreco/RecoAlg/PMAlg/Utilities.cxx:297
tss::Hit2D::Hit2D
Hit2D(detinfo::DetectorPropertiesData const &detProp, const art::Ptr< recob::Hit > &src)
Definition:
TssHit2D.cxx:12
TssHit2D.h
Hit pos in cm and original recob hit ptr.
tss::Hit2D::fPoint2D
TVector2 fPoint2D
Definition:
TssHit2D.h:93
tss::Hit2D::fPlane
unsigned int fPlane
Definition:
TssHit2D.h:91
Utilities.h
detsim::detProp
auto const detProp
Definition:
SimWire_module.cc:157
tss::Hit2D::fWire
unsigned int fWire
Definition:
TssHit2D.h:91
Generated by
1.8.5