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

Flat encoding of SRSlcME. More...

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

Public Member Functions

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

Protected Attributes

float mid
 
short unsigned int nhitx
 
short unsigned int nhity
 
float calE
 
float deltat
 
float adc
 
float disttoslc
 
FlatVector3D meanpos
 
FlatParticleTruth truth
 

Detailed Description

Flat encoding of SRSlcME.

Definition at line 22 of file FlatSlcME.h.

Constructor & Destructor Documentation

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

Definition at line 2907 of file FlatRecord.cxx.

References adc, compare_h5_caf::branch, calE, deltat, disttoslc, mid, nhitx, and nhity.

2908  : meanpos(prefix+"meanpos.", tr, policy),
2909  truth(prefix+"truth.", tr, policy)
2910 {
2911  branch(tr, prefix+"mid", &mid, policy);
2912  branch(tr, prefix+"nhitx", &nhitx, policy);
2913  branch(tr, prefix+"nhity", &nhity, policy);
2914  branch(tr, prefix+"calE", &calE, policy);
2915  branch(tr, prefix+"deltat", &deltat, policy);
2916  branch(tr, prefix+"adc", &adc, policy);
2917  branch(tr, prefix+"disttoslc", &disttoslc, policy);
2918 }
short unsigned int nhity
Definition: FlatSlcME.h:33
float disttoslc
Definition: FlatSlcME.h:37
const XML_Char * prefix
Definition: expat.h:380
FlatVector3D meanpos
Definition: FlatSlcME.h:39
short unsigned int nhitx
Definition: FlatSlcME.h:32
FlatParticleTruth truth
Definition: FlatSlcME.h:40
flat::FlatSlcME::~FlatSlcME ( )

Definition at line 2920 of file FlatRecord.cxx.

2921 {
2922 }

Member Function Documentation

void flat::FlatSlcME::Fill ( const caf::SRSlcME sr)

Definition at line 2924 of file FlatRecord.cxx.

References caf::SRSlcME::adc, adc, caf::SRSlcME::calE, calE, caf::SRSlcME::deltat, deltat, caf::SRSlcME::disttoslc, disttoslc, flat::FlatVector3D::Fill(), flat::FlatParticleTruth::Fill(), caf::SRSlcME::meanpos, meanpos, caf::SRSlcME::mid, mid, caf::SRSlcME::nhitx, nhitx, caf::SRSlcME::nhity, nhity, caf::SRSlcME::truth, and truth.

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

2925 {
2926  mid = sr.mid;
2927  nhitx = sr.nhitx;
2928  nhity = sr.nhity;
2929  calE = sr.calE;
2930  deltat = sr.deltat;
2931  adc = sr.adc;
2932  disttoslc = sr.disttoslc;
2933 
2934  meanpos.Fill(sr.meanpos);
2935  truth.Fill(sr.truth);
2936 }
float disttoslc
Minimum distance between hits in ME and parent (cm)
Definition: SRSlcME.h:24
SRVector3D meanpos
The mean position of the ME cluster.
Definition: SRSlcME.h:25
void Fill(const caf::SRVector3D &sr)
float deltat
Time delay (ns)
Definition: SRSlcME.h:22
float calE
Calorimetric Energy of ME (GeV)
Definition: SRSlcME.h:21
short unsigned int nhity
Definition: FlatSlcME.h:33
void Fill(const caf::SRParticleTruth &sr)
float disttoslc
Definition: FlatSlcME.h:37
unsigned short nhity
Number of hits in Michel cluster.
Definition: SRSlcME.h:20
unsigned short nhitx
Number of hits in Michel cluster.
Definition: SRSlcME.h:19
FlatVector3D meanpos
Definition: FlatSlcME.h:39
short unsigned int nhitx
Definition: FlatSlcME.h:32
float mid
Michel Electron Identifier LL.
Definition: SRSlcME.h:16
SRParticleTruth truth
Truth information for the michel cluster.
Definition: SRSlcME.h:26
FlatParticleTruth truth
Definition: FlatSlcME.h:40
float adc
Total ADC in the ME cluster.
Definition: SRSlcME.h:23

Member Data Documentation

float flat::FlatSlcME::adc
protected

Definition at line 36 of file FlatSlcME.h.

Referenced by Fill(), and FlatSlcME().

float flat::FlatSlcME::calE
protected

Definition at line 34 of file FlatSlcME.h.

Referenced by Fill(), and FlatSlcME().

float flat::FlatSlcME::deltat
protected

Definition at line 35 of file FlatSlcME.h.

Referenced by Fill(), and FlatSlcME().

float flat::FlatSlcME::disttoslc
protected

Definition at line 37 of file FlatSlcME.h.

Referenced by Fill(), and FlatSlcME().

FlatVector3D flat::FlatSlcME::meanpos
protected

Definition at line 39 of file FlatSlcME.h.

Referenced by Fill().

float flat::FlatSlcME::mid
protected

Definition at line 31 of file FlatSlcME.h.

Referenced by Fill(), and FlatSlcME().

short unsigned int flat::FlatSlcME::nhitx
protected

Definition at line 32 of file FlatSlcME.h.

Referenced by Fill(), and FlatSlcME().

short unsigned int flat::FlatSlcME::nhity
protected

Definition at line 33 of file FlatSlcME.h.

Referenced by Fill(), and FlatSlcME().

FlatParticleTruth flat::FlatSlcME::truth
protected

Definition at line 40 of file FlatSlcME.h.

Referenced by Fill().


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