CbmRoot
Loading...
Searching...
No Matches
CbmMvdDetector Class Reference

#include <CbmMvdDetector.h>

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

Public Member Functions

virtual ~CbmMvdDetector ()
 
void SendInputToSensorPlugin (Int_t detectorid, Int_t nPlugin, TObject *input)
 
void GetOutputArray (Int_t nPlugin, TClonesArray *outputArray)
 
void GetMatchArray (Int_t nPlugin, TClonesArray *matchArray)
 
std::map< int, CbmMvdSensor * > & GetSensorMap ()
 
CbmMvdSensorGetSensor (Int_t nSensor)
 
Int_t GetSensorArraySize ()
 
Int_t GetPluginArraySize ()
 
UInt_t GetPluginCount ()
 
void SetPluginCount (UInt_t count)
 
Int_t DetectPlugin (Int_t pluginID)
 
void AddSensor (TString clearName, TString fullName, TString nodeName, CbmMvdSensorDataSheet *sensorData, Int_t sensorNr, Int_t volumeId, Double_t sensorStartTime, Int_t stationNr)
 
void SetSensorArrayFilled (Bool_t value=kTRUE)
 
void Init ()
 
void SetMisalignment (Float_t misalignment[3])
 
void ShowDebugHistos ()
 
TH1 * GetHistogram (UInt_t nPlugin, UInt_t nHistogramNumber)
 
TH1 * GetHistogram (UInt_t nPlugin, UInt_t nHistogramNumber, UInt_t sensorInSensorArrayNumber)
 
UInt_t GetMaxHistoNumber (UInt_t nPlugin)
 
void ExecChain ()
 
void Exec (UInt_t nLevel)
 
void ExecFrom (UInt_t nLevel)
 
void Finish ()
 
void SetParameterFile (CbmMvdStationPar *parameter)
 
CbmMvdStationParGetParameterFile ()
 
void PrintParameter ()
 

Static Public Member Functions

static CbmMvdDetectorInstance ()
 
static void SetSensorTyp (CbmMvdSensorTyp typ)
 

Private Member Functions

 CbmMvdDetector ()
 
 CbmMvdDetector (const char *name)
 
 CbmMvdDetector (const CbmMvdDetector &)
 
CbmMvdDetector operator= (const CbmMvdDetector &)
 
 ClassDef (CbmMvdDetector, 3)
 

Private Attributes

TClonesArray * fSensorArray
 
std::map< int, CbmMvdSensor * > fSensorMap
 
UInt_t fPluginCount
 
TClonesArray * foutput
 
TClonesArray * foutputHits
 
TClonesArray * foutputDigis
 
TClonesArray * foutputCluster
 
TClonesArray * foutputDigiMatchs
 
TClonesArray * foutputHitMatchs
 
TClonesArray * fcurrentEvent
 
Float_t fepsilon [3]
 
Int_t fDigiPlugin
 
Int_t fHitPlugin
 
Int_t fClusterPlugin
 
Bool_t fSensorArrayFilled
 
Bool_t initialized
 
Bool_t fFinished
 
TString fName
 
CbmMvdStationParfParameter
 

Static Private Attributes

static CbmMvdSensorTyp fSensorTyp = CbmMvdSensorTyp::MIMOSIS
 
static CbmMvdDetectorfInstance = 0
 

Detailed Description

Definition at line 45 of file CbmMvdDetector.h.

Constructor & Destructor Documentation

◆ CbmMvdDetector() [1/3]

CbmMvdDetector::CbmMvdDetector ( )
private

Definition at line 51 of file CbmMvdDetector.cxx.

Referenced by Instance().

◆ CbmMvdDetector() [2/3]

CbmMvdDetector::CbmMvdDetector ( const char * name)
private

Definition at line 81 of file CbmMvdDetector.cxx.

References fepsilon, fInstance, and fName.

◆ ~CbmMvdDetector()

CbmMvdDetector::~CbmMvdDetector ( )
virtual

Destructor

Definition at line 118 of file CbmMvdDetector.cxx.

◆ CbmMvdDetector() [3/3]

CbmMvdDetector::CbmMvdDetector ( const CbmMvdDetector & )
private

