Belle II Software development
BeamBkgMixerModule::BkgFiles Struct Reference

structure to hold samples of a particular background type More...

Public Member Functions

 BkgFiles ()
 default constructor
 
 BkgFiles (BackgroundMetaData::BG_TAG bkgTag, const std::string &bkgType, const std::string &fileName, double time, double scaleFac, BackgroundMetaData::EFileType fileTyp=BackgroundMetaData::c_Usual, unsigned indx=0)
 usefull constructor
 

Public Attributes

BackgroundMetaData::BG_TAG tag
 background tag
 
std::string type
 background type
 
double realTime
 real time of BG samlpe
 
double scaleFactor
 scale factor for the rate
 
std::vector< std::string > fileNames
 file names
 
BackgroundMetaData::EFileType fileType
 file type
 
std::unique_ptr< TChain > tree
 tree pointer
 
unsigned numFiles
 number of files connected to TChain
 
unsigned numEvents
 number of events (tree entries) in the sample
 
unsigned eventCount
 current event (tree entry)
 
double rate
 background rate of the sample
 
unsigned index
 index of this element in the std::vector
 

Detailed Description

structure to hold samples of a particular background type

Definition at line 101 of file BeamBkgMixerModule.h.

Constructor & Destructor Documentation

◆ BkgFiles() [1/2]

BkgFiles ( )
inline

default constructor

Definition at line 118 of file BeamBkgMixerModule.h.

120 tree(nullptr), numFiles(0), numEvents(0), eventCount(0), rate(0.0), index(0)
121 {}
unsigned index
index of this element in the std::vector
double rate
background rate of the sample
std::unique_ptr< TChain > tree
tree pointer
BackgroundMetaData::BG_TAG tag
background tag
double scaleFactor
scale factor for the rate
double realTime
real time of BG samlpe
unsigned numEvents
number of events (tree entries) in the sample
unsigned numFiles
number of files connected to TChain
BackgroundMetaData::EFileType fileType
file type
unsigned eventCount
current event (tree entry)

◆ BkgFiles() [2/2]

BkgFiles ( BackgroundMetaData::BG_TAG  bkgTag,
const std::string &  bkgType,
const std::string &  fileName,
double  time,
double  scaleFac,
BackgroundMetaData::EFileType  fileTyp = BackgroundMetaData::c_Usual,
unsigned  indx = 0 
)
inline

usefull constructor

Parameters
bkgTagbackground tag
bkgTypebackground type
fileNamefile name
timereal time that corresponds to background sample
scaleFacscale factor for the rate
fileTypfile type
indxindex of this element in the std::vector

Definition at line 132 of file BeamBkgMixerModule.h.

138 :
139 tag(bkgTag), type(bkgType), realTime(time), scaleFactor(scaleFac),
140 fileType(fileTyp),
141 tree(nullptr), numFiles(0), numEvents(0), eventCount(0), rate(0.0), index(indx)
142 {
143 fileNames.push_back(fileName);
144 }
std::vector< std::string > fileNames
file names

Member Data Documentation

◆ eventCount

unsigned eventCount

current event (tree entry)

Definition at line 111 of file BeamBkgMixerModule.h.

◆ fileNames

std::vector<std::string> fileNames

file names

Definition at line 106 of file BeamBkgMixerModule.h.

◆ fileType

file type

Definition at line 107 of file BeamBkgMixerModule.h.

◆ index

unsigned index

index of this element in the std::vector

Definition at line 113 of file BeamBkgMixerModule.h.

◆ numEvents

unsigned numEvents

number of events (tree entries) in the sample

Definition at line 110 of file BeamBkgMixerModule.h.

◆ numFiles

unsigned numFiles

number of files connected to TChain

Definition at line 109 of file BeamBkgMixerModule.h.

◆ rate

double rate

background rate of the sample

Definition at line 112 of file BeamBkgMixerModule.h.

◆ realTime

double realTime

real time of BG samlpe

Definition at line 104 of file BeamBkgMixerModule.h.

◆ scaleFactor

double scaleFactor

scale factor for the rate

Definition at line 105 of file BeamBkgMixerModule.h.

◆ tag

background tag

Definition at line 102 of file BeamBkgMixerModule.h.

◆ tree

std::unique_ptr<TChain> tree

tree pointer

Definition at line 108 of file BeamBkgMixerModule.h.

◆ type

std::string type

background type

Definition at line 103 of file BeamBkgMixerModule.h.


The documentation for this struct was generated from the following file: