Public Member Functions | Protected Attributes | List of all members
flat::FlatElastic Class Reference

Flat encoding of SRElastic. More...

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

Public Member Functions

 FlatElastic (const std::string &prefix, TTree *tr, const IBranchPolicy *policy)
 
 ~FlatElastic ()
 
void Fill (const caf::SRElastic &sr)
 

Protected Attributes

float time
 
float slicevertexenergyvolume10
 
float slicevertexenergyvolume20
 
float slicevertexenergyvolume30
 
float slicevertexenergyvolume40
 
float prong3dvertexenergyvolume10
 
float prong3dvertexenergyvolume20
 
float prong3dvertexenergyvolume30
 
float prong3dvertexenergyvolume40
 
float prong2dvertexenergyvolume10
 
float prong2dvertexenergyvolume20
 
float prong2dvertexenergyvolume30
 
float prong2dvertexenergyvolume40
 
bool IsValid
 
FlatVector3D vtx
 
FlatFuzzyK fuzzyk
 

Detailed Description

Flat encoding of SRElastic.

Definition at line 22 of file FlatElastic.h.

Constructor & Destructor Documentation

flat::FlatElastic::FlatElastic ( const std::string prefix,
TTree *  tr,
const IBranchPolicy policy 
)

Definition at line 3052 of file FlatRecord.cxx.

References compare_h5_caf::branch, IsValid, prong2dvertexenergyvolume10, prong2dvertexenergyvolume20, prong2dvertexenergyvolume30, prong2dvertexenergyvolume40, prong3dvertexenergyvolume10, prong3dvertexenergyvolume20, prong3dvertexenergyvolume30, prong3dvertexenergyvolume40, slicevertexenergyvolume10, slicevertexenergyvolume20, slicevertexenergyvolume30, and slicevertexenergyvolume40.

3053  : vtx(prefix+"vtx.", tr, policy),
3054  fuzzyk(prefix+"fuzzyk.", tr, policy)
3055 {
3056  branch(tr, prefix+"time", &time, policy);
3057  branch(tr, prefix+"slicevertexenergyvolume10", &slicevertexenergyvolume10, policy);
3058  branch(tr, prefix+"slicevertexenergyvolume20", &slicevertexenergyvolume20, policy);
3059  branch(tr, prefix+"slicevertexenergyvolume30", &slicevertexenergyvolume30, policy);
3060  branch(tr, prefix+"slicevertexenergyvolume40", &slicevertexenergyvolume40, policy);
3061  branch(tr, prefix+"prong3dvertexenergyvolume10", &prong3dvertexenergyvolume10, policy);
3062  branch(tr, prefix+"prong3dvertexenergyvolume20", &prong3dvertexenergyvolume20, policy);
3063  branch(tr, prefix+"prong3dvertexenergyvolume30", &prong3dvertexenergyvolume30, policy);
3064  branch(tr, prefix+"prong3dvertexenergyvolume40", &prong3dvertexenergyvolume40, policy);
3065  branch(tr, prefix+"prong2dvertexenergyvolume10", &prong2dvertexenergyvolume10, policy);
3066  branch(tr, prefix+"prong2dvertexenergyvolume20", &prong2dvertexenergyvolume20, policy);
3067  branch(tr, prefix+"prong2dvertexenergyvolume30", &prong2dvertexenergyvolume30, policy);
3068  branch(tr, prefix+"prong2dvertexenergyvolume40", &prong2dvertexenergyvolume40, policy);
3069  branch(tr, prefix+"IsValid", &IsValid, policy);
3070 }
float slicevertexenergyvolume10
Definition: FlatElastic.h:32
float prong3dvertexenergyvolume40
Definition: FlatElastic.h:39
float prong2dvertexenergyvolume10
Definition: FlatElastic.h:40
float prong2dvertexenergyvolume30
Definition: FlatElastic.h:42
FlatFuzzyK fuzzyk
Definition: FlatElastic.h:47
float slicevertexenergyvolume40
Definition: FlatElastic.h:35
float prong3dvertexenergyvolume30
Definition: FlatElastic.h:38
FlatVector3D vtx
Definition: FlatElastic.h:46
float prong3dvertexenergyvolume10
Definition: FlatElastic.h:36
float prong3dvertexenergyvolume20
Definition: FlatElastic.h:37
float prong2dvertexenergyvolume20
Definition: FlatElastic.h:41
float prong2dvertexenergyvolume40
Definition: FlatElastic.h:43
float slicevertexenergyvolume20
Definition: FlatElastic.h:33
const XML_Char * prefix
Definition: expat.h:380
float slicevertexenergyvolume30
Definition: FlatElastic.h:34
flat::FlatElastic::~FlatElastic ( )

Definition at line 3072 of file FlatRecord.cxx.

3073 {
3074 }

Member Function Documentation

void flat::FlatElastic::Fill ( const caf::SRElastic sr)

Definition at line 3076 of file FlatRecord.cxx.

