Public Member Functions | Public Attributes | List of all members
caf::SRSlice Class Reference

An SRSlice contains overarching information for a slice. More...

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-11-28/StandardRecord/SRSlice.h"

Public Member Functions

 SRSlice ()
 
virtual ~SRSlice ()
 
void setDefault ()
 

Public Attributes

unsigned int nhit
 number of hits More...
 
unsigned int ncalhit
 number of hits with calibration More...
 
unsigned int nmiphit
 number of minimum ionizing hits More...
 
unsigned int ncontplanes
 number of continuous planes More...
 
unsigned int firstplane
 first plane More...
 
unsigned int lastplane
 last plane More...
 
unsigned int firstcell
 first cell More...
 
unsigned int lastcell
 last cell More...
 
unsigned int ncellsfromedge
 minimum number of cells to edge of detector More...
 
unsigned int nnonnoise
 
unsigned int nnoisehit
 Number of noise hits (calibrated) More...
 
float fracnoiseE
 Fraction of energy which comes from noise. More...
 
float fracnoisePE
 Fraction of energy which comes from noise. More...
 
float calE
 Calorimetric energy of the cluster [GeV]. More...
 
float starttime
 start time [ns] More...
 
float endtime
 end time [ns] More...
 
float meantime
 mean time, weighted by charge [ns] More...
 
float tsd
 standard deviation of slice hits in time in nanoseconds More...
 
float closestslicetime
 time difference between meantime of this slice and meantime of slice closest in time, in nanoseconds. More...
 
unsigned int closestslicenhit
 Number of hits in the closest-in-time slice. More...
 
float closestslicecalE
 Calorimetric energy of the closest-in-time slice (GeV) More...
 
SRVector3D boxmin
 Minimum coordinates box containing all the hits [cm]. More...
 
SRVector3D boxmax
 Maximum coordinates box containing all the hits [cm]. More...
 
SRVector3D meanpos
 Mean position of hits in slice, weighted by charge [cm]. More...
 
float closestsliceminfromtop
 minimum distance to edge of detector in the closest slice More...
 
float closestsliceminfrombottom
 minimum distance to edge of detector in the closest slice More...
 
float closestsliceminfromfront
 minimum distance to edge of detector in the closest slice More...
 
float closestsliceminfromback
 minimum distance to edge of detector in the closest slice More...
 
float closestsliceminfromeast
 minimum distance to edge of detector in the closest slice More...
 
float closestsliceminfromwest
 minimum distance to edge of detector in the closest slice More...
 
float closestslicemindist
 minimum distance to the closest slice in time domain More...
 

Detailed Description

An SRSlice contains overarching information for a slice.

Definition at line 15 of file SRSlice.h.

Constructor & Destructor Documentation

caf::SRSlice::SRSlice ( )

Definition at line 14 of file SRSlice.cxx.

