Crombie Tools
FileInfo Struct Reference

Structure holding all the information desired from each file. More...

#include <FileInfo.h>

+ Inheritance diagram for FileInfo:

Public Member Functions

 FileInfo ()
 
 FileInfo (TString treeName, TString fileName, Double_t XSec, TString entry, Int_t colorstyle, TString allHist, UncertaintyInfo *uncInfo=nullptr)
 The constructor fills all of the entries. More...
 
 ~FileInfo ()
 
- Public Member Functions inherited from Debug
 Debug ()
 
virtual ~Debug ()
 
DebugLevel GetDebugLevel ()
 Gets the verbosity for a class. More...
 
template<typename T , typename... V>
void Message (DebugLevel level, T message, V... more)
 Sends a message if the verbosity level is appropriate. More...
 
void Message (DebugLevel level)
 
void SetDebugLevel (DebugLevel level)
 Sets the verbosity for a class. More...
 

Public Attributes

Int_t fColorStyle
 Fill color or line style (if signal) for that file. More...
 
TString fEntry
 Legend entry for that file. More...
 
TString fFileName
 Name of the file. More...
 
TH1D fRenormHistogram
 Histogram to hold the sum of weights for this file. More...
 
unsigned long fSize
 Size of the file. More...
 
TString fTreeName
 Base name for the Limit Tree made by LimitTreeMaker. More...
 
UncertaintyInfofUncertaintyInfo
 Structure to supply uncertainty weight to a file. More...
 
Double_t fXSec
 Cross section of the sample contained in the file. More...
 
Double_t fXSecWeight
 Weight determined by GetXSecWeight() More...
 

Additional Inherited Members

- Public Types inherited from Debug
enum  DebugLevel { eQuiet = 0, eError, eInfo, eDebug }
 Different possible debug levels. More...
 
- Protected Member Functions inherited from Debug
void DisplayFunc (const char *func)
 Sends the name of the function during debuggin. More...
 

Detailed Description

Structure holding all the information desired from each file.

Definition at line 61 of file FileInfo.h.

Constructor & Destructor Documentation

§ FileInfo() [1/2]

FileInfo::FileInfo ( )
inline

Definition at line 63 of file FileInfo.h.

§ FileInfo() [2/2]

FileInfo::FileInfo ( TString  treeName,
TString  fileName,
Double_t  XSec,
TString  entry,
Int_t  colorstyle,
TString  allHist,
UncertaintyInfo uncInfo = nullptr 
)
inline

The constructor fills all of the entries.

Definition at line 65 of file FileInfo.h.

References Debug::eDebug, fColorStyle, fEntry, fFileName, fRenormHistogram, fSize, fUncertaintyInfo, fXSec, fXSecWeight, GetXSecWeight(), localslim::inFile, and Debug::Message().

§ ~FileInfo()

FileInfo::~FileInfo ( )
inline

Definition at line 87 of file FileInfo.h.

References fUncertaintyInfo.

Member Data Documentation

§ fColorStyle

Int_t FileInfo::fColorStyle

Fill color or line style (if signal) for that file.

Definition at line 96 of file FileInfo.h.

Referenced by FileInfo().

§ fEntry

TString FileInfo::fEntry

Legend entry for that file.

Definition at line 95 of file FileInfo.h.

Referenced by FileInfo().

§ fFileName

TString FileInfo::fFileName

Name of the file.

Definition at line 93 of file FileInfo.h.

Referenced by FileInfo(), XSecAdder::RunFile(), PlotPreparer::RunFile(), and ParallelRunner::RunThread().

§ fRenormHistogram

TH1D FileInfo::fRenormHistogram

Histogram to hold the sum of weights for this file.

Definition at line 100 of file FileInfo.h.

Referenced by FileInfo().

§ fSize

unsigned long FileInfo::fSize

Size of the file.

Definition at line 99 of file FileInfo.h.

Referenced by FileInfo(), and operator<().

§ fTreeName

TString FileInfo::fTreeName

Base name for the Limit Tree made by LimitTreeMaker.

Definition at line 92 of file FileInfo.h.

§ fUncertaintyInfo

UncertaintyInfo* FileInfo::fUncertaintyInfo

Structure to supply uncertainty weight to a file.

Definition at line 98 of file FileInfo.h.

Referenced by FileInfo(), and ~FileInfo().

§ fXSec

Double_t FileInfo::fXSec

Cross section of the sample contained in the file.

Definition at line 94 of file FileInfo.h.

Referenced by FileInfo().

§ fXSecWeight

Double_t FileInfo::fXSecWeight

Weight determined by GetXSecWeight()

Definition at line 97 of file FileInfo.h.

Referenced by FileConfigReader::AddFile(), FileInfo(), and XSecAdder::RunFile().


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