GammaWare  Head Version for release 0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Gw::GammaFilter Class Reference

Standard filter for gamma-rays (EUROBALL-like appproach) More...

#include <GammaFilter.h>

Inheritance diagram for Gw::GammaFilter:

Public Member Functions

 ClassDef (BaseFilter, 0)
 Root dictionnary related. More...
 
 ClassDef (GammaFilter, 1)
 Root dictionnary related. More...
 
Bool_t Compton (GammaLink *, Float_t &)
 true if this gamma-ray has not given all its energy. More...
 
Float_t Doppler (GammaLink *)
 return a random number assuming a gaussian at the gamma-rays position with a width given by fDoppler More...
 
 GammaFilter ()
 
 GammaFilter (Axis_t xmin, Axis_t xmax, Float_t eff=1, Float_t PT=0.5, Float_t dop=1.25)
 the simpliest filter: efficiency = cst, P/T = cst, Doppler = cst More...
 
Bool_t InitFilter (const char *)
 to modifiy the efficency curve. More...
 
Bool_t IsEffective ()
 check out if it has been correctly initiated More...
 
bool IsRejected (GammaLink *)
 True if this gamma ray is not detected. More...
 
virtual ~GammaFilter ()
 
virtual Int_t ApplyE (const TSeqCollection &, TBuffer &)
 Apply this filter to the list of gamma-rays. More...
 
virtual Int_t ApplyE (const TSeqCollection &, Float_t *)
 

Protected Attributes

TH1F * fCompton
 
TH1F * fComptonShape
 
TH1F * fDoppler
 
TH1F * fEfficiency
 
RandomfRand
 

Detailed Description

Standard filter for gamma-rays (EUROBALL-like appproach)

Gamma-ray simulated with BaseGEM or GEM could be used as inputs for detector simulations. The GEANT simulations give then the expected events coming from a 'real' experiment.

In order to produce events faster (probably needed to produce large amount of DATA), one can define some global characteristics of the AGATA array and use this experimental filter to get as much as possible realistic events. This approach is standard because the detector is supposed to be characterised only by its efficiency, its peak to total, its resolution and a compton profile. It allows then some comparisons with, for instance, EUROBALL. A more complex approach (TrackFilter) should be available soon ..
The list of gamma-rays is modified by taking into account:

  1. An efficiency curve.
    For a given gamma-ray energy, it says if the gamma-ray is detected or not.
  2. A peak to total ratio
    For a given gamma-ray energy, it says if the gamma-ray is fully detected (photopeak event). If not the g-ray energy is changed
  3. A doppler broadring
    For a given gamma-ray energy, it gives a Gaussian distribution.
Author
Olivier Stezowski
Date
01/2004 modification 11/2005

Definition at line 41 of file GammaFilter.h.


The documentation for this class was generated from the following files: