Crombie Tools
Common Tools

Users can access objects via the CrombieTools.CommonTools module. More...

Classes

struct  Debug
 Class setting verbosity levels. More...
 
class  FileConfigReader
 This class reads a formatted MC Config file. More...
 
struct  FileInfo
 Structure holding all the information desired from each file. More...
 
class  InDirectoryHolder
 This class is used to facilitate running over files in a directory. More...
 
class  InOutDirectoryHolder
 nThis class is used to facilitate writing files to a directory. More...
 
class  ParallelRunner
 Class for running over FileInfos in parallel. More...
 
class  ProgressReporter
 This class is used to report progress of various codes that run over every event in a file. More...
 
class  TreeContainer
 Can be called from the CrombieTools.CommonTools.TreeContainer module. More...
 
struct  UncertaintyInfo
 Structure holding information to apply uncertainties in certain plots. More...
 

Functions

TString AddDirectory (TString dir, TString FileName)
 Helper function that prepends a directory name to a file. More...
 
Double_t GetXSecWeight (TString fileName, Double_t XSec, TString allHistName)
 Returns the XSection weight of each event. More...
 

Detailed Description

Users can access objects via the CrombieTools.CommonTools module.

These tools are mostly just inherited by many different modules within the package.

Function Documentation

§ AddDirectory()

TString AddDirectory ( TString  dir,
TString  FileName 
)

#include <InDirectoryHolder.h>

Helper function that prepends a directory name to a file.

Definition at line 24 of file InDirectoryHolder.h.

Referenced by InDirectoryHolder::AddInDir(), InOutDirectoryHolder::AddOutDir(), and ClassImp().

§ GetXSecWeight()

Double_t GetXSecWeight ( TString  fileName,
Double_t  XSec,
TString  allHistName 
)

#include <FileInfo.h>

Returns the XSection weight of each event.

Parameters
fileNameis the name of the file containing all events in the sample.
XSecis the cross section in pb in the sample.
allHistNameis the name of the histogram counting all events that were generated for the sample.
Returns
output that should be multiplied by the luminosity (in pb) to get the overall scaling of the histogram. This multiplication is done already in FileReader.

Definition at line 37 of file FileInfo.h.

Referenced by FileInfo::FileInfo().