SRElastic.cxx
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file SRElastic.cxx
3 // \brief An SRElastic represents a potential interaction point.
4 // \version $Id: SRElastic.cxx,v 1.5 2012-11-19 17:32:22 rocco Exp $
5 // \author $Author: rocco $
6 // \date $Date: 2012-11-19 17:32:22 $
7 ////////////////////////////////////////////////////////////////////////
8 #include<limits>
9 
11 
12 namespace caf
13 {
14 
16  time(std::numeric_limits<float>::signaling_NaN()),
17  slicevertexenergyvolume10(std::numeric_limits<float>::signaling_NaN()),
18  slicevertexenergyvolume20(std::numeric_limits<float>::signaling_NaN()),
19  slicevertexenergyvolume30(std::numeric_limits<float>::signaling_NaN()),
20  slicevertexenergyvolume40(std::numeric_limits<float>::signaling_NaN()),
21  prong3dvertexenergyvolume10(std::numeric_limits<float>::signaling_NaN()),
22  prong3dvertexenergyvolume20(std::numeric_limits<float>::signaling_NaN()),
23  prong3dvertexenergyvolume30(std::numeric_limits<float>::signaling_NaN()),
24  prong3dvertexenergyvolume40(std::numeric_limits<float>::signaling_NaN()),
25  prong2dvertexenergyvolume10(std::numeric_limits<float>::signaling_NaN()),
26  prong2dvertexenergyvolume20(std::numeric_limits<float>::signaling_NaN()),
27  prong2dvertexenergyvolume30(std::numeric_limits<float>::signaling_NaN()),
28  prong2dvertexenergyvolume40(std::numeric_limits<float>::signaling_NaN()),
29  IsValid(false)
30  { }
31 
33 
34 
35 
37  {
39  IsValid = false;
40  time = -5;
41  vtx.SetXYZ(0,0,0);
54  }
55 
56 } // end namespace caf
57 ////////////////////////////////////////////////////////////////////////
void SetXYZ(float x, float y, float z)
Definition: SRVector3D.cxx:31
float prong2dvertexenergyvolume20
Vertex Energy calculated by all the hits belong to 2D prong using volume2 20cm.
Definition: SRElastic.h:37
float prong2dvertexenergyvolume30
Vertex Energy calculated by all the hits belong to 2D prong using volume3 30cm.
Definition: SRElastic.h:38
float prong3dvertexenergyvolume40
Vertex Energy calculated by all the hits belong to 3D prong using volume4 40cm.
Definition: SRElastic.h:34
float slicevertexenergyvolume30
Vertex Energy calculated by all the slice hits using volume3 30cm.
Definition: SRElastic.h:28
virtual ~SRElastic()
Definition: SRElastic.cxx:32
SRVector3D vtx
Vertex position in detector coordinates. [cm].
Definition: SRElastic.h:40
float prong2dvertexenergyvolume40
Vertex Energy calculated by all the hits belong to 2D prong using volume4 40cm.
Definition: SRElastic.h:39
float prong3dvertexenergyvolume10
Vertex Energy calculated by all the hits belong to 3D prong using volume1 10cm.
Definition: SRElastic.h:31
float slicevertexenergyvolume10
Vertex Energy calculated by all the slice hits using volume1 10cm.
Definition: SRElastic.h:26
virtual void setDefault()
Definition: SRElastic.cxx:36
float prong3dvertexenergyvolume30
Vertex Energy calculated by all the hits belong to 3D prong using volume3 30cm.
Definition: SRElastic.h:33
SRFuzzyK fuzzyk
Primary 3D prong object.
Definition: SRElastic.h:44
This module creates Common Analysis Files.
Definition: FileReducer.h:10
float prong2dvertexenergyvolume10
Vertex Energy calculated by all the hits belong to 2D prong using volume1 10cm.
Definition: SRElastic.h:36
float slicevertexenergyvolume40
Vertex Energy calculated by all the slice hits using volume4 40cm.
Definition: SRElastic.h:29
float prong3dvertexenergyvolume20
Vertex Energy calculated by all the hits belong to 3D prong using volume2 20cm.
Definition: SRElastic.h:32
float slicevertexenergyvolume20
Vertex Energy calculated by all the slice hits using volume2 20cm.
Definition: SRElastic.h:27