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

Flat encoding of SRTrueMichelE. More...

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

Public Member Functions

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

Protected Attributes

float E
 
float visE
 
float time
 
FlatLorentzVector mustop
 
FlatLorentzVector p
 

Detailed Description

Flat encoding of SRTrueMichelE.

Definition at line 21 of file FlatTrueMichelE.h.

Constructor & Destructor Documentation

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

Definition at line 1682 of file FlatRecord.cxx.

References compare_h5_caf::branch, E, and visE.

1683  : mustop(prefix+"mustop.", tr, policy),
1684  p(prefix+"p.", tr, policy)
1685 {
1686  branch(tr, prefix+"E", &E, policy);
1687  branch(tr, prefix+"visE", &visE, policy);
1688  branch(tr, prefix+"time", &time, policy);
1689 }
FlatLorentzVector mustop
const XML_Char * prefix
Definition: expat.h:380
FlatLorentzVector p
flat::FlatTrueMichelE::~FlatTrueMichelE ( )

Definition at line 1691 of file FlatRecord.cxx.

1692 {
1693 }

Member Function Documentation

void flat::FlatTrueMichelE::Fill ( const caf::SRTrueMichelE sr)

Definition at line 1695 of file FlatRecord.cxx.

References caf::SRTrueMichelE::E, E, flat::FlatLorentzVector::Fill(), caf::SRTrueMichelE::mustop, mustop, caf::SRTrueMichelE::p, caf::SRTrueMichelE::time, caf::SRTrueMichelE::visE, and visE.

Referenced by flat::FlatCosmic::Fill(), flat::FlatTruth::Fill(), and flat::FlatNeutrino::Fill().

1696 {
1697  E = sr.E;
1698  visE = sr.visE;
1699  time = sr.time;
1700 
1701  mustop.Fill(sr.mustop);
1702  p.Fill(sr.p);
1703 }
SRLorentzVector p
Momentum 4-vector.
Definition: SRTrueMichelE.h:27
float visE
Visible Energy in detector, all summed FLSHits that made CellHits [GeV].
Definition: SRTrueMichelE.h:22
const char * p
Definition: xmltok.h:285
void Fill(const caf::SRLorentzVector &sr)
float time
Time of first Michel electron trajectory point [GeV].
Definition: SRTrueMichelE.h:23
FlatLorentzVector mustop
float E
True energy of electron [GeV].
Definition: SRTrueMichelE.h:19
SRLorentzVector mustop
Stopping position of parent muon [cm].
Definition: SRTrueMichelE.h:26

Member Data Documentation

float flat::FlatTrueMichelE::E
protected

Definition at line 30 of file FlatTrueMichelE.h.

Referenced by Fill(), and FlatTrueMichelE().

FlatLorentzVector flat::FlatTrueMichelE::mustop
protected

Definition at line 34 of file FlatTrueMichelE.h.

Referenced by Fill().

FlatLorentzVector flat::FlatTrueMichelE::p
protected

Definition at line 35 of file FlatTrueMichelE.h.

float flat::FlatTrueMichelE::time
protected

Definition at line 32 of file FlatTrueMichelE.h.

float flat::FlatTrueMichelE::visE
protected

Definition at line 31 of file FlatTrueMichelE.h.

Referenced by Fill(), and FlatTrueMichelE().


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