References flat::FlatVector3D::Fill(), flat::FlatFuzzyK::Fill(), caf::SRElastic::fuzzyk, fuzzyk, caf::SRElastic::IsValid, IsValid, caf::SRElastic::prong2dvertexenergyvolume10, prong2dvertexenergyvolume10, caf::SRElastic::prong2dvertexenergyvolume20, prong2dvertexenergyvolume20, caf::SRElastic::prong2dvertexenergyvolume30, prong2dvertexenergyvolume30, caf::SRElastic::prong2dvertexenergyvolume40, prong2dvertexenergyvolume40, caf::SRElastic::prong3dvertexenergyvolume10, prong3dvertexenergyvolume10, caf::SRElastic::prong3dvertexenergyvolume20, prong3dvertexenergyvolume20, caf::SRElastic::prong3dvertexenergyvolume30, prong3dvertexenergyvolume30, caf::SRElastic::prong3dvertexenergyvolume40, prong3dvertexenergyvolume40, caf::SRElastic::slicevertexenergyvolume10, slicevertexenergyvolume10, caf::SRElastic::slicevertexenergyvolume20, slicevertexenergyvolume20, caf::SRElastic::slicevertexenergyvolume30, slicevertexenergyvolume30, caf::SRElastic::slicevertexenergyvolume40, slicevertexenergyvolume40, caf::SRElastic::time, caf::SRElastic::vtx, and vtx.

Referenced by flat::FlatVertexBranch::Fill().

3077 {
3078  time = sr.time;
3091  IsValid = sr.IsValid;
3092 
3093  vtx.Fill(sr.vtx);
3094  fuzzyk.Fill(sr.fuzzyk);
3095 }
float time
Time [ns].
Definition: SRElastic.h:25
float prong2dvertexenergyvolume20
Vertex Energy calculated by all the hits belong to 2D prong using volume2 20cm.
Definition: SRElastic.h:37
void Fill(const caf::SRVector3D &sr)
float slicevertexenergyvolume10
Definition: FlatElastic.h:32
float prong3dvertexenergyvolume40
Definition: FlatElastic.h:39
float prong2dvertexenergyvolume30
Vertex Energy calculated by all the hits belong to 2D prong using volume3 30cm.
Definition: SRElastic.h:38
float prong2dvertexenergyvolume10
Definition: FlatElastic.h:40
float prong2dvertexenergyvolume30
Definition: FlatElastic.h:42
FlatFuzzyK fuzzyk
Definition: FlatElastic.h:47
float slicevertexenergyvolume40
Definition: FlatElastic.h:35
float prong3dvertexenergyvolume30
Definition: FlatElastic.h:38
FlatVector3D vtx
Definition: FlatElastic.h:46
float prong3dvertexenergyvolume10
Definition: FlatElastic.h:36
float prong3dvertexenergyvolume20
Definition: FlatElastic.h:37
float prong2dvertexenergyvolume20
Definition: FlatElastic.h:41
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
float prong2dvertexenergyvolume40
Definition: FlatElastic.h:43
SRVector3D vtx
Vertex position in detector coordinates. [cm].
Definition: SRElastic.h:40
float slicevertexenergyvolume20
Definition: FlatElastic.h:33
float prong2dvertexenergyvolume40
Vertex Energy calculated by all the hits belong to 2D prong using volume4 40cm.
Definition: SRElastic.h:39
void Fill(const caf::SRFuzzyK &sr)
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
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
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 slicevertexenergyvolume30
Definition: FlatElastic.h:34
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

Member Data Documentation

FlatFuzzyK flat::FlatElastic::fuzzyk
protected

Definition at line 47 of file FlatElastic.h.

Referenced by Fill().

bool flat::FlatElastic::IsValid
protected

Definition at line 44 of file FlatElastic.h.

Referenced by Fill(), and FlatElastic().

float flat::FlatElastic::prong2dvertexenergyvolume10
protected

Definition at line 40 of file FlatElastic.h.

Referenced by Fill(), and FlatElastic().

float flat::FlatElastic::prong2dvertexenergyvolume20
protected

Definition at line 41 of file FlatElastic.h.

Referenced by Fill(), and FlatElastic().

float flat::FlatElastic::prong2dvertexenergyvolume30
protected

Definition at line 42 of file FlatElastic.h.

Referenced by Fill(), and FlatElastic().

float flat::FlatElastic::prong2dvertexenergyvolume40
protected

Definition at line 43 of file FlatElastic.h.

Referenced by Fill(), and FlatElastic().

float flat::FlatElastic::prong3dvertexenergyvolume10
protected

Definition at line 36 of file FlatElastic.h.

Referenced by Fill(), and FlatElastic().

float flat::FlatElastic::prong3dvertexenergyvolume20
protected

Definition at line 37 of file FlatElastic.h.

Referenced by Fill(), and FlatElastic().

float flat::FlatElastic::prong3dvertexenergyvolume30
protected

Definition at line 38 of file FlatElastic.h.

Referenced by Fill(), and FlatElastic().

float flat::FlatElastic::prong3dvertexenergyvolume40
protected

Definition at line 39 of file FlatElastic.h.

Referenced by Fill(), and FlatElastic().

float flat::FlatElastic::slicevertexenergyvolume10
protected

Definition at line 32 of file FlatElastic.h.

Referenced by Fill(), and FlatElastic().

float flat::FlatElastic::slicevertexenergyvolume20
protected

Definition at line 33 of file FlatElastic.h.

Referenced by Fill(), and FlatElastic().

float flat::FlatElastic::slicevertexenergyvolume30
protected

Definition at line 34 of file FlatElastic.h.

Referenced by Fill(), and FlatElastic().

float flat::FlatElastic::slicevertexenergyvolume40
protected

Definition at line 35 of file FlatElastic.h.

Referenced by Fill(), and FlatElastic().

float flat::FlatElastic::time
protected

Definition at line 31 of file FlatElastic.h.

FlatVector3D flat::FlatElastic::vtx
protected

Definition at line 46 of file FlatElastic.h.

Referenced by Fill().


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