Member Function Documentation

◆ AddSensor()

void CbmMvdDetector::AddSensor ( TString clearName,
TString fullName,
TString nodeName,
CbmMvdSensorDataSheet * sensorData,
Int_t sensorNr,
Int_t volumeId,
Double_t sensorStartTime,
Int_t stationNr )

◆ ClassDef()

CbmMvdDetector::ClassDef ( CbmMvdDetector ,
3  )
private

◆ DetectPlugin()

◆ Exec()

◆ ExecChain()

void CbmMvdDetector::ExecChain ( )

Data Processing

method to execute plugin chain on sensors

Definition at line 255 of file CbmMvdDetector.cxx.

References CbmMvdSensor::ExecChain(), fcurrentEvent, foutput, foutputCluster, foutputDigiMatchs, foutputDigis, foutputHits, and fSensorArray.

◆ ExecFrom()

void CbmMvdDetector::ExecFrom ( UInt_t nLevel)

execute chain from a spezific plugin on all sensors

Definition at line 310 of file CbmMvdDetector.cxx.

References CbmMvdSensor::ExecFrom(), fcurrentEvent, foutput, foutputCluster, foutputDigiMatchs, foutputDigis, foutputHits, and fSensorArray.

◆ Finish()

◆ GetHistogram() [1/2]

TH1 * CbmMvdDetector::GetHistogram ( UInt_t nPlugin,
UInt_t nHistogramNumber )

◆ GetHistogram() [2/2]

TH1 * CbmMvdDetector::GetHistogram ( UInt_t nPlugin,
UInt_t nHistogramNumber,
UInt_t sensorInSensorArrayNumber )

Definition at line 409 of file CbmMvdDetector.cxx.

◆ GetMatchArray()

void CbmMvdDetector::GetMatchArray ( Int_t nPlugin,
TClonesArray * matchArray )

◆ GetMaxHistoNumber()

UInt_t CbmMvdDetector::GetMaxHistoNumber ( UInt_t nPlugin)

◆ GetOutputArray()

void CbmMvdDetector::GetOutputArray ( Int_t nPlugin,
TClonesArray * outputArray )

◆ GetParameterFile()

CbmMvdStationPar * CbmMvdDetector::GetParameterFile ( )
inline

◆ GetPluginArraySize()

◆ GetPluginCount()

◆ GetSensor()

CbmMvdSensor * CbmMvdDetector::GetSensor ( Int_t nSensor)
inline

Definition at line 67 of file CbmMvdDetector.h.

References fSensorArray.

Referenced by DetectPlugin(), and CbmMvdQa::ExecDigiQa().

◆ GetSensorArraySize()

Int_t CbmMvdDetector::GetSensorArraySize ( )
inline

◆ GetSensorMap()

◆ Init()

◆ Instance()

◆ operator=()

CbmMvdDetector CbmMvdDetector::operator= ( const CbmMvdDetector & )
private

◆ PrintParameter()

void CbmMvdDetector::PrintParameter ( )
inline

Definition at line 106 of file CbmMvdDetector.h.

References fParameter, and CbmMvdStationPar::Print().

◆ SendInputToSensorPlugin()

void CbmMvdDetector::SendInputToSensorPlugin ( Int_t detectorid,
Int_t nPlugin,
TObject * input )

◆ SetMisalignment()

void CbmMvdDetector::SetMisalignment ( Float_t misalignment[3])
inline

Definition at line 82 of file CbmMvdDetector.h.

References fepsilon.

◆ SetParameterFile()

void CbmMvdDetector::SetParameterFile ( CbmMvdStationPar * parameter)
inline

Parameters

Definition at line 104 of file CbmMvdDetector.h.

References fParameter.

Referenced by CbmMvdGeoHandler::Init().

◆ SetPluginCount()

◆ SetSensorArrayFilled()

◆ SetSensorTyp()

static void CbmMvdDetector::SetSensorTyp ( CbmMvdSensorTyp typ)
inlinestatic

Definition at line 78 of file CbmMvdDetector.h.

References fSensorTyp.

◆ ShowDebugHistos()

Member Data Documentation

◆ fClusterPlugin

Int_t CbmMvdDetector::fClusterPlugin
private

