CbmRoot
CbmMvdDetector Class Reference

#include <CbmMvdDetector.h>

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

Public Member Functions

virtual ~CbmMvdDetector ()
 
void SendInput (TClonesArray *input)
 
void SendInputDigis (CbmDigiManager *digiMan)
 
void SendInputDigis (TClonesArray *digis)
 
void SendInputDigisToHits (TClonesArray *digis)
 
void SendInputCluster (TClonesArray *cluster)
 
TClonesArray * GetOuput ()
 
TClonesArray * GetOutputHits ()
 
TClonesArray * GetOutputDigis ()
 
TClonesArray * GetOutputDigiMatchs ()
 
TClonesArray * GetOutputCluster ()
 
TClonesArray * GetOutputArray (Int_t nPlugin)
 
Int_t GetSensorArraySize ()
 
UInt_t GetPluginArraySize ()
 
TClonesArray * GetCurrentEvent ()
 
void AddSensor (TString clearName, TString fullName, TString nodeName, CbmMvdSensorDataSheet *sensorData, Int_t sensorNr, Int_t volumeId, Double_t sensorStartTime, Int_t stationNr)
 
void AddPlugin (CbmMvdSensorPlugin *plugin)
 
void BuildDebugHistograms ()
 
void Init ()
 
void SetMisalignment (Float_t misalignment[3])
 
void SetParameterFile (CbmMvdStationPar *parameter)
 
void ShowDebugHistos ()
 
void ExecChain ()
 
void Exec (UInt_t nLevel)
 
void ExecFrom (UInt_t nLevel)
 
void Finish ()
 
CbmMvdStationParGetParameterFile ()
 
CbmMvdSensorGetSensor (UInt_t nSensor)
 
void PrintParameter ()
 
void SetProduceNoise ()
 

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, 1)
 

Private Attributes

TClonesArray * fSensorArray
 
TClonesArray * fSensorIDArray
 
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 39 of file CbmMvdDetector.h.

Constructor & Destructor Documentation

◆ CbmMvdDetector() [1/3]

CbmMvdDetector::CbmMvdDetector ( )
private

Definition at line 62 of file CbmMvdDetector.cxx.

Referenced by Instance().

◆ CbmMvdDetector() [2/3]

CbmMvdDetector::CbmMvdDetector ( const char *  name)
private

Definition at line 91 of file CbmMvdDetector.cxx.

References fepsilon, fInstance, and fName.

◆ ~CbmMvdDetector()

CbmMvdDetector::~CbmMvdDetector ( )
virtual

Destructor

Definition at line 126 of file CbmMvdDetector.cxx.

◆ CbmMvdDetector() [3/3]

CbmMvdDetector::CbmMvdDetector ( const CbmMvdDetector )
private

Member Function Documentation

◆ AddPlugin()

◆ AddSensor()

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

Initialisation

new sensor is registered in sensor array

Definition at line 131 of file CbmMvdDetector.cxx.

References fepsilon, fSensorArray, fSensorArrayFilled, CbmMvdSensor::SetDataSheet(), CbmMvdSensor::SetMisalignment(), and CbmMvdSensor::SetStation().

Referenced by CbmMvdGeoHandler::FillDetector().

◆ BuildDebugHistograms()

void CbmMvdDetector::BuildDebugHistograms ( )
inline

Definition at line 86 of file CbmMvdDetector.h.

◆ ClassDef()

CbmMvdDetector::ClassDef ( CbmMvdDetector  ,
 
)
private

◆ Exec()

◆ ExecChain()

void CbmMvdDetector::ExecChain ( )

Data Processing

method to execute plugin chain on sensors

Definition at line 499 of file CbmMvdDetector.cxx.

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

◆ ExecFrom()

void CbmMvdDetector::ExecFrom ( UInt_t  nLevel)

execute chain from a spezific plugin on all sensors

Definition at line 552 of file CbmMvdDetector.cxx.

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

◆ Finish()

◆ GetCurrentEvent()

TClonesArray * CbmMvdDetector::GetCurrentEvent ( )

Method used for debugging, Plugins have to hold there output until next call

Definition at line 576 of file CbmMvdDetector.cxx.

References fcurrentEvent, fSensorArray, CbmMvdSensor::GetOutputArray(), and i.

◆ GetOuput()

TClonesArray* CbmMvdDetector::GetOuput ( )
inline

Definition at line 63 of file CbmMvdDetector.h.

◆ GetOutputArray()

