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

Flat encoding of SRTrkME. More...

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

Public Member Functions

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

Protected Attributes

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

Detailed Description

Flat encoding of SRTrkME.

Definition at line 22 of file FlatTrkME.h.

Constructor & Destructor Documentation

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

Definition at line 4423 of file FlatRecord.cxx.

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

4424  : meanpos(prefix+"meanpos.", tr, policy),
4425  truth(prefix+"truth.", tr, policy)
4426 {
4427  branch(tr, prefix+"mid", &mid, policy);
4428  branch(tr, prefix+"nhitx", &nhitx, policy);
4429  branch(tr, prefix+"nhity", &nhity, policy);
4430  branch(tr, prefix+"calE", &calE, policy);
4431  branch(tr, prefix+"deltat", &deltat, policy);
4432  branch(tr, prefix+"adc", &adc, policy);
4433  branch(tr, prefix+"disttotrack", &disttotrack, policy);
4434 }
short unsigned int nhity
Definition: FlatTrkME.h:33
FlatVector3D meanpos
Definition: FlatTrkME.h:39
const XML_Char * prefix
Definition: expat.h:380
short unsigned int nhitx
Definition: FlatTrkME.h:32
FlatParticleTruth truth
Definition: FlatTrkME.h:40
float disttotrack
Definition: FlatTrkME.h:37
flat::FlatTrkME::~FlatTrkME ( )

Definition at line 4436 of file FlatRecord.cxx.

4437 {
4438 }

Member Function Documentation

void flat::FlatTrkME::Fill ( const caf::SRTrkME sr)

Definition at line 4440 of file FlatRecord.cxx.

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

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

4441 {
4442  mid = sr.mid;
4443  nhitx = sr.nhitx;
4444  nhity = sr.nhity;
4445  calE = sr.calE;
4446  deltat = sr.deltat;
4447  adc = sr.adc;
4448  disttotrack = sr.disttotrack;
4449 
4450  meanpos.Fill(sr.meanpos);
4451  truth.Fill(sr.truth);
4452 }
float calE
Calorimetric Energy [GeV].
Definition: SRTrkME.h:26
short unsigned int nhity
Definition: FlatTrkME.h:33
void Fill(const caf::SRVector3D &sr)
unsigned short nhity
number of hits in yview
Definition: SRTrkME.h:25
float adc
Total ADC in the ME cluster.
Definition: SRTrkME.h:28
float deltat
time difference [ns]
Definition: SRTrkME.h:27
FlatVector3D meanpos
Definition: FlatTrkME.h:39
SRParticleTruth truth
Truth information for the michel cluster.
Definition: SRTrkME.h:31
float disttotrack
Distance between end of track and Michel hits [cm].
Definition: SRTrkME.h:29
void Fill(const caf::SRParticleTruth &sr)
float mid
Michel Electron Identifier.
Definition: SRTrkME.h:20
short unsigned int nhitx
Definition: FlatTrkME.h:32
FlatParticleTruth truth
Definition: FlatTrkME.h:40
SRVector3D meanpos
The mean position of the ME cluster.
Definition: SRTrkME.h:30
unsigned short nhitx
number of hits in xview
Definition: SRTrkME.h:24
float disttotrack
Definition: FlatTrkME.h:37

Member Data Documentation

float flat::FlatTrkME::adc
protected

Definition at line 36 of file FlatTrkME.h.

Referenced by Fill(), and FlatTrkME().

float flat::FlatTrkME::calE
protected

Definition at line 34 of file FlatTrkME.h.

Referenced by Fill(), and FlatTrkME().

float flat::FlatTrkME::deltat
protected

Definition at line 35 of file FlatTrkME.h.

Referenced by Fill(), and FlatTrkME().

float flat::FlatTrkME::disttotrack
protected

Definition at line 37 of file FlatTrkME.h.

Referenced by Fill(), and FlatTrkME().

FlatVector3D flat::FlatTrkME::meanpos
protected

Definition at line 39 of file FlatTrkME.h.

Referenced by Fill().

float flat::FlatTrkME::mid
protected

Definition at line 31 of file FlatTrkME.h.

Referenced by Fill(), and FlatTrkME().

short unsigned int flat::FlatTrkME::nhitx
protected

Definition at line 32 of file FlatTrkME.h.

Referenced by Fill(), and FlatTrkME().

short unsigned int flat::FlatTrkME::nhity
protected

Definition at line 33 of file FlatTrkME.h.

Referenced by Fill(), and FlatTrkME().

FlatParticleTruth flat::FlatTrkME::truth
protected

Definition at line 40 of file FlatTrkME.h.

Referenced by Fill().


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