CbmRoot
CbmBinnedSettings Class Reference

#include <Settings.h>

Inheritance diagram for CbmBinnedSettings:
[legend]
Collaboration diagram for CbmBinnedSettings:
[legend]

Public Member Functions

 CbmBinnedSettings ()
 
 CbmBinnedSettings (const CbmBinnedSettings &)=delete
 
CbmBinnedSettingsoperator= (const CbmBinnedSettings &)=delete
 
void clear ()
 
void putParams (FairParamList *l)
 
Bool_t getParams (FairParamList *l)
 
bool IsConfiguring () const
 
void SetConfiguring (bool v)
 
bool IsOnlyPrimary () const
 
void SetOnlyPrimary (bool v)
 
bool Use (ECbmModuleId m) const
 
void SetUse (Int_t m, bool v)
 
void SetUse (bool v)
 
void SetUse (bool useModules[ToIntegralType(ECbmModuleId::kLastModule)])
 
Int_t GetNofStsStations () const
 
void SetNofStsStations (Int_t v)
 
Int_t GetNofMuchStations () const
 
void SetNofMuchStations (Int_t v)
 
Int_t GetNofTrdStations () const
 
void SetNofTrdStations (Int_t v)
 
Int_t GetNofStations () const
 
void SetNofStations (Int_t v)
 
void AddStationScats (Double_t x, Double_t y)
 
Double_t GetXScat (size_t stationNumber) const
 
Double_t GetYScat (size_t stationNumber) const
 
void ResetScats ()
 
const std::list< EPrimaryParticleIdGetPrimaryParticles () const
 
void SetPrimaryParticle (EPrimaryParticleId v)
 
void AddPrimaryParticle (EPrimaryParticleId v)
 
void SetPrimaryParticles (const std::list< EPrimaryParticleId > v)
 
void AddPrimaryParticles (const std::list< EPrimaryParticleId > v)
 

Static Public Member Functions

static CbmBinnedSettingsInstance ()
 

Private Attributes

bool fIsConfiguring
 
bool fIsOnlyPrimary
 
bool fUseModules [ToIntegralType(ECbmModuleId::kLastModule)]
 
Int_t fNofStsStations
 
Int_t fNofMuchStations
 
Int_t fNofTrdStations
 
Int_t fNofStations
 
std::vector< Double_t > fXScats
 
std::vector< Double_t > fYScats
 
std::list< EPrimaryParticleIdfPrimaryParticleIds
 

Detailed Description

Definition at line 27 of file Settings.h.

Constructor & Destructor Documentation

◆ CbmBinnedSettings() [1/2]

CbmBinnedSettings::CbmBinnedSettings ( )
inline

Definition at line 38 of file Settings.h.

References fPrimaryParticleIds, fUseModules, kLastModule, and ppiNone.

Referenced by Instance().

◆ CbmBinnedSettings() [2/2]

CbmBinnedSettings::CbmBinnedSettings ( const CbmBinnedSettings )
delete

Member Function Documentation

◆ AddPrimaryParticle()

void CbmBinnedSettings::AddPrimaryParticle ( EPrimaryParticleId  v)
inline

Definition at line 217 of file Settings.h.

References fPrimaryParticleIds, and v.

◆ AddPrimaryParticles()

void CbmBinnedSettings::AddPrimaryParticles ( const std::list< EPrimaryParticleId v)
inline

Definition at line 224 of file Settings.h.

References fPrimaryParticleIds, and v.

◆ AddStationScats()

void CbmBinnedSettings::AddStationScats ( Double_t  x,
Double_t  y 
)
inline

Definition at line 190 of file Settings.h.

References fNofStations, fXScats, fYScats, x, and y.

Referenced by CbmBinnedMCTrackReader::Finish().

◆ clear()

void CbmBinnedSettings::clear ( )
inline

Definition at line 58 of file Settings.h.

◆ GetNofMuchStations()

Int_t CbmBinnedSettings::GetNofMuchStations ( ) const
inline

Definition at line 178 of file Settings.h.

References fNofMuchStations.

Referenced by CbmBinnedTrackerTask::Init(), and CbmBinnedTrackerQA::Init().

◆ GetNofStations()

◆ GetNofStsStations()

Int_t CbmBinnedSettings::GetNofStsStations ( ) const
inline

Definition at line 176 of file Settings.h.

References fNofStsStations.

Referenced by CbmBinnedTrackerTask::Init(), and CbmBinnedTrackerQA::Init().

◆ GetNofTrdStations()

Int_t CbmBinnedSettings::GetNofTrdStations ( ) const
inline

Definition at line 180 of file Settings.h.

References fNofTrdStations.

Referenced by CbmBinnedTrackerTask::Init(), and CbmBinnedTrackerQA::Init().

◆ getParams()

Bool_t CbmBinnedSettings::getParams ( FairParamList *  l)
inline

◆ GetPrimaryParticles()

const std::list<EPrimaryParticleId> CbmBinnedSettings::GetPrimaryParticles ( ) const
inline

Definition at line 208 of file Settings.h.

References fPrimaryParticleIds.

Referenced by CbmBinnedMCTrackReader::Handle().

◆ GetXScat()

Double_t CbmBinnedSettings::GetXScat ( size_t  stationNumber) const
inline

Definition at line 196 of file Settings.h.

References fXScats.

Referenced by CbmBinnedGeoReader::SearchStation().

◆ GetYScat()

Double_t CbmBinnedSettings::GetYScat ( size_t  stationNumber) const
inline

