BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnVSPDigitizer Class Reference

#include <BmnVSPDigitizer.h>

Inheritance diagram for BmnVSPDigitizer:
Collaboration diagram for BmnVSPDigitizer:

Public Member Functions

 BmnVSPDigitizer ()
 BmnVSPDigitizer (UInt_t run_period)
virtual ~BmnVSPDigitizer ()
virtual InitStatus Init ()
virtual void Exec (Option_t *opt)
virtual void Finish ()
void ProcessMCPoints ()
void SetOnlyPrimary (Bool_t opt=kFALSE)
void SetStripMatching (Bool_t opt=kTRUE)
void SetUseRealEffects (Bool_t opt=kTRUE)
void SetCurrentConfig (BmnVSPConfiguration::VSP_CONFIG config)
void SetXMLConfig (TString xml_file)
void SetNoise (Double_t sigma, Double_t thresh)
 BmnVSPDigitizer ()
 BmnVSPDigitizer (UInt_t run_period)
virtual ~BmnVSPDigitizer ()
virtual InitStatus Init ()
virtual void Exec (Option_t *opt)
virtual void Finish ()
void ProcessMCPoints ()
void SetOnlyPrimary (Bool_t opt=kFALSE)
void SetStripMatching (Bool_t opt=kTRUE)
void SetUseRealEffects (Bool_t opt=kTRUE)
void SetCurrentConfig (BmnVSPConfiguration::VSP_CONFIG config)
void SetXMLConfig (TString xml_file)
void SetNoise (Double_t sigma, Double_t thresh)

Private Attributes

TString fInputBranchName
TString fOutputDigitsBranchName
TString fOutputDigitMatchesBranchName
TClonesArray * fBmnVSPPointsArray
 Input array of VSP Points.
TClonesArray * fMCTracksArray
 Input array of MC Tracks.
TClonesArray * fBmnVSPDigitsArray
 Output array of VSP Digits.
TClonesArray * fBmnVSPDigitMatchesArray
 Output array of VSP Digit Matches.
Bool_t fOnlyPrimary
Bool_t fStripMatching
Bool_t fUseRealEffects
FairField * fField
BmnVSPConfiguration::VSP_CONFIG fCurrentConfig
TString XMLConfigFile
BmnVSPStationSet * StationSet
BmnVSPTransform * GlobalModTransfSet
Double_t fSigma
Double_t fThresh

Detailed Description

Definition at line 19 of file BmnVSPDigitizer.h.

Constructor & Destructor Documentation

◆ BmnVSPDigitizer() [1/4]

BmnVSPDigitizer::BmnVSPDigitizer ( )

Definition at line 13 of file BmnVSPDigitizer.cxx.

References fCurrentConfig, fField, fInputBranchName, fOnlyPrimary, fOutputDigitMatchesBranchName, fOutputDigitsBranchName, fSigma, fStripMatching, fThresh, fUseRealEffects, GlobalModTransfSet, BmnVSPConfiguration::None, and StationSet.

Referenced by BmnVSPDigitizer().

Here is the caller graph for this function:

◆ BmnVSPDigitizer() [2/4]

BmnVSPDigitizer::BmnVSPDigitizer ( UInt_t run_period)

Definition at line 33 of file BmnVSPDigitizer.cxx.

References BmnVSPDigitizer(), fCurrentConfig, BmnVSPConfiguration::None, and BmnVSPConfiguration::Run9.

Here is the call graph for this function:

◆ ~BmnVSPDigitizer() [1/2]

BmnVSPDigitizer::~BmnVSPDigitizer ( )
virtual

Definition at line 46 of file BmnVSPDigitizer.cxx.

References GlobalModTransfSet, and StationSet.

◆ BmnVSPDigitizer() [3/4]

BmnVSPDigitizer::BmnVSPDigitizer ( )

◆ BmnVSPDigitizer() [4/4]

BmnVSPDigitizer::BmnVSPDigitizer ( UInt_t run_period)

◆ ~BmnVSPDigitizer() [2/2]

virtual BmnVSPDigitizer::~BmnVSPDigitizer ( )
virtual

Member Function Documentation

◆ Exec() [1/2]

void BmnVSPDigitizer::Exec ( Option_t * opt)
virtual

Definition at line 123 of file BmnVSPDigitizer.cxx.

References entries, fBmnVSPDigitMatchesArray, fBmnVSPDigitsArray, fBmnVSPPointsArray, fStripMatching, ProcessMCPoints(), and workTime.

Here is the call graph for this function:

