#include "hmdcclosepaircutspar.h"

HMdcClosePairCutsPar


class description - source file - inheritance tree (.pdf)

class HMdcClosePairCutsPar : public HParSet

Inheritance Chart:
TObject
<-
TNamed
<-
HParSet
<-
HMdcClosePairCutsPar

    public:
HMdcClosePairCutsPar(const char* name = "MdcClosePairCutsPar", const char* title = "close pair rejection parameters for Mdc-Rich", const char* context, Int_t h = 3, Int_t l = 8, Int_t m = 3, Int_t n = 4) HMdcClosePairCutsPar(const HMdcClosePairCutsPar&) ~HMdcClosePairCutsPar() Int_t calculateMdcEffBin(Float_t min_eff) Int_t calculateMdcLevelBin(Float_t mdc_level) Int_t calculateMdcPhiBin(Float_t mdc_phi) Int_t calculateMdcThetaBin(Float_t mdc_the) static TClass* Class() virtual void clear() TString getContainerComment() Int_t getSize() virtual Bool_t init(HParIo* input, Int_t* set) virtual TClass* IsA() const HMdcClosePairCutsPar& operator=(const HMdcClosePairCutsPar&) HMdcClosePairCutsParTheta& operator[](Int_t l) Bool_t passCuts(Float_t mdc_level, Float_t mdc_the, Float_t mdc_phi, Float_t min_eff, Float_t mdc_clustersize, Float_t mdc_nwires, Float_t rich_intcharge) void printContainerComment() void printParam() void putAsciiHeader(TString&) void readline(const char*, Int_t*) void setContainerComment(TString mycomment) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) virtual Int_t write(HParIo* output) Bool_t writeline(char*, Int_t, Int_t, Int_t, Int_t)

Data Members


    protected:
TObjArray* array array of pointers of HMdcClosePairCutsParPhi HMdcDetector* fMdc TString comment Int_t theta_bin_size Int_t phi_bin_size Int_t theta_nbin Int_t phi_nbin

Class Description

 HMdcClosePairCutsPar                                                                                                
 Container storing the cuts to make close pair rejection                                                             
 If the all values of the cuts are larger than those from mdc-rich tracklet                                          
 than traclet is single. Cuts on mdc cluster size, mdc contributing wires                                            
  and integrated charge in ring are stored.                                                                          
 Because first two mdc variables are depending on theta,phi angle ,                                                  
 there are different cuts for several theta,phi regions. There are 8 bins in theta space:                            
 mdc cls finder level bins:                                                                                          
 0:  4                                                                                                               
 1:  5                                                                                                               
 2:  6                                                                                                               
 theta bins:                                                                                                         
 0:  10-20 degrees                                                                                                   
 1:  20-30 degrees                                                                                                   
 2:  30-40 degrees                                                                                                   
 3:  40-50 degrees                                                                                                   
 4:  50-60 degrees                                                                                                   
 5:  60-70 degrees                                                                                                   
 6:  70-80 degrees                                                                                                   
 7:  80-90 degrees                                                                                                   
 There are three bins in phi space                                                                                   
 phi bins:                                                                                                           
 0:   0-10 & 50-60                                                                                                   
 1:  10-20 & 40-50                                                                                                   
 2:  20-30 & 30-40                                                                                                   
 The rejection power S/B ratio depends on minimal single lepton efficiency therefore there are                       
 4 bins of efficiency                                                                                                
 efficiency bins:                                                                                                    
 0:  80-85                                                                                                           
 1:  85-90                                                                                                           
 2:  90-95                                                                                                           
 3:  95-100                                                                                                          


HMdcClosePairCutsPar(const char* name,const char* title, const char* context,Int_t h,Int_t l,Int_t m,Int_t n) : HParSet(name,title,context)
creating array of the  HMdcClosePairCutsParTheta
container has a tree structure

~HMdcClosePairCutsPar()
 destructor

Int_t getSize()
 return the size of the pointer array

Bool_t init(HParIo* inp,Int_t* set)
 intitializes the container from an input

Int_t write(HParIo* output)
 writes the container to an output

void clear()

void putAsciiHeader(TString& header)
 puts the ascii header to the string used in HMdcParAsciiFileIo

Bool_t writeline(char *buf, Int_t l, Int_t t, Int_t p, Int_t ef)
 writes one line to the buffer used by ascii file I/O

void readline (const char* buf,Int_t *)
 writes one line to the buffer used by ascii file I/O

void printParam(void)

Bool_t passCuts(Float_t mdc_level,Float_t mdc_the,Float_t mdc_phi,Float_t min_eff,Float_t mdc_clustersize,Float_t mdc_nwires,Float_t rich_intcharge)
 The usefull function to check whether values in cluster pass the CPR cuts:                     
 mdc_level ... 4-6                                                                              
 mdc_the,mdc_phi angles in degrees                                                              
 min_eff 80,85,90 or 95                                                                         


Int_t calculateMdcThetaBin(Float_t mdc_the)

Int_t calculateMdcPhiBin(Float_t mdc_phi)

Int_t calculateMdcLevelBin(Float_t mdc_level)

Int_t calculateMdcEffBin(Float_t min_eff)



Inline Functions


        HMdcClosePairCutsParTheta& operator[](Int_t l)
                              void setContainerComment(TString mycomment)
                           TString getContainerComment()
                              void printContainerComment()
                           TClass* Class()
                           TClass* IsA() const
                              void ShowMembers(TMemberInspector& insp, char* parent)
                              void Streamer(TBuffer& b)
                              void StreamerNVirtual(TBuffer& b)
              HMdcClosePairCutsPar HMdcClosePairCutsPar(const HMdcClosePairCutsPar&)
             HMdcClosePairCutsPar& operator=(const HMdcClosePairCutsPar&)


Last update: 18/06/2002


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.