LegsCut
class description - source file - inheritance tree (.pdf)
private:
LegsCut()
void InitCut()
void SetNbPionCut()
void SetNbProtonCut()
void SetNbXtPionCut()
void SetNbXtProtonCut()
void SetPnPionCut()
void SetPnProtonCut()
void SetXtPionCut()
void SetXtProtonCut()
public:
LegsCut(const LegsCut&)
virtual ~LegsCut()
static TClass* Class()
const map<string,vector<Float_t> >* GetCutMap() const
map<string,vector<float,allocator<float> >,less<string>,allocator<pair<const string,vector<float,allocator<float> > > > >::const_iterator GetIterator(const string& cutName)
static LegsCut* Instance()
virtual TClass* IsA() const
bool IsNbNeutral(const Float_t& nvdE)
bool IsNbPion(const Float_t& E, const Float_t& dE)
bool IsNbProton(const Float_t& E, const Float_t& dE)
bool IsNbXtPion(const Float_t& E, const Float_t& dE)
bool IsNbXtProton(const Float_t& E, const Float_t& dE)
bool IsPbGamma(Int_t partIndex)
bool IsPnGamma(const Float_t& InvBeta)
bool IsPnNeutron(const Float_t& InvBeta)
bool IsPnPion(const Float_t& E, const Float_t& dE)
bool IsPnPion(const Float_t& InvBeta)
bool IsPnProton(const Float_t& E, const Float_t& dE)
bool IsPnProton(const Float_t& InvBeta)
bool IsPnProton(Int_t partIndex)
bool IsXtGamma(Int_t partIndex)
bool IsXtPiMinus(Int_t partIndex)
bool IsXtPion(const Float_t& E, const Float_t& dE)
bool IsXtPiPlus(Int_t partIndex)
bool IsXtProton(const Float_t& E, const Float_t& dE)
LegsCut& operator=(const LegsCut&)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
void UpdateCut(const Int_t& time, const string& cutName)
private:
static LegsCut* fInstance
map<string,vector<Int_t> > fCutTimeMap
map<string,Int_t> fCutTimeIndexMap
map<string,vector<Float_t> > fCutMap
LegsAccessorToolKit* fAccessorToolKit
TCutG* fXtProtonCut
TCutG* fXtPionCut
TCutG* fNbProtonCut
TCutG* fNbPionCut
TCutG* fNbXtProtonCut
TCutG* fNbXtPionCut
TCutG* fPnProtonCut
TCutG* fPnPionCut
LegsCut* Instance()
LegsCut()
: TNamed("fCut","Cuts dataBase")
constructor of the class
void InitCut()
initialize all vectors with cut times from Cuts/cuts.db
the file needs to be updated manually every time new cuts are added with
help of program UpdateCutsDB.cxx
void UpdateCut(const Int_t& time,const string& cutName)
updates cut vectors in fCutTimeMap map based on available
cut files. The files must have a certain format (specified
below). When new files are added to the directory Cut they must be
scanned by program UpdateCutsDB ( available in directory
programs), which creates list in cuts.db. That list is used by
LegsEvent to determine when to stop and to read in next file. New
cut files will be available to LegEvent only if they are in cuts.db.
void SetXtProtonCut()
define and set the proton cut on E-dE histograms for the Xtal box
bool IsXtProton(const Float_t& E, const Float_t& dE)
do the test if data pair E-dE is inside the proton region
void SetXtPionCut()
define and set the charged pion cut on E-dE histograms for the Xtal box
bool IsXtPion(const Float_t& E, const Float_t& dE)
do the test if data pair E-dE is inside the pion region
void SetNbProtonCut()
define and set the proton cut on E-dE histograms for the n-barrel
bool IsNbProton(const Float_t& E, const Float_t& dE)
do the test if data pair E-dE is inside the proton region
void SetNbPionCut()
define and set the charged pion cut on E-dE histograms for the n-barrel
bool IsNbPion(const Float_t& E, const Float_t& dE)
do the test if data pair E-dE is inside the pion region
void SetNbXtProtonCut()
define and set the proton cut on added E-dE histograms for the Xtal box and n-barrel
bool IsNbXtProton(const Float_t& E, const Float_t& dE)
do the test if data pair E-dE is inside the proton region
void SetNbXtPionCut()
define and set the charged pion cut on added E-dE histograms for the Xtal box and n-barrel
bool IsNbXtPion(const Float_t& E, const Float_t& dE)
do the test if data pair E-dE is inside the pion region
void SetPnProtonCut()
define and set the proton cut on E-dE histograms for the Xtal box
bool IsPnProton(const Float_t& E, const Float_t& dE)
do the test if data pair E-dE is inside the proton region
void SetPnPionCut()
define and set the proton cut on E-dE histograms for the Xtal box
bool IsPnPion(const Float_t& E, const Float_t& dE)
do the test if data pair E-dE is inside the pion region
bool IsNbNeutral(const Float_t& nvdE)
do the test if particle in n-barrel is neutral by checking that Nv is lower than
a certain energy
bool IsPnNeutron(const Float_t& InvBeta)
do the test if inverse beta is inside the cut region
bool IsPnProton(const Float_t& InvBeta)
do the test if inverse beta is inside the cut region
bool IsPnPion(const Float_t& InvBeta)
do the test if inverse beta is inside the cut region
bool IsPnGamma(const Float_t& InvBeta)
do the test if inverse beta is inside the cut region
bool IsPnProton(Int_t partIndex)
bool IsXtGamma(Int_t partIndex)
XT && !XV for the XVface or XC && !XV at neigbour XV faces
bool IsPbGamma(Int_t partIndex)
one cluster in PB , nothing in PN in same direction as cluster in PB
bool IsXtPiPlus(Int_t partIndex)
bool IsXtPiMinus(Int_t partIndex)
mapIter GetIterator(const string& cutName)
Inline Functions
void ~LegsCut()
const map<string,vector<Float_t> >* GetCutMap() const
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
LegsCut LegsCut(const LegsCut&)
LegsCut& operator=(const LegsCut&)
Last update: Wed May 18 13:31:57 2005
ROOT page - Home 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.