#include "QSigExCleanData.h" |
QSigExCleanData
class description - header file - source file - inheritance tree (.pdf)
protected:
void CheckCuts() const
void CheckIfDataFilename() const
void CheckIfDataObjectName() const
virtual void FormatDir()
void SetDataFilename(const Char_t* fname)
void SetDataObjectName(const Char_t* fname)
public:
QSigExCleanData()
QSigExCleanData(const QSigExCleanData& rhs)
QSigExCleanData(TDirectory* dir, const Char_t* cardfilename = "NULL")
virtual ~QSigExCleanData()
static TClass* Class()
virtual void CleanDir()
virtual void ClearCardBuf()
virtual Int_t Get()
const Char_t* GetDataFName()
const Char_t* GetDataOName()
virtual TClass* IsA() const
virtual void LoadCardFile(const Char_t* cardfilename = "NULL")
void SetDataFName(const Char_t* datafname)
void SetDataOName(const Char_t* dataoname)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
private:
TDirectory* fEInfoDir Pointer to the TDirectory that contains event information
TString fDataFName String that contains the raw data filename
TString fDataOName String that contains the raw data object name
QSigExCleanData
This class applies the cuts defined in the TDirectory structure and
applies them on raw data events to produce a TTree containing clean
data. The new TTree is placed in "Event Info" TDirectory
void FormatDir()
This protected member function gives to the fMyDir TDirectory the structure
that is needed to store the information produced by this class. It creates
the TDirectory "Event Info"
void CleanDir()
This public member function reinitializes the part of the fMyDir TDirectory
structure that belongs to QSigExCleanData. It removes the TDirectory
"Event Info"
void ClearCardBuf()
This member function clears the internal variables used to store the
configuration information of this class in card file format
void LoadCardFile(const Char_t* cardfilename)
This public member function reads the card file with filename cardfilename
and saves the information related to the filename and object name of the raw
data TTree into internal member variables of this class.
Syntax of card file entry:
DATA_FILE [filename] [objectname]
where [filename] is the filename of the ROOT file and [objectname] is is the
raw data TTree object name relative to the root of the ROOT file.
Example: To read a TTree named "mytree" in subfoler "myfolder" of ROOT file
"myfile.root", use the following line in the card file:
DATA_FILE myfile.root myfolder/mytree
Int_t Get()
This function uses the cuts and the equivalences stored in fMyDir directory
structure to apply cuts on raw data events and to produce a TTree in "Event
Info" that contains only the clean events.
void CheckIfDataFilename()
This protected member function check if a raw data filename has been
assigned to the instance and throw an exception if it's not the case.
void CheckIfDataObjectName()
This protected member function check if a raw data object name has been
assigned to the instance and throw an exception if it's not the case.
void CheckCuts()
Check if the TDirectories "Cuts Expressions" and "Equivalences" exist
Author: Pierre-Luc Drouin
Last update: Fri Nov 17 16:35:13 2006
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.