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

#include <AtApollo.h>

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

Public Member Functions

 AtApollo (const char *Name, Bool_t Active)
 
 AtApollo ()
 
virtual ~AtApollo ()
 
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 27 of file AtApollo.h.

Constructor & Destructor Documentation

◆ AtApollo() [1/2]

AtApollo::AtApollo ( 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 36 of file AtApollo.cxx.

◆ AtApollo() [2/2]

AtApollo::AtApollo ( )

default constructor

Definition at line 30 of file AtApollo.cxx.

◆ ~AtApollo()

AtApollo::~AtApollo ( )
virtual

destructor

Definition at line 42 of file AtApollo.cxx.

Member Function Documentation

◆ BeginEvent()

virtual void AtApollo::BeginEvent ( )
inlinevirtual

Definition at line 81 of file AtApollo.h.

◆ BeginPrimary()

virtual void AtApollo::BeginPrimary ( )
inlinevirtual

Definition at line 78 of file AtApollo.h.

◆ CheckIfSensitive()

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

Definition at line 150 of file AtApollo.cxx.

◆ ConstructGeometry()

void AtApollo::ConstructGeometry ( )

Create the detector geometry

Definition at line 136 of file AtApollo.cxx.

◆ CopyClones()

virtual void AtApollo::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 73 of file AtApollo.h.

◆ EndOfEvent()

void AtApollo::EndOfEvent ( )
virtual

Definition at line 98 of file AtApollo.cxx.

◆ FinishPrimary()

virtual void AtApollo::FinishPrimary ( )
inlinevirtual

Definition at line 76 of file AtApollo.h.

◆ FinishRun()

virtual void AtApollo::FinishRun ( )
inlinevirtual

Definition at line 77 of file AtApollo.h.

◆ GetCollection()

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

Gets the produced collections

Definition at line 116 of file AtApollo.cxx.

◆ Initialize()

void AtApollo::Initialize ( )
virtual

Initialization of the detector is done here

Definition at line 50 of file AtApollo.cxx.

◆ PostTrack()

virtual void AtApollo::PostTrack ( )
inlinevirtual

Definition at line 79 of file AtApollo.h.

◆ PreTrack()

virtual void AtApollo::PreTrack ( )
inlinevirtual

Definition at line 80 of file AtApollo.h.

◆ Print()

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

Virtual method Print

Screen output of hit collection.

Definition at line 130 of file AtApollo.cxx.

◆ ProcessHits()

Bool_t AtApollo::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 58 of file AtApollo.cxx.

◆ Register()

void AtApollo::Register ( )
virtual

Registers the produced collections in FAIRRootManager.

This will create a branch in the output tree called AtApolloPoint, 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 104 of file AtApollo.cxx.

◆ Reset()

void AtApollo::Reset ( )
virtual

has to be called after each event to reset the containers

Definition at line 125 of file AtApollo.cxx.

◆ SetSpecialPhysicsCuts()

virtual void AtApollo::SetSpecialPhysicsCuts ( )
inlinevirtual

Definition at line 74 of file AtApollo.h.


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