#include "hgeantfilter.h"

HGeantFilter


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

class HGeantFilter : public HReconstructor

Inheritance Chart:
TObject
<-
TNamed
<-
HTask
<-
HReconstructor
<-
HGeantFilter

    public:
HGeantFilter(Text_t* name, Text_t* title, Int_t id, Float_t acc) HGeantFilter(HGeantFilter& filter) ~HGeantFilter() static TClass* Class() virtual Int_t execute() virtual Bool_t finalize() virtual Bool_t init() virtual TClass* IsA() const virtual Bool_t reinit() void setAcceptance(Float_t acc) void setID(Int_t id) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
Int_t particleId Float_t accepted HCategory* catKine ! HCategory* catMdc ! HCategory* catTof ! HCategory* catShower ! HCategory* catRichPhoton ! HCategory* catRichDirect ! HCategory* catRichMirror !

Class Description


  HGeantFilter

  Reconstructor to filter the simulated event data produced by HGeant
  rescaling the multiplcity of particle id by acc.

  This is done by throwing a rundom number for each occurance of a particle
  id in the kine branch and deleting all associated hits from all categories
  of type hgeantxxx.
  The kine branch entries are not removed however, just set 'inactive'.



HGeantFilter(Text_t *name,Text_t *title, Int_t id, Float_t acc) : HReconstructor(name,title)

HGeantFilter(HGeantFilter &filter)
 copy constructor not implemented!

~HGeantFilter(void)

Bool_t init(void)
 Set up pointers to the Geant cats and their iterators


Int_t execute(void)
 Do the filtering for each hit category


Bool_t reinit(void)

Bool_t finalize(void)



Inline Functions


               void setID(Int_t id)
               void setAcceptance(Float_t acc)
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)


Last update: 31/03/2004 by


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.