Definition at line 199 of file Settings.h.

References fYScats.

Referenced by CbmBinnedGeoReader::SearchStation().

◆ Instance()

◆ IsConfiguring()

◆ IsOnlyPrimary()

bool CbmBinnedSettings::IsOnlyPrimary ( ) const
inline

Definition at line 162 of file Settings.h.

References fIsOnlyPrimary.

Referenced by CbmBinnedTrackerQA::Init().

◆ operator=()

CbmBinnedSettings& CbmBinnedSettings::operator= ( const CbmBinnedSettings )
delete

◆ putParams()

void CbmBinnedSettings::putParams ( FairParamList *  l)
inline

◆ ResetScats()

void CbmBinnedSettings::ResetScats ( )
inline

Definition at line 203 of file Settings.h.

References fXScats, and fYScats.

Referenced by CbmBinnedTrackerConfigurator::Init().

◆ SetConfiguring()

void CbmBinnedSettings::SetConfiguring ( bool  v)
inline

Definition at line 161 of file Settings.h.

References fIsConfiguring, and v.

Referenced by CbmBinnedTrackerConfigurator::Init(), and CbmBinnedTrackerTask::Init().

◆ SetNofMuchStations()

void CbmBinnedSettings::SetNofMuchStations ( Int_t  v)
inline

◆ SetNofStations()

void CbmBinnedSettings::SetNofStations ( Int_t  v)
inline

◆ SetNofStsStations()

void CbmBinnedSettings::SetNofStsStations ( Int_t  v)
inline

◆ SetNofTrdStations()

void CbmBinnedSettings::SetNofTrdStations ( Int_t  v)
inline

◆ SetOnlyPrimary()

void CbmBinnedSettings::SetOnlyPrimary ( bool  v)
inline

Definition at line 163 of file Settings.h.

References fIsOnlyPrimary, and v.

Referenced by CbmBinnedTrackerTask::Init().

◆ SetPrimaryParticle()

void CbmBinnedSettings::SetPrimaryParticle ( EPrimaryParticleId  v)
inline

Definition at line 212 of file Settings.h.

References fPrimaryParticleIds, and v.

◆ SetPrimaryParticles()

void CbmBinnedSettings::SetPrimaryParticles ( const std::list< EPrimaryParticleId v)
inline

Definition at line 221 of file Settings.h.

References fPrimaryParticleIds, and v.

Referenced by CbmBinnedTrackerConfigurator::Init().

◆ SetUse() [1/3]

void CbmBinnedSettings::SetUse ( bool  useModules[ToIntegralType(ECbmModuleId::kLastModule)])
inline

Definition at line 171 of file Settings.h.

References fUseModules, kLastModule, and ToIntegralType().

◆ SetUse() [2/3]

void CbmBinnedSettings::SetUse ( bool  v)
inline

Definition at line 168 of file Settings.h.

References fUseModules, kLastModule, and v.

◆ SetUse() [3/3]

void CbmBinnedSettings::SetUse ( Int_t  m,
bool  v 
)
inline

Definition at line 167 of file Settings.h.

References fUseModules, m, and v.

Referenced by CbmBinnedTrackerConfigurator::Init(), and CbmBinnedTrackerTask::Init().

◆ Use()

Member Data Documentation

◆ fIsConfiguring

bool CbmBinnedSettings::fIsConfiguring
private

Definition at line 229 of file Settings.h.

Referenced by IsConfiguring(), and SetConfiguring().

◆ fIsOnlyPrimary

bool CbmBinnedSettings::fIsOnlyPrimary
private

Definition at line 230 of file Settings.h.

Referenced by getParams(), IsOnlyPrimary(), putParams(), and SetOnlyPrimary().

◆ fNofMuchStations

Int_t CbmBinnedSettings::fNofMuchStations
private

Definition at line 233 of file Settings.h.

Referenced by GetNofMuchStations(), getParams(), putParams(), and SetNofMuchStations().

◆ fNofStations

Int_t CbmBinnedSettings::fNofStations
private

Definition at line 236 of file Settings.h.

Referenced by AddStationScats(), GetNofStations(), getParams(), putParams(), and SetNofStations().

◆ fNofStsStations

Int_t CbmBinnedSettings::fNofStsStations
private

Definition at line 232 of file Settings.h.

Referenced by GetNofStsStations(), getParams(), putParams(), and SetNofStsStations().

◆ fNofTrdStations

Int_t CbmBinnedSettings::fNofTrdStations
private

Definition at line 234 of file Settings.h.

Referenced by GetNofTrdStations(), getParams(), putParams(), and SetNofTrdStations().

◆ fPrimaryParticleIds

std::list<EPrimaryParticleId> CbmBinnedSettings::fPrimaryParticleIds
private

◆ fUseModules

bool CbmBinnedSettings::fUseModules[ToIntegralType(ECbmModuleId::kLastModule)]
private

Definition at line 231 of file Settings.h.

Referenced by CbmBinnedSettings(), getParams(), putParams(), SetUse(), and Use().

◆ fXScats

std::vector<Double_t> CbmBinnedSettings::fXScats
private

Definition at line 237 of file Settings.h.

Referenced by AddStationScats(), getParams(), GetXScat(), putParams(), and ResetScats().

◆ fYScats

std::vector<Double_t> CbmBinnedSettings::fYScats
private

Definition at line 238 of file Settings.h.

Referenced by AddStationScats(), getParams(), GetYScat(), putParams(), and ResetScats().


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