◆ Exec() [2/2]

virtual void BmnVSPDigitizer::Exec ( Option_t * opt)
virtual

◆ Finish() [1/2]

void BmnVSPDigitizer::Finish ( )
virtual

Definition at line 317 of file BmnVSPDigitizer.cxx.

References GlobalModTransfSet, StationSet, and workTime.

◆ Finish() [2/2]

virtual void BmnVSPDigitizer::Finish ( )
virtual

◆ Init() [1/2]

◆ Init() [2/2]

virtual InitStatus BmnVSPDigitizer::Init ( )
virtual

◆ ProcessMCPoints() [1/2]

void BmnVSPDigitizer::ProcessMCPoints ( )

Definition at line 150 of file BmnVSPDigitizer.cxx.

References fBmnVSPDigitMatchesArray, fBmnVSPDigitsArray, fBmnVSPPointsArray, fMCTracksArray, fOnlyPrimary, fSigma, fStripMatching, fThresh, BmnVSPStation::GetModule(), CbmMCTrack::GetMotherId(), BmnVSPStation::GetNModules(), BmnVSPModule::GetNStripLayers(), BmnVSPModule::GetStripMatchInZone(), BmnVSPLayer::GetZoneID(), GlobalModTransfSet, signal(), StationSet, ROOT::Math::PositionVector3D< class CoordSystem, class Tag >::X(), x, ROOT::Math::PositionVector3D< class CoordSystem, class Tag >::Y(), y, ROOT::Math::PositionVector3D< class CoordSystem, class Tag >::Z(), and z.

Referenced by Exec().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ProcessMCPoints() [2/2]

void BmnVSPDigitizer::ProcessMCPoints ( )

◆ SetCurrentConfig() [1/2]

void BmnVSPDigitizer::SetCurrentConfig ( BmnVSPConfiguration::VSP_CONFIG config)
inline

Definition at line 44 of file BmnVSPDigitizer.h.

References fCurrentConfig.

◆ SetCurrentConfig() [2/2]

void BmnVSPDigitizer::SetCurrentConfig ( BmnVSPConfiguration::VSP_CONFIG config)
inline

Definition at line 44 of file BmnVSPDigitizer.h.

References fCurrentConfig.

◆ SetNoise() [1/2]

void BmnVSPDigitizer::SetNoise ( Double_t sigma,
Double_t thresh )
inline

Definition at line 52 of file BmnVSPDigitizer.h.

References fSigma, and fThresh.

Referenced by run_sim_bmn().

Here is the caller graph for this function:

◆ SetNoise() [2/2]

void BmnVSPDigitizer::SetNoise ( Double_t sigma,
Double_t thresh )
inline

Definition at line 52 of file BmnVSPDigitizer.h.

References fSigma, and fThresh.

◆ SetOnlyPrimary() [1/2]

void BmnVSPDigitizer::SetOnlyPrimary ( Bool_t opt = kFALSE)
inline

Definition at line 38 of file BmnVSPDigitizer.h.

References fOnlyPrimary.

◆ SetOnlyPrimary() [2/2]

void BmnVSPDigitizer::SetOnlyPrimary ( Bool_t opt = kFALSE)
inline

Definition at line 38 of file BmnVSPDigitizer.h.

References fOnlyPrimary.

◆ SetStripMatching() [1/2]

void BmnVSPDigitizer::SetStripMatching ( Bool_t opt = kTRUE)
inline

Definition at line 40 of file BmnVSPDigitizer.h.

References fStripMatching.

◆ SetStripMatching() [2/2]

void BmnVSPDigitizer::SetStripMatching ( Bool_t opt = kTRUE)
inline

Definition at line 40 of file BmnVSPDigitizer.h.

References fStripMatching.

◆ SetUseRealEffects() [1/2]

void BmnVSPDigitizer::SetUseRealEffects ( Bool_t opt = kTRUE)
inline

Definition at line 42 of file BmnVSPDigitizer.h.

References fUseRealEffects.

Referenced by run_sim_bmn().

Here is the caller graph for this function:

◆ SetUseRealEffects() [2/2]

void BmnVSPDigitizer::SetUseRealEffects ( Bool_t opt = kTRUE)
inline

Definition at line 42 of file BmnVSPDigitizer.h.

References fUseRealEffects.

◆ SetXMLConfig() [1/2]

void BmnVSPDigitizer::SetXMLConfig ( TString xml_file)
inline

Definition at line 46 of file BmnVSPDigitizer.h.

