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

#include <AtTpc.h>

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

Public Member Functions

 AtTpc (const char *Name, Bool_t Active)
 
 AtTpc ()
 
virtual ~AtTpc ()
 
virtual void Initialize () override
 
virtual Bool_t ProcessHits (FairVolume *v=0) override
 
virtual void Register () override
 
virtual TClonesArray * GetCollection (Int_t iColl) const override
 
virtual void Reset () override
 
virtual void Print (Option_t *option="") const override
 
virtual void EndOfEvent () override
 
virtual void ConstructGeometry () override
 
virtual Bool_t CheckIfSensitive (std::string name) override
 
AtMCPointAddHit (Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t time, Double_t length, Double_t eLoss)
 
AtMCPointAddHit (Int_t trackID, Int_t detID, TString VolName, Int_t detCopyID, TVector3 pos, TVector3 mom, Double_t time, Double_t length, Double_t eLoss, Double_t EIni, Double_t AIni, Int_t A, Int_t Z)
 

Detailed Description

Definition at line 29 of file AtTpc.h.

Constructor & Destructor Documentation

◆ AtTpc() [1/2]

AtTpc::AtTpc ( 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 42 of file AtTpc.cxx.

◆ AtTpc() [2/2]

AtTpc::AtTpc ( )

Definition at line 40 of file AtTpc.cxx.

◆ ~AtTpc()

AtTpc::~AtTpc ( )
virtual

Definition at line 48 of file AtTpc.cxx.

Member Function Documentation

◆ AddHit() [1/2]

AtMCPoint * AtTpc::AddHit ( Int_t  trackID,
Int_t  detID,
TString  VolName,
Int_t  detCopyID,
TVector3  pos,
TVector3  mom,
Double_t  time,
Double_t  length,
Double_t  eLoss,
Double_t  EIni,
Double_t  AIni,
Int_t  A,
Int_t  Z 
)

Definition at line 309 of file AtTpc.cxx.

◆ AddHit() [2/2]

AtMCPoint * AtTpc::AddHit ( Int_t  trackID,
Int_t  detID,
TVector3  pos,
TVector3  mom,
Double_t  time,
Double_t  length,
Double_t  eLoss 
)

Definition at line 301 of file AtTpc.cxx.

◆ CheckIfSensitive()

Bool_t AtTpc::CheckIfSensitive ( std::string  name)
overridevirtual

Definition at line 289 of file AtTpc.cxx.

◆ ConstructGeometry()

void AtTpc::ConstructGeometry ( )
overridevirtual

From FairModule

Definition at line 275 of file AtTpc.cxx.

◆ EndOfEvent()

void AtTpc::EndOfEvent ( )
overridevirtual

Definition at line 244 of file AtTpc.cxx.

◆ GetCollection()

TClonesArray * AtTpc::GetCollection ( Int_t  iColl) const
overridevirtual

Definition at line 255 of file AtTpc.cxx.

◆ Initialize()

void AtTpc::Initialize ( )
overridevirtual

From FairDetector

Definition at line 56 of file AtTpc.cxx.

◆ Print()

void AtTpc::Print ( Option_t *  option = "") const
overridevirtual

Definition at line 269 of file AtTpc.cxx.

◆ ProcessHits()

Bool_t AtTpc::ProcessHits ( FairVolume *  v = 0)
overridevirtual

This method is called from the MC stepping

Definition at line 174 of file AtTpc.cxx.

◆ Register()

void AtTpc::Register ( )
overridevirtual

Definition at line 250 of file AtTpc.cxx.

◆ Reset()

void AtTpc::Reset ( )
overridevirtual

Definition at line 264 of file AtTpc.cxx.


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