TClonesArray * CbmMvdDetector::GetOutputArray ( Int_t  nPlugin)

method used to write processed events to hd

Definition at line 684 of file CbmMvdDetector.cxx.

References foutputDigiMatchs, foutputDigis, fSensorArray, CbmMvdSensor::GetOutputArray(), CbmMvdSensor::GetOutputArrayLen(), CbmMvdSensor::GetOutputMatch(), and i.

◆ GetOutputCluster()

TClonesArray * CbmMvdDetector::GetOutputCluster ( )

◆ GetOutputDigiMatchs()

TClonesArray * CbmMvdDetector::GetOutputDigiMatchs ( )

method used to write digiMatches to hd

Definition at line 641 of file CbmMvdDetector.cxx.

References fDigiPlugin, foutputDigiMatchs, fSensorArray, CbmMvdSensor::GetDigiPlugin(), CbmMvdSensor::GetOutputMatch(), and i.

Referenced by CbmMvdDigitizer::Exec().

◆ GetOutputDigis()

TClonesArray * CbmMvdDetector::GetOutputDigis ( )

◆ GetOutputHits()

TClonesArray * CbmMvdDetector::GetOutputHits ( )

◆ GetParameterFile()

CbmMvdStationPar* CbmMvdDetector::GetParameterFile ( )
inline

Accessors

Definition at line 111 of file CbmMvdDetector.h.

References fParameter.

Referenced by CbmKF::Init(), CbmMvdQa::Init(), CbmL1::Init(), and PairAnalysisTrack::PairAnalysisTrack().

◆ GetPluginArraySize()

◆ GetSensor()

CbmMvdSensor* CbmMvdDetector::GetSensor ( UInt_t  nSensor)
inline

Definition at line 112 of file CbmMvdDetector.h.

References fSensorArray.

Referenced by CbmMvdQa::ExecDigiQa().

◆ GetSensorArraySize()

Int_t CbmMvdDetector::GetSensorArraySize ( )
inline

◆ Init()

◆ Instance()

◆ operator=()

CbmMvdDetector CbmMvdDetector::operator= ( const CbmMvdDetector )
private

◆ PrintParameter()

void CbmMvdDetector::PrintParameter ( )
inline

Definition at line 115 of file CbmMvdDetector.h.

References fParameter, and CbmMvdStationPar::Print().

◆ SendInput()

void CbmMvdDetector::SendInput ( TClonesArray *  input)

Data interface

Sending event to sensors, each sensor gets only his own points

Definition at line 338 of file CbmMvdDetector.cxx.

References fSensorArray, CbmMvdSensor::GetDetectorID(), i, CbmMvdSensor::SendInput(), and CbmMvdPoint::SetPointId().

Referenced by CbmMvdDigitizerTB::Exec(), and CbmMvdDigitizer::Exec().

◆ SendInputCluster()

void CbmMvdDetector::SendInputCluster ( TClonesArray *  cluster)

Sending event to sensors, each sensor gets only his own points

Definition at line 469 of file CbmMvdDetector.cxx.

References fSensorArray, CbmMvdCluster::GetSensorNr(), CbmMvdSensor::GetSensorNr(), i, CbmMvdSensor::SendInputCluster(), and CbmMvdCluster::SetRefId().

Referenced by CbmMvdHitfinderTB::Exec(), and CbmMvdHitfinder::Exec().

◆ SendInputDigis() [1/2]

◆ SendInputDigis() [2/2]

void CbmMvdDetector::SendInputDigis ( TClonesArray *  digis)

Sending event to sensors, each sensor gets only his own points

Definition at line 407 of file CbmMvdDetector.cxx.

References fSensorArray, CbmMvdDigi::GetDetectorId(), CbmMvdSensor::GetDetectorID(), i, CbmMvdSensor::SendInputDigi(), and CbmMvdDigi::SetRefId().

◆ SendInputDigisToHits()

void CbmMvdDetector::SendInputDigisToHits ( TClonesArray *  digis)

Sending event to sensors, each sensor gets only his own points

Version for DigiToHit

Definition at line 438 of file CbmMvdDetector.cxx.

References fSensorArray, CbmMvdDigi::GetDetectorId(), CbmMvdSensor::GetDetectorID(), i, CbmMvdSensor::SendInputDigiToHit(), and CbmMvdDigi::SetRefId().

Referenced by CbmMvdDigiToHit::Exec(), and CbmMvdDigiToHitTB::Exec().

◆ SetMisalignment()

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