References fCurrentConfig, BmnVSPConfiguration::None, and XMLConfigFile.

◆ SetXMLConfig() [2/2]

void BmnVSPDigitizer::SetXMLConfig ( TString xml_file)
inline

Definition at line 46 of file BmnVSPDigitizer.h.

References fCurrentConfig, BmnVSPConfiguration::None, and XMLConfigFile.

Member Data Documentation

◆ fBmnVSPDigitMatchesArray

TClonesArray * BmnVSPDigitizer::fBmnVSPDigitMatchesArray
private

Definition at line 73 of file BmnVSPDigitizer.h.

Referenced by Exec(), Init(), and ProcessMCPoints().

◆ fBmnVSPDigitsArray

TClonesArray * BmnVSPDigitizer::fBmnVSPDigitsArray
private

Definition at line 70 of file BmnVSPDigitizer.h.

Referenced by Exec(), Init(), and ProcessMCPoints().

◆ fBmnVSPPointsArray

TClonesArray * BmnVSPDigitizer::fBmnVSPPointsArray
private

Definition at line 64 of file BmnVSPDigitizer.h.

Referenced by Exec(), Init(), and ProcessMCPoints().

◆ fCurrentConfig

BmnVSPConfiguration::VSP_CONFIG BmnVSPDigitizer::fCurrentConfig
private

◆ fField

FairField * BmnVSPDigitizer::fField
private

Definition at line 79 of file BmnVSPDigitizer.h.

Referenced by BmnVSPDigitizer().

◆ fInputBranchName

TString BmnVSPDigitizer::fInputBranchName
private

Definition at line 59 of file BmnVSPDigitizer.h.

Referenced by BmnVSPDigitizer(), and Init().

◆ fMCTracksArray

TClonesArray * BmnVSPDigitizer::fMCTracksArray
private

Definition at line 67 of file BmnVSPDigitizer.h.

Referenced by Init(), and ProcessMCPoints().

◆ fOnlyPrimary

Bool_t BmnVSPDigitizer::fOnlyPrimary
private

Definition at line 75 of file BmnVSPDigitizer.h.

Referenced by BmnVSPDigitizer(), Init(), ProcessMCPoints(), and SetOnlyPrimary().

◆ fOutputDigitMatchesBranchName

TString BmnVSPDigitizer::fOutputDigitMatchesBranchName
private

Definition at line 61 of file BmnVSPDigitizer.h.

Referenced by BmnVSPDigitizer(), and Init().

◆ fOutputDigitsBranchName

TString BmnVSPDigitizer::fOutputDigitsBranchName
private

Definition at line 60 of file BmnVSPDigitizer.h.

Referenced by BmnVSPDigitizer(), and Init().

◆ fSigma

Double_t BmnVSPDigitizer::fSigma
private

Definition at line 86 of file BmnVSPDigitizer.h.

Referenced by BmnVSPDigitizer(), ProcessMCPoints(), and SetNoise().

◆ fStripMatching

Bool_t BmnVSPDigitizer::fStripMatching
private

Definition at line 76 of file BmnVSPDigitizer.h.

Referenced by BmnVSPDigitizer(), Exec(), Init(), ProcessMCPoints(), and SetStripMatching().

◆ fThresh

Double_t BmnVSPDigitizer::fThresh
private

Definition at line 87 of file BmnVSPDigitizer.h.

Referenced by BmnVSPDigitizer(), ProcessMCPoints(), and SetNoise().

◆ fUseRealEffects

Bool_t BmnVSPDigitizer::fUseRealEffects
private

Definition at line 77 of file BmnVSPDigitizer.h.

Referenced by BmnVSPDigitizer(), and SetUseRealEffects().

◆ GlobalModTransfSet

BmnVSPTransform * BmnVSPDigitizer::GlobalModTransfSet
private

Definition at line 84 of file BmnVSPDigitizer.h.

Referenced by BmnVSPDigitizer(), ~BmnVSPDigitizer(), Finish(), Init(), and ProcessMCPoints().

◆ StationSet

BmnVSPStationSet * BmnVSPDigitizer::StationSet
private

Definition at line 83 of file BmnVSPDigitizer.h.

Referenced by BmnVSPDigitizer(), ~BmnVSPDigitizer(), Finish(), Init(), and ProcessMCPoints().

◆ XMLConfigFile

TString BmnVSPDigitizer::XMLConfigFile
private

Definition at line 82 of file BmnVSPDigitizer.h.

Referenced by Init(), and SetXMLConfig().


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