14  :
15  nhit(0),
16  ncalhit(0),
17  nmiphit(0),
18  ncontplanes(0),
19  firstplane(0),
20  lastplane(0),
21  firstcell(0),
22  lastcell(0),
23  ncellsfromedge(0),
24  nnonnoise(0),
25  nnoisehit(0),
26  fracnoiseE(0),
27  fracnoisePE(0),
28  calE(std::numeric_limits<float>::signaling_NaN()),
29  starttime(std::numeric_limits<float>::signaling_NaN()),
30  endtime(std::numeric_limits<float>::signaling_NaN()),
31  meantime(std::numeric_limits<float>::signaling_NaN()),
32  tsd(std::numeric_limits<float>::signaling_NaN()),
33  closestslicetime(std::numeric_limits<float>::signaling_NaN()),
35  closestslicecalE(std::numeric_limits<float>::signaling_NaN()),
36  boxmin(std::numeric_limits<float>::signaling_NaN(),
37  std::numeric_limits<float>::signaling_NaN(),
38  std::numeric_limits<float>::signaling_NaN()),
39  boxmax(std::numeric_limits<float>::signaling_NaN(),
40  std::numeric_limits<float>::signaling_NaN(),
41  std::numeric_limits<float>::signaling_NaN()),
42  meanpos(std::numeric_limits<float>::signaling_NaN(),
43  std::numeric_limits<float>::signaling_NaN(),
44  std::numeric_limits<float>::signaling_NaN()),
45  closestsliceminfromtop(std::numeric_limits<float>::signaling_NaN()),
46  closestsliceminfrombottom(std::numeric_limits<float>::signaling_NaN()),
47  closestsliceminfromfront(std::numeric_limits<float>::signaling_NaN()),
48  closestsliceminfromback(std::numeric_limits<float>::signaling_NaN()),
49  closestsliceminfromeast(std::numeric_limits<float>::signaling_NaN()),
50  closestsliceminfromwest(std::numeric_limits<float>::signaling_NaN()),
51  closestslicemindist(std::numeric_limits<float>::signaling_NaN())
52  { }
float closestslicemindist
minimum distance to the closest slice in time domain
Definition: SRSlice.h:56
unsigned int lastplane
last plane
Definition: SRSlice.h:27
unsigned int firstplane
first plane
Definition: SRSlice.h:26
float closestsliceminfromback
minimum distance to edge of detector in the closest slice
Definition: SRSlice.h:53
SRVector3D boxmax
Maximum coordinates box containing all the hits [cm].
Definition: SRSlice.h:47
float starttime
start time [ns]
Definition: SRSlice.h:39
float closestslicecalE
Calorimetric energy of the closest-in-time slice (GeV)
Definition: SRSlice.h:45
float closestsliceminfromeast
minimum distance to edge of detector in the closest slice
Definition: SRSlice.h:54
float fracnoisePE
Fraction of energy which comes from noise.
Definition: SRSlice.h:35
unsigned int closestslicenhit
Number of hits in the closest-in-time slice.
Definition: SRSlice.h:44
float endtime
end time [ns]
Definition: SRSlice.h:40
SRVector3D boxmin
Minimum coordinates box containing all the hits [cm].
Definition: SRSlice.h:46
float closestsliceminfrombottom
minimum distance to edge of detector in the closest slice
Definition: SRSlice.h:51
unsigned int nmiphit
number of minimum ionizing hits
Definition: SRSlice.h:24
float calE
Calorimetric energy of the cluster [GeV].
Definition: SRSlice.h:38
float tsd
standard deviation of slice hits in time in nanoseconds
Definition: SRSlice.h:42
unsigned int nhit
number of hits
Definition: SRSlice.h:22
unsigned int ncalhit
number of hits with calibration
Definition: SRSlice.h:23
unsigned int firstcell
first cell
Definition: SRSlice.h:28
unsigned int ncellsfromedge
minimum number of cells to edge of detector
Definition: SRSlice.h:30
unsigned int nnonnoise
Definition: SRSlice.h:31
unsigned int nnoisehit
Number of noise hits (calibrated)
Definition: SRSlice.h:33
unsigned int lastcell
last cell
Definition: SRSlice.h:29
float closestsliceminfromwest
minimum distance to edge of detector in the closest slice
Definition: SRSlice.h:55
SRVector3D meanpos
Mean position of hits in slice, weighted by charge [cm].
Definition: SRSlice.h:48
float fracnoiseE
Fraction of energy which comes from noise.
Definition: SRSlice.h:34
unsigned int ncontplanes
number of continuous planes
Definition: SRSlice.h:25
float closestslicetime
time difference between meantime of this slice and meantime of slice closest in time, in nanoseconds.
Definition: SRSlice.h:43
float closestsliceminfromtop
minimum distance to edge of detector in the closest slice
Definition: SRSlice.h:50
float closestsliceminfromfront
minimum distance to edge of detector in the closest slice
Definition: SRSlice.h:52
float meantime
mean time, weighted by charge [ns]
Definition: SRSlice.h:41
caf::SRSlice::~SRSlice ( )
virtual

Definition at line 55 of file SRSlice.cxx.

55 { }

Member Function Documentation

void caf::SRSlice::setDefault ( )

Definition at line 57 of file SRSlice.cxx.

References boxmax, boxmin, calE, closestslicecalE, closestslicemindist, closestsliceminfromback, closestsliceminfrombottom, closestsliceminfromeast, closestsliceminfromfront, closestsliceminfromtop, closestsliceminfromwest, closestslicenhit, closestslicetime, endtime, firstcell, firstplane, fracnoiseE, fracnoisePE, lastcell, lastplane, meanpos, meantime, ncalhit, ncellsfromedge, ncontplanes, nhit, nmiphit, nnoisehit, nnonnoise, starttime, and tsd.

58  {
59  nhit = 0;
60  ncalhit = 0;
61  nmiphit = 0;
62  ncontplanes = 0;
63  firstplane = 0;
64  lastplane = 0;
65  firstcell = 0;
66  lastcell = 0;
67  ncellsfromedge = 0;
68  nnonnoise = 0;
69  nnoisehit = 0;
70  fracnoiseE = 0;
71  fracnoisePE = 0;
72  calE = -5;
73  starttime = -5;
74  endtime = -5;
75  meantime = -5;
76  tsd = -1;
77  closestslicetime = -5;
78  closestslicenhit = 0; // -5 -> 0, closestslicenhit is defined as unsigned int;
79  closestslicecalE = -5;
80  boxmin = SRVector3D(-5555,-5555,-5555);
81  boxmax = SRVector3D(5555,5555,5555);
82  meanpos = SRVector3D(-5555,-5555,-5555);
89  closestslicemindist = 55555;
90 
91  }
float closestslicemindist
minimum distance to the closest slice in time domain
Definition: SRSlice.h:56
unsigned int lastplane
last plane
Definition: SRSlice.h:27
unsigned int firstplane
first plane
Definition: SRSlice.h:26
float closestsliceminfromback
minimum distance to edge of detector in the closest slice
Definition: SRSlice.h:53
SRVector3D boxmax
Maximum coordinates box containing all the hits [cm].
Definition: SRSlice.h:47
float starttime
start time [ns]
Definition: SRSlice.h:39
float closestslicecalE
Calorimetric energy of the closest-in-time slice (GeV)
Definition: SRSlice.h:45
float closestsliceminfromeast
minimum distance to edge of detector in the closest slice
Definition: SRSlice.h:54
float fracnoisePE
Fraction of energy which comes from noise.
Definition: SRSlice.h:35
unsigned int closestslicenhit
Number of hits in the closest-in-time slice.
Definition: SRSlice.h:44
float endtime
end time [ns]
Definition: SRSlice.h:40
SRVector3D boxmin
Minimum coordinates box containing all the hits [cm].
Definition: SRSlice.h:46
float closestsliceminfrombottom
minimum distance to edge of detector in the closest slice
Definition: SRSlice.h:51
unsigned int nmiphit
number of minimum ionizing hits
Definition: SRSlice.h:24
float calE
Calorimetric energy of the cluster [GeV].
Definition: SRSlice.h:38
float tsd
standard deviation of slice hits in time in nanoseconds
Definition: SRSlice.h:42
unsigned int nhit
number of hits
Definition: SRSlice.h:22
unsigned int ncalhit
number of hits with calibration
Definition: SRSlice.h:23
unsigned int firstcell
first cell
Definition: SRSlice.h:28
unsigned int ncellsfromedge
minimum number of cells to edge of detector
Definition: SRSlice.h:30
unsigned int nnonnoise
Definition: SRSlice.h:31
unsigned int nnoisehit
Number of noise hits (calibrated)
Definition: SRSlice.h:33
unsigned int lastcell
last cell
Definition: SRSlice.h:29
float closestsliceminfromwest
minimum distance to edge of detector in the closest slice
Definition: SRSlice.h:55
SRVector3D meanpos
Mean position of hits in slice, weighted by charge [cm].
Definition: SRSlice.h:48
float fracnoiseE
Fraction of energy which comes from noise.
Definition: SRSlice.h:34
unsigned int ncontplanes
number of continuous planes
Definition: SRSlice.h:25
float closestslicetime
time difference between meantime of this slice and meantime of slice closest in time, in nanoseconds.
Definition: SRSlice.h:43
float closestsliceminfromtop
minimum distance to edge of detector in the closest slice
Definition: SRSlice.h:50
float closestsliceminfromfront
minimum distance to edge of detector in the closest slice
Definition: SRSlice.h:52
float meantime
mean time, weighted by charge [ns]
Definition: SRSlice.h:41

Member Data Documentation

SRVector3D caf::SRSlice::boxmax
SRVector3D caf::SRSlice::boxmin
float caf::SRSlice::calE
float caf::SRSlice::closestslicecalE
float caf::SRSlice::closestslicemindist
float caf::SRSlice::closestsliceminfromback
float caf::SRSlice::closestsliceminfrombottom
float caf::SRSlice::closestsliceminfromeast
float caf::SRSlice::closestsliceminfromfront
float caf::SRSlice::closestsliceminfromtop
float caf::SRSlice::closestsliceminfromwest
unsigned int caf::SRSlice::closestslicenhit
float caf::SRSlice::closestslicetime

time difference between meantime of this slice and meantime of slice closest in time, in nanoseconds.

Definition at line 43 of file SRSlice.h.

Referenced by caf::Proxy< caf::SRSlice >::CheckEquals(), flat::FlatSlice::Fill(), hdf5::HDF5Slice< Tidx >::Fill(), FillTree(), caf::Proxy< caf::SRSlice >::operator=(), caf::CAFMaker::produce(), and setDefault().

float caf::SRSlice::endtime
unsigned int caf::SRSlice::firstcell
unsigned int caf::SRSlice::firstplane
float caf::SRSlice::fracnoiseE
float caf::SRSlice::fracnoisePE
unsigned int caf::SRSlice::lastcell
unsigned int caf::SRSlice::lastplane
SRVector3D caf::SRSlice::meanpos
float caf::SRSlice::meantime
unsigned int caf::SRSlice::ncalhit
unsigned int caf::SRSlice::ncellsfromedge
unsigned int caf::SRSlice::ncontplanes
unsigned int caf::SRSlice::nhit
unsigned int caf::SRSlice::nmiphit
unsigned int caf::SRSlice::nnoisehit
unsigned int caf::SRSlice::nnonnoise

number of non noise slices in event from which this slice came or number of slices in CAF coming from the same event.

Definition at line 31 of file SRSlice.h.

Referenced by caf::Proxy< caf::SRSlice >::CheckEquals(), flat::FlatSlice::Fill(), hdf5::HDF5Slice< Tidx >::Fill(), caf::Proxy< caf::SRSlice >::operator=(), caf::CAFMaker::produce(), and setDefault().

float caf::SRSlice::starttime
float caf::SRSlice::tsd

The documentation for this class was generated from the following files: