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
sbnanaobj
sbnanaobj
StandardRecord
SRHit.h
Go to the documentation of this file.
1
////////////////////////////////////////////////////////////////////////
2
// \file SRHit.h
3
////////////////////////////////////////////////////////////////////////
4
#ifndef SRHIT_H
5
#define SRHIT_H
6
7
#include "
sbnanaobj/StandardRecord/SRVector3D.h
"
8
#include "
sbnanaobj/StandardRecord/SRConstants.h
"
9
10
namespace
caf
11
{
12
/// Representation of a rb::Spacepoint, knows pfp ID and position
13
class
SRSpacePoint
14
{
15
public
:
16
SRSpacePoint
();
17
~SRSpacePoint
() { }
18
19
SRVector3D
XYZ
;
20
double
chisq
{
kSignalingNaN
};
21
22
int
ID
{
kUninitializedInt
};
// spacepoint ID
23
int
pfpID
{
kUninitializedInt
};
// PFP ID that this spacepoint belongs to; -1 if no PFP
24
};
25
26
/// Representation of a rb::Hit, knows hit amplitude and integral, geometric IDs, and time
27
class
SRHit
28
{
29
public
:
30
SRHit
();
31
~SRHit
(){ }
32
float
peakTime
{
kSignalingNaN
};
// time of hit peak in tick units
33
34
float
RMS
{
kSignalingNaN
};
35
36
float
peakAmplitude
{
kSignalingNaN
};
37
float
integral
{
kSignalingNaN
};
38
39
int
cryoID
{
kUninitializedInt
};
40
int
tpcID
{
kUninitializedInt
};
41
int
planeID
{
kUninitializedInt
};
42
int
wireID
{
kUninitializedInt
};
43
44
SRSpacePoint
spacepoint
;
45
46
void
setDefault
();
47
};
48
49
}
// end namespace
50
51
#endif // SRHIT_H
52
//////////////////////////////////////////////////////////////////////////////
caf::SRSpacePoint::pfpID
int pfpID
Definition:
SRHit.h:23
caf::SRSpacePoint::chisq
double chisq
Definition:
SRHit.h:20
caf::SRSpacePoint::ID
int ID
Definition:
SRHit.h:22
caf::SRVector3D
A 3-vector with more efficient storage than TVector3.
Definition:
SRVector3D.h:16
caf::SRHit::~SRHit
~SRHit()
Definition:
SRHit.h:31
caf::SRHit::peakTime
float peakTime
Definition:
SRHit.h:32
caf::SRHit::wireID
int wireID
Definition:
SRHit.h:42
caf::SRHit::RMS
float RMS
Definition:
SRHit.h:34
caf::SRHit
Representation of a rb::Hit, knows hit amplitude and integral, geometric IDs, and time...
Definition:
SRHit.h:27
caf::SRHit::planeID
int planeID
Definition:
SRHit.h:41
caf::SRSpacePoint::SRSpacePoint
SRSpacePoint()
Definition:
SRHit.cxx:14
caf::SRHit::peakAmplitude
float peakAmplitude
Definition:
SRHit.h:36
caf::SRHit::SRHit
SRHit()
Definition:
SRHit.cxx:17
caf::SRHit::cryoID
int cryoID
Definition:
SRHit.h:39
caf::SRSpacePoint::XYZ
SRVector3D XYZ
Definition:
SRHit.h:19
caf::SRHit::spacepoint
SRSpacePoint spacepoint
Definition:
SRHit.h:44
SRVector3D.h
SRConstants.h
caf::SRHit::tpcID
int tpcID
Definition:
SRHit.h:40
caf::kUninitializedInt
constexpr int kUninitializedInt
Definition:
SRConstants.h:9
caf::SRHit::integral
float integral
Definition:
SRHit.h:37
caf::kSignalingNaN
constexpr float kSignalingNaN
Definition:
SRConstants.h:8
caf::SRHit::setDefault
void setDefault()
Definition:
SRHit.cxx:20
caf::SRSpacePoint
Representation of a rb::Spacepoint, knows pfp ID and position.
Definition:
SRHit.h:13
caf::SRSpacePoint::~SRSpacePoint
~SRSpacePoint()
Definition:
SRHit.h:17
Generated by
1.8.5