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

Flat encoding of SRBpf. More...

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

Public Member Functions

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

Protected Attributes

FlatBpfTrack muon
 
FlatBpfTrack pion
 
FlatBpfTrack proton
 

Detailed Description

Flat encoding of SRBpf.

Definition at line 21 of file FlatBpf.h.

Constructor & Destructor Documentation

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

Definition at line 3318 of file FlatRecord.cxx.

3319  : muon(prefix+"muon.", tr, policy),
3320  pion(prefix+"pion.", tr, policy),
3321  proton(prefix+"proton.", tr, policy)
3322 {
3323 }
FlatBpfTrack proton
Definition: FlatBpf.h:32
FlatBpfTrack pion
Definition: FlatBpf.h:31
FlatBpfTrack muon
Definition: FlatBpf.h:30
const XML_Char * prefix
Definition: expat.h:380
flat::FlatBpf::~FlatBpf ( )

Definition at line 3325 of file FlatRecord.cxx.

3326 {
3327 }

Member Function Documentation

void flat::FlatBpf::Fill ( const caf::SRBpf sr)

Definition at line 3329 of file FlatRecord.cxx.

References flat::FlatBpfTrack::Fill(), caf::SRBpf::muon, muon, caf::SRBpf::pion, pion, caf::SRBpf::proton, and proton.

3330 {
3331  muon.Fill(sr.muon);
3332  pion.Fill(sr.pion);
3333  proton.Fill(sr.proton);
3334 }
SRBpfTrack muon
The track reconstructed under the muon assumption.
Definition: SRBpf.h:14
FlatBpfTrack proton
Definition: FlatBpf.h:32
FlatBpfTrack pion
Definition: FlatBpf.h:31
FlatBpfTrack muon
Definition: FlatBpf.h:30
SRBpfTrack pion
The track reconstructed under the pion assumption.
Definition: SRBpf.h:15
void Fill(const caf::SRBpfTrack &sr)
SRBpfTrack proton
The track reconstructed under the proton assumption.
Definition: SRBpf.h:16

Member Data Documentation

FlatBpfTrack flat::FlatBpf::muon
protected

Definition at line 30 of file FlatBpf.h.

Referenced by Fill().

FlatBpfTrack flat::FlatBpf::pion
protected

Definition at line 31 of file FlatBpf.h.

Referenced by Fill().

FlatBpfTrack flat::FlatBpf::proton
protected

Definition at line 32 of file FlatBpf.h.

Referenced by Fill().


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