Definition at line 88 of file CbmMvdDetector.h.

References fepsilon, and i.

◆ SetParameterFile()

void CbmMvdDetector::SetParameterFile ( CbmMvdStationPar parameter)
inline

Definition at line 92 of file CbmMvdDetector.h.

References fParameter.

Referenced by CbmMvdGeoHandler::Init().

◆ SetProduceNoise()

void CbmMvdDetector::SetProduceNoise ( )

Definition at line 326 of file CbmMvdDetector.cxx.

References fSensorArray, and CbmMvdSensor::SetProduceNoise().

Referenced by CbmMvdDigitizer::Init().

◆ SetSensorTyp()

static void CbmMvdDetector::SetSensorTyp ( CbmMvdSensorTyp  typ)
inlinestatic

Definition at line 119 of file CbmMvdDetector.h.

References fSensorTyp.

◆ ShowDebugHistos()

Member Data Documentation

◆ fClusterPlugin

Int_t CbmMvdDetector::fClusterPlugin
private

Definition at line 139 of file CbmMvdDetector.h.

Referenced by GetOutputCluster().

◆ fcurrentEvent

TClonesArray* CbmMvdDetector::fcurrentEvent
private

Definition at line 133 of file CbmMvdDetector.h.

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

◆ fDigiPlugin

Int_t CbmMvdDetector::fDigiPlugin
private

Data members

Definition at line 137 of file CbmMvdDetector.h.

Referenced by GetOutputDigiMatchs(), and GetOutputDigis().

◆ fepsilon

Float_t CbmMvdDetector::fepsilon[3]
private

Definition at line 134 of file CbmMvdDetector.h.

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

◆ fFinished

Bool_t CbmMvdDetector::fFinished
private

Definition at line 145 of file CbmMvdDetector.h.

Referenced by Finish().

◆ fHitPlugin

Int_t CbmMvdDetector::fHitPlugin
private

Definition at line 138 of file CbmMvdDetector.h.

◆ fInstance

CbmMvdDetector * CbmMvdDetector::fInstance = 0
staticprivate

Definition at line 142 of file CbmMvdDetector.h.

Referenced by CbmMvdDetector(), and Instance().

◆ fName

TString CbmMvdDetector::fName
private

Definition at line 147 of file CbmMvdDetector.h.

Referenced by CbmMvdDetector().

◆ foutput

TClonesArray* CbmMvdDetector::foutput
private

Definition at line 127 of file CbmMvdDetector.h.

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

◆ foutputCluster

TClonesArray* CbmMvdDetector::foutputCluster
private

Definition at line 130 of file CbmMvdDetector.h.

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

◆ foutputDigiMatchs

TClonesArray* CbmMvdDetector::foutputDigiMatchs
private

Definition at line 131 of file CbmMvdDetector.h.

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

◆ foutputDigis

TClonesArray* CbmMvdDetector::foutputDigis
private

Definition at line 129 of file CbmMvdDetector.h.

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

◆ foutputHitMatchs

TClonesArray* CbmMvdDetector::foutputHitMatchs
private

Definition at line 132 of file CbmMvdDetector.h.

◆ foutputHits

TClonesArray* CbmMvdDetector::foutputHits
private

Definition at line 128 of file CbmMvdDetector.h.

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

◆ fParameter

CbmMvdStationPar* CbmMvdDetector::fParameter
private

Definition at line 149 of file CbmMvdDetector.h.

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

◆ fPluginCount

UInt_t CbmMvdDetector::fPluginCount
private

Definition at line 126 of file CbmMvdDetector.h.

Referenced by AddPlugin(), and GetPluginArraySize().

◆ fSensorArray

◆ fSensorArrayFilled

Bool_t CbmMvdDetector::fSensorArrayFilled
private

Definition at line 143 of file CbmMvdDetector.h.

Referenced by AddPlugin(), and AddSensor().

◆ fSensorIDArray

TClonesArray* CbmMvdDetector::fSensorIDArray
private

Definition at line 125 of file CbmMvdDetector.h.

◆ fSensorTyp

CbmMvdSensorTyp CbmMvdDetector::fSensorTyp = CbmMvdSensorTyp::MIMOSIS
staticprivate

Definition at line 122 of file CbmMvdDetector.h.

Referenced by Instance(), and SetSensorTyp().

◆ initialized

Bool_t CbmMvdDetector::initialized
private

Definition at line 144 of file CbmMvdDetector.h.

Referenced by Init().


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