Definition at line 132 of file CbmMvdDetector.h.

◆ fcurrentEvent

TClonesArray* CbmMvdDetector::fcurrentEvent
private

Definition at line 126 of file CbmMvdDetector.h.

Referenced by Exec(), ExecChain(), ExecFrom(), and Init().

◆ fDigiPlugin

Int_t CbmMvdDetector::fDigiPlugin
private

Data members

Definition at line 130 of file CbmMvdDetector.h.

◆ fepsilon

Float_t CbmMvdDetector::fepsilon[3]
private

Definition at line 127 of file CbmMvdDetector.h.

Referenced by AddSensor(), CbmMvdDetector(), and SetMisalignment().

◆ fFinished

Bool_t CbmMvdDetector::fFinished
private

Definition at line 138 of file CbmMvdDetector.h.

Referenced by Finish().

◆ fHitPlugin

Int_t CbmMvdDetector::fHitPlugin
private

Definition at line 131 of file CbmMvdDetector.h.

◆ fInstance

CbmMvdDetector * CbmMvdDetector::fInstance = 0
staticprivate

Definition at line 135 of file CbmMvdDetector.h.

Referenced by CbmMvdDetector(), and Instance().

◆ fName

TString CbmMvdDetector::fName
private

Definition at line 140 of file CbmMvdDetector.h.

Referenced by CbmMvdDetector().

◆ foutput

TClonesArray* CbmMvdDetector::foutput
private

Definition at line 120 of file CbmMvdDetector.h.

Referenced by Exec(), ExecChain(), ExecFrom(), and Init().

◆ foutputCluster

TClonesArray* CbmMvdDetector::foutputCluster
private

Definition at line 123 of file CbmMvdDetector.h.

Referenced by Exec(), ExecChain(), ExecFrom(), and Init().

◆ foutputDigiMatchs

TClonesArray* CbmMvdDetector::foutputDigiMatchs
private

Definition at line 124 of file CbmMvdDetector.h.

Referenced by Exec(), ExecChain(), ExecFrom(), and Init().

◆ foutputDigis

TClonesArray* CbmMvdDetector::foutputDigis
private

Definition at line 122 of file CbmMvdDetector.h.

Referenced by Exec(), ExecChain(), ExecFrom(), and Init().

◆ foutputHitMatchs

TClonesArray* CbmMvdDetector::foutputHitMatchs
private

Definition at line 125 of file CbmMvdDetector.h.

◆ foutputHits

TClonesArray* CbmMvdDetector::foutputHits
private

Definition at line 121 of file CbmMvdDetector.h.

Referenced by Exec(), ExecChain(), ExecFrom(), and Init().

◆ fParameter

CbmMvdStationPar* CbmMvdDetector::fParameter
private

Definition at line 142 of file CbmMvdDetector.h.

Referenced by GetParameterFile(), PrintParameter(), and SetParameterFile().

◆ fPluginCount

UInt_t CbmMvdDetector::fPluginCount
private

Definition at line 119 of file CbmMvdDetector.h.

Referenced by GetPluginArraySize(), GetPluginCount(), and SetPluginCount().

◆ fSensorArray

TClonesArray* CbmMvdDetector::fSensorArray
private

◆ fSensorArrayFilled

Bool_t CbmMvdDetector::fSensorArrayFilled
private

Definition at line 136 of file CbmMvdDetector.h.

Referenced by AddSensor(), DetectPlugin(), and SetSensorArrayFilled().

◆ fSensorMap

std::map<int, CbmMvdSensor*> CbmMvdDetector::fSensorMap
private

Definition at line 118 of file CbmMvdDetector.h.

Referenced by AddSensor(), GetSensorMap(), and SendInputToSensorPlugin().

◆ fSensorTyp

CbmMvdSensorTyp CbmMvdDetector::fSensorTyp = CbmMvdSensorTyp::MIMOSIS
staticprivate

Definition at line 115 of file CbmMvdDetector.h.

Referenced by Instance(), and SetSensorTyp().

◆ initialized

Bool_t CbmMvdDetector::initialized
private

Definition at line 137 of file CbmMvdDetector.h.

Referenced by Init().


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