ATTPCROOT  0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
Public Member Functions | List of all members
AtSeGA Class Reference

#include <AtSeGA.h>

Inheritance diagram for AtSeGA:
Inheritance graph
[legend]
Collaboration diagram for AtSeGA:
Collaboration graph
[legend]

Public Member Functions

 AtSeGA (const char *Name, Bool_t Active)
 
 AtSeGA ()
 
virtual ~AtSeGA ()
 
virtual void Initialize ()
 
virtual Bool_t ProcessHits (FairVolume *v=0)
 
virtual void Register ()
 
virtual TClonesArray * GetCollection (Int_t iColl) const
 
virtual void Reset ()
 
virtual void Print (Option_t *option="") const
 
void ConstructGeometry ()
 
Bool_t CheckIfSensitive (std::string name)
 
virtual void CopyClones (TClonesArray *cl1, TClonesArray *cl2, Int_t offset)
 
virtual void SetSpecialPhysicsCuts ()
 
virtual void EndOfEvent ()
 
virtual void FinishPrimary ()
 
virtual void FinishRun ()
 
virtual void BeginPrimary ()
 
virtual void PostTrack ()
 
virtual void PreTrack ()
 
virtual void BeginEvent ()
 

Detailed Description

Definition at line 25 of file AtSeGA.h.

Constructor & Destructor Documentation

◆ AtSeGA() [1/2]

AtSeGA::AtSeGA ( const char *  Name,
Bool_t  Active 
)

Name : Detector Name Active: kTRUE for active detectors (ProcessHits() will be called) kFALSE for inactive detectors

Definition at line 33 of file AtSeGA.cxx.

◆ AtSeGA() [2/2]

AtSeGA::AtSeGA ( )

default constructor

Definition at line 27 of file AtSeGA.cxx.

◆ ~AtSeGA()

AtSeGA::~AtSeGA ( )
virtual

destructor

Definition at line 39 of file AtSeGA.cxx.

Member Function Documentation

◆ BeginEvent()

virtual void AtSeGA::BeginEvent ( )
inlinevirtual

Definition at line 96 of file AtSeGA.h.

◆ BeginPrimary()

virtual void AtSeGA::BeginPrimary ( )
inlinevirtual

Definition at line 93 of file AtSeGA.h.

◆ CheckIfSensitive()

Bool_t AtSeGA::CheckIfSensitive ( std::string  name)

Definition at line 146 of file AtSeGA.cxx.

◆ ConstructGeometry()

void AtSeGA::ConstructGeometry ( )

Create the detector geometry

Definition at line 132 of file AtSeGA.cxx.

◆ CopyClones()

virtual void AtSeGA::CopyClones ( TClonesArray *  cl1,
TClonesArray *  cl2,
Int_t  offset 
)
inlinevirtual

The following methods can be implemented if you need to make any optional action in your detector during the transport.

Definition at line 88 of file AtSeGA.h.

◆ EndOfEvent()

void AtSeGA::EndOfEvent ( )
virtual

Definition at line 94 of file AtSeGA.cxx.

◆ FinishPrimary()

virtual void AtSeGA::FinishPrimary ( )
inlinevirtual

Definition at line 91 of file AtSeGA.h.

◆ FinishRun()

virtual void AtSeGA::FinishRun ( )
inlinevirtual

Definition at line 92 of file AtSeGA.h.

◆ GetCollection()

TClonesArray * AtSeGA::GetCollection ( Int_t  iColl) const
virtual

Gets the produced collections

Definition at line 112 of file AtSeGA.cxx.

◆ Initialize()

void AtSeGA::Initialize ( )
virtual

Initialization of the detector is done here

Definition at line 47 of file AtSeGA.cxx.

◆ PostTrack()

virtual void AtSeGA::PostTrack ( )
inlinevirtual

Definition at line 94 of file AtSeGA.h.

◆ PreTrack()

virtual void AtSeGA::PreTrack ( )
inlinevirtual

Definition at line 95 of file AtSeGA.h.

◆ Print()

void AtSeGA::Print ( Option_t *  option = "") const
virtual

Virtual method Print

Screen output of hit collection.

Definition at line 126 of file AtSeGA.cxx.

◆ ProcessHits()

Bool_t AtSeGA::ProcessHits ( FairVolume *  v = 0)
virtual

this method is called for each step during simulation (see FairMCApplication::Stepping())

This method is called from the MC stepping

Definition at line 54 of file AtSeGA.cxx.

◆ Register()

void AtSeGA::Register ( )
virtual

Registers the produced collections in FAIRRootManager.

This will create a branch in the output tree called AtSeGAPoint, setting the last parameter to kFALSE means: this collection will not be written to the file, it will exist only during the simulation.

Definition at line 100 of file AtSeGA.cxx.

◆ Reset()

void AtSeGA::Reset ( )
virtual

has to be called after each event to reset the containers

Definition at line 121 of file AtSeGA.cxx.

◆ SetSpecialPhysicsCuts()

virtual void AtSeGA::SetSpecialPhysicsCuts ( )
inlinevirtual

Definition at line 89 of file AtSeGA.h.


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