Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
N21-02-25
StandardRecord
SRShower.h
Go to the documentation of this file.
1
////////////////////////////////////////////////////////////////////////
2
// \file SRShower.h
3
// \version $Id: SRShower.h,v 1.5 2012-11-13 22:06:10 rocco Exp $
4
// \author $Author: rocco $
5
// \date $Date: 2012-11-13 22:06:10 $
6
////////////////////////////////////////////////////////////////////////
7
#ifndef SRSHOWER_H
8
#define SRSHOWER_H
9
#include "
StandardRecord/SRProng.h
"
10
11
#include "
StandardRecord/SRVector3D.h
"
12
#include "
StandardRecord/SRParticleTruth.h
"
13
14
namespace
caf
15
{
16
/// An SRShower is a simple descriptor for a shower. This class does not
17
/// contain individual cell hits, but does know it's energy and direction.
18
class
SRShower
19
{
20
public
:
21
SRShower
();
22
23
~SRShower
();
24
25
unsigned
short
nhit
;
///< number of hits
26
unsigned
short
nhitx
;
///< number of hits in x-view
27
unsigned
short
nhity
;
///< number of hits in y-view
28
unsigned
short
nplane
;
///< number of planes spanned
29
unsigned
short
maxplanecont
;
///< maximum number of contiguous planes in prong
30
unsigned
short
maxplanegap
;
///< maximum number of gapped planes in prong
31
float
calE
;
///< energy based on summed calibrated deposited charge [GeV]
32
SRVector3D
start
;
///< Shower start point in detector coordinates. [cm]
33
SRVector3D
dir
;
///< Shower direction at start point [unit vector recommended]
34
float
len
;
///< track length [cm]
35
View_t
view
;
///< Prong view caf::kX = 0, caf::kY = 1 or caf::kXorY = 2
36
37
float
width
;
///< Shower width [cm]
38
unsigned
short
nplanex
;
///< number of planes spanned in x view
39
unsigned
short
nplaney
;
///< number of planes spanned in y view
40
float
gap
;
///< gap from shower start to ElasticArms vertex [cm]
41
SRVector3D
stop
;
///< shower stop point
42
SRParticleTruth
truth
;
///< Truth information for the prong
43
SRParticleTruth
truthXView
;
///< Truth information for the prong
44
SRParticleTruth
truthYView
;
///< Truth information for the prong
45
46
};
47
48
}
// end namespace
49
50
#endif // SRSHOWER_H
51
//////////////////////////////////////////////////////////////////////////////
caf::SRShower::SRShower
SRShower()
Definition:
SRShower.cxx:17
caf::SRShower::maxplanecont
unsigned short maxplanecont
maximum number of contiguous planes in prong
Definition:
SRShower.h:29
caf::SRVector3D
A 3-vector with more efficient storage than TVector3.
Definition:
SRVector3D.h:14
caf::SRShower::dir
SRVector3D dir
Shower direction at start point [unit vector recommended].
Definition:
SRShower.h:33
caf::SRShower::nplaney
unsigned short nplaney
number of planes spanned in y view
Definition:
SRShower.h:39
caf::SRShower::gap
float gap
gap from shower start to ElasticArms vertex [cm]
Definition:
SRShower.h:40
caf::SRShower::nhit
unsigned short nhit
number of hits
Definition:
SRShower.h:25
caf::View_t
View_t
Detector view, following GeometryObjects/PlaneGeo.h.
Definition:
SREnums.h:20
caf::SRShower::nhitx
unsigned short nhitx
number of hits in x-view
Definition:
SRShower.h:26
caf::SRShower::truth
SRParticleTruth truth
Truth information for the prong.
Definition:
SRShower.h:42
caf::SRShower::calE
float calE
energy based on summed calibrated deposited charge [GeV]
Definition:
SRShower.h:31
caf::SRShower::~SRShower
~SRShower()
Definition:
SRShower.cxx:36
caf::SRParticleTruth
The truth information of reco objects within a slice.
Definition:
SRParticleTruth.h:14
SRVector3D.h
caf::SRShower
Definition:
SRShower.h:18
caf::SRShower::nplanex
unsigned short nplanex
number of planes spanned in x view
Definition:
SRShower.h:38
caf::SRShower::start
SRVector3D start
Shower start point in detector coordinates. [cm].
Definition:
SRShower.h:32
caf::SRShower::truthYView
SRParticleTruth truthYView
Truth information for the prong.
Definition:
SRShower.h:44
SRProng.h
caf::SRShower::nplane
unsigned short nplane
number of planes spanned
Definition:
SRShower.h:28
caf::SRShower::nhity
unsigned short nhity
number of hits in y-view
Definition:
SRShower.h:27
SRParticleTruth.h
caf::SRShower::stop
SRVector3D stop
shower stop point
Definition:
SRShower.h:41
caf
This module creates Common Analysis Files.
Definition:
FileReducer.h:10
caf::SRShower::len
float len
track length [cm]
Definition:
SRShower.h:34
caf::SRShower::maxplanegap
unsigned short maxplanegap
maximum number of gapped planes in prong
Definition:
SRShower.h:30
caf::SRShower::width
float width
Shower width [cm].
Definition:
SRShower.h:37
caf::SRShower::view
View_t view
Prong view caf::kX = 0, caf::kY = 1 or caf::kXorY = 2.
Definition:
SRShower.h:35
caf::SRShower::truthXView
SRParticleTruth truthXView
Truth information for the prong.
Definition:
SRShower.h:43
Generated on Mon Mar 1 2021 14:14:16 for NOvA by
1.8.11