#include "hmdcppevtfilter.h"

HMdcPPEvtFilter


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

class HMdcPPEvtFilter : public HReconstructor

Inheritance Chart:
TObject
<-
TNamed
<-
HTask
<-
HReconstructor
<-
HMdcPPEvtFilter
    private:
TFile* openHistFile(const char* flag) protected:
void resetArrays() void resetCounters() public:
HMdcPPEvtFilter(Text_t* name, Text_t* title, Int_t flagcat = 0) HMdcPPEvtFilter() ~HMdcPPEvtFilter() static TClass* Class() void createHists() virtual Int_t execute() virtual Bool_t finalize() virtual Bool_t init() void initVariables() virtual TClass* IsA() const virtual Bool_t reinit() void setHistFile(char* dir, char* suf, char* option = "NEW") void setPhiCuts(Float_t Phi, Float_t DPhi) void setThetaCuts(Float_t Theta, Float_t DTheta) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
HRuntimeDb* rtdb HCategory* catmHMdcSeg ! HMdcSeg Category HMdcSeg* mdcseg ! seg data level HIterator* mdcsegiter ! seg iterator HCategory* catmHMdcClus ! HMdcClus Category HMdcClus* mdcclus ! clus data level HIterator* mdcclusiter ! clus iterator Char_t title[300] ! histrogram title Char_t name[300] ! histogram name Char_t xtitle[300] ! histogram xaxis title Char_t ytitle[300] ! histogram yaxis title Char_t ztitle[300] ! histogram zaxis title TH1F* histtanthetamult TH1F* histphidiff TH1F* histphidiffcut TH1F* histtanthetamultcut TH2F* histchithetacut TH2F* histchitheta TH2F* histchiphicut TH2F* histchiphi TCanvas* canv1 ! canvas for histogram TCanvas* canv2 ! canvas for histogram TCanvas* canv3 ! canvas for histogram TString histFileDir TString histFileSuffix TString histFileOption TString histFile TString psFile TString flNmWoExt input file name without extension Bool_t saveHist Bool_t saveCanv Bool_t savePSFile Int_t flagcategory Int_t sector[200] Float_t phishift[6] Float_t theta[200] Float_t phi[200] Float_t phidiff Float_t tanthetamult Float_t phimin Float_t phimax Float_t tanthetamin Float_t tanthetamax Float_t phiwidth Float_t tanthetawidth Float_t tanthetamean Float_t phimean Int_t multiplicity multiplicity counter Int_t IsElasticFlag Int_t TrigBit Float_t chi2[200]

Class Description


 HMdcPPEvtFilter

  pp elastic events will be selected
  all other events will be skipt.
  selection criteria:
  1. Trig Bit - only opposite sector triggered events
  2. Multiplicity>=2
  3. fabs((phi[i]-phi[j])-phimean) < phiwidth
  4. fabs(tantheta[i]*tantheta[j]) < tanthetawidth


  input level:
  default is mdccluster level

  if you want to have mdcseg level as input put flagcat in constructor !=0



HMdcPPEvtFilter(Text_t *name, Text_t *title, Int_t flagcat) : HReconstructor(name,title)

HMdcPPEvtFilter(void) : HReconstructor("HMdcPPEvtFilter","HMdcPPEvtFilter")

~HMdcPPEvtFilter(void)

void initVariables()

void createHists()
 hists are created

void setThetaCuts(Float_t Theta, Float_t DTheta)
 this function sets the mean for tantheta[i]*tantheta[j] and its width

void setPhiCuts(Float_t Phi, Float_t DPhi)
 this function sets the mean for phi[i]-phi[j] and its width

Bool_t init(void)

Bool_t reinit(void)

Int_t execute(void)

void setHistFile(char* dir,char* suf,char* option)
 the hist output file is set

Bool_t finalize(void)

TFile* openHistFile(const char* flag)
 hist output file is opened



Inline Functions


               void resetCounters()
               void resetArrays()
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)


Last update: Fri Jan 26 12:13:15 2007


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.