CbmRoot
|
#include <CbmMvdDetector.h>
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 () |
CbmMvdStationPar * | GetParameterFile () |
CbmMvdSensor * | GetSensor (UInt_t nSensor) |
void | PrintParameter () |
void | SetProduceNoise () |
Static Public Member Functions | |
static CbmMvdDetector * | Instance () |
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 |
CbmMvdStationPar * | fParameter |
Static Private Attributes | |
static CbmMvdSensorTyp | fSensorTyp = CbmMvdSensorTyp::MIMOSIS |
static CbmMvdDetector * | fInstance = 0 |
Definition at line 39 of file CbmMvdDetector.h.
|
private |
Definition at line 62 of file CbmMvdDetector.cxx.
Referenced by Instance().
|
private |
Definition at line 91 of file CbmMvdDetector.cxx.
|
virtual |
Destructor
Definition at line 126 of file CbmMvdDetector.cxx.
|
private |
void CbmMvdDetector::AddPlugin | ( | CbmMvdSensorPlugin * | plugin | ) |
if there is a new buffer or task typ you have to insert it here or you can't use it.
Definition at line 186 of file CbmMvdDetector.cxx.
References CbmMvdSensor::AddPlugin(), fPluginCount, fSensorArray, fSensorArrayFilled, CbmMvdSensorPlugin::GetPluginType(), i, CbmMvdSensor::SetClusterPlugin(), CbmMvdSensor::SetDigiPlugin(), CbmMvdSensor::SetHitPlugin(), and task.
Referenced by CbmMvdReadout::Init(), CbmMvdHitfinderTB::Init(), CbmMvdHitfinder::Init(), CbmMvdDigiToHit::Init(), CbmMvdClusterfinder::Init(), CbmMvdDigiToHitTB::Init(), CbmMvdClusterfinderTB::Init(), CbmMvdDigitizerTB::Init(), and CbmMvdDigitizer::Init().
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().
|
inline |
Definition at line 86 of file CbmMvdDetector.h.
|
private |
void CbmMvdDetector::Exec | ( | UInt_t | nLevel | ) |
execute spezific plugin on all sensors
Definition at line 527 of file CbmMvdDetector.cxx.
References CbmMvdSensor::Exec(), fcurrentEvent, foutput, foutputCluster, foutputDigiMatchs, foutputDigis, foutputHits, fSensorArray, and i.
Referenced by CbmMvdHitfinderTB::Exec(), CbmMvdReadout::Exec(), CbmMvdHitfinder::Exec(), CbmMvdDigiToHitTB::Exec(), CbmMvdDigiToHit::Exec(), CbmMvdClusterfinderTB::Exec(), CbmMvdClusterfinder::Exec(), CbmMvdDigitizerTB::Exec(), and CbmMvdDigitizer::Exec().
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.
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.
void CbmMvdDetector::Finish | ( | ) |
Finish
Definition at line 705 of file CbmMvdDetector.cxx.
References fFinished, CbmMvdSensor::Finish(), fSensorArray, and i.
Referenced by CbmMvdReadout::Finish(), CbmMvdDigiToHit::Finish(), CbmMvdClusterfinder::Finish(), CbmMvdDigiToHitTB::Finish(), CbmMvdClusterfinderTB::Finish(), CbmMvdDigitizerTB::Finish(), and CbmMvdDigitizer::Finish().
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.
|
inline |
Definition at line 63 of file CbmMvdDetector.h.
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.
TClonesArray * CbmMvdDetector::GetOutputCluster | ( | ) |
method used to write Cluster to hd
Definition at line 660 of file CbmMvdDetector.cxx.
References fClusterPlugin, foutputCluster, fSensorArray, CbmMvdSensor::GetClusterPlugin(), CbmMvdSensor::GetOutputArray(), CbmMvdSensor::GetOutputArrayLen(), and i.
Referenced by CbmMvdClusterfinder::Exec(), and CbmMvdClusterfinderTB::Exec().
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().
TClonesArray * CbmMvdDetector::GetOutputDigis | ( | ) |
method used to write digis to hd
Definition at line 619 of file CbmMvdDetector.cxx.
References fDigiPlugin, foutputDigis, fSensorArray, CbmMvdSensor::GetDigiPlugin(), CbmMvdSensor::GetOutputArray(), CbmMvdSensor::GetOutputArrayLen(), and i.
Referenced by CbmMvdDigitizerTB::Exec(), and CbmMvdDigitizer::Exec().
TClonesArray * CbmMvdDetector::GetOutputHits | ( | ) |
method used to write hits to hd
Definition at line 595 of file CbmMvdDetector.cxx.
References foutputHits, fSensorArray, CbmMvdSensor::GetHitPlugin(), CbmMvdSensor::GetOutputArrayLen(), CbmMvdSensor::GetOutputBuffer(), and i.
Referenced by CbmMvdHitfinderTB::Exec(), CbmMvdHitfinder::Exec(), CbmMvdDigiToHit::Exec(), and CbmMvdDigiToHitTB::Exec().
|
inline |
Accessors
Definition at line 111 of file CbmMvdDetector.h.
References fParameter.
Referenced by CbmKF::Init(), CbmMvdQa::Init(), CbmL1::Init(), and PairAnalysisTrack::PairAnalysisTrack().
|
inline |
Definition at line 71 of file CbmMvdDetector.h.
References fPluginCount.
Referenced by CbmMvdReadout::Init(), CbmMvdHitfinderTB::Init(), CbmMvdHitfinder::Init(), CbmMvdDigiToHit::Init(), CbmMvdClusterfinder::Init(), CbmMvdDigiToHitTB::Init(), CbmMvdClusterfinderTB::Init(), CbmMvdDigitizerTB::Init(), and CbmMvdDigitizer::Init().
|
inline |
Definition at line 112 of file CbmMvdDetector.h.
References fSensorArray.
Referenced by CbmMvdQa::ExecDigiQa().
|
inline |
Definition at line 70 of file CbmMvdDetector.h.
References fSensorArray.
Referenced by CbmMvdQa::ExecDigiQa(), CbmMvdReadout::Init(), CbmMvdDigiToHit::Init(), CbmMvdClusterfinder::Init(), CbmMvdDigiToHitTB::Init(), and CbmMvdClusterfinderTB::Init().
void CbmMvdDetector::Init | ( | ) |
Initialisation method
Definition at line 278 of file CbmMvdDetector.cxx.
References fcurrentEvent, foutput, foutputCluster, foutputDigiMatchs, foutputDigis, foutputHits, fSensorArray, CbmMvdSensor::Init(), and initialized.
Referenced by CbmMvdQa::Init(), CbmMvdReadout::Init(), CbmMvdHitfinderTB::Init(), CbmMvdHitfinder::Init(), CbmMvdDigiToHit::Init(), CbmMvdClusterfinder::Init(), CbmMvdDigiToHitTB::Init(), CbmMvdClusterfinderTB::Init(), CbmMvdDigitizerTB::Init(), and CbmMvdDigitizer::Init().
|
static |
static instance
Definition at line 47 of file CbmMvdDetector.cxx.
References CbmMvdDetector(), CbmMvdGeoHandler::Fill(), fInstance, fSensorTyp, CbmMvdGeoHandler::Init(), CbmMvdGeoHandler::PrintGeoParameter(), and CbmMvdGeoHandler::SetSensorTyp().
Referenced by CbmKF::Init(), CbmMvdQa::Init(), CbmMvdReadout::Init(), CbmMvdGeoHandler::Init(), CbmMvdHitfinderTB::Init(), CbmMvdHitfinder::Init(), CbmMvdDigiToHit::Init(), CbmMvdClusterfinder::Init(), CbmMvdDigiToHitTB::Init(), CbmMvdClusterfinderTB::Init(), CbmMvdDigitizerTB::Init(), CbmMvdDigitizer::Init(), CbmL1::Init(), and PairAnalysisTrack::PairAnalysisTrack().
|
private |
|
inline |
Definition at line 115 of file CbmMvdDetector.h.
References fParameter, and CbmMvdStationPar::Print().
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().
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().
void CbmMvdDetector::SendInputDigis | ( | CbmDigiManager * | digiMan | ) |
Sending event to sensors, each sensor gets only his own points
Definition at line 373 of file CbmMvdDetector.cxx.
References fSensorArray, CbmDigiManager::Get(), CbmMvdDigi::GetDetectorId(), CbmMvdSensor::GetDetectorID(), CbmDigiManager::GetNofDigis(), i, CbmDigiManager::IsPresent(), kMvd, CbmMvdSensor::SendInputDigi(), and CbmMvdDigi::SetRefId().
Referenced by CbmMvdReadout::Exec(), CbmMvdHitfinder::Exec(), CbmMvdClusterfinder::Exec(), and CbmMvdClusterfinderTB::Exec().
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().
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().
|
inline |
Definition at line 88 of file CbmMvdDetector.h.
|
inline |
Definition at line 92 of file CbmMvdDetector.h.
References fParameter.
Referenced by CbmMvdGeoHandler::Init().
void CbmMvdDetector::SetProduceNoise | ( | ) |
Definition at line 326 of file CbmMvdDetector.cxx.
References fSensorArray, and CbmMvdSensor::SetProduceNoise().
Referenced by CbmMvdDigitizer::Init().
|
inlinestatic |
Definition at line 119 of file CbmMvdDetector.h.
References fSensorTyp.
void CbmMvdDetector::ShowDebugHistos | ( | ) |
Definition at line 313 of file CbmMvdDetector.cxx.
References fSensorArray, and CbmMvdSensor::ShowDebugHistos().
Referenced by CbmMvdHitfinderTB::Init(), CbmMvdHitfinder::Init(), CbmMvdDigiToHit::Init(), CbmMvdClusterfinder::Init(), CbmMvdDigiToHitTB::Init(), CbmMvdClusterfinderTB::Init(), and CbmMvdDigitizer::Init().
|
private |
Definition at line 139 of file CbmMvdDetector.h.
Referenced by GetOutputCluster().
|
private |
Definition at line 133 of file CbmMvdDetector.h.
Referenced by Exec(), ExecChain(), ExecFrom(), GetCurrentEvent(), and Init().
|
private |
Data members
Definition at line 137 of file CbmMvdDetector.h.
Referenced by GetOutputDigiMatchs(), and GetOutputDigis().
|
private |
Definition at line 134 of file CbmMvdDetector.h.
Referenced by AddSensor(), CbmMvdDetector(), and SetMisalignment().
|
private |
Definition at line 145 of file CbmMvdDetector.h.
Referenced by Finish().
|
private |
Definition at line 138 of file CbmMvdDetector.h.
|
staticprivate |
Definition at line 142 of file CbmMvdDetector.h.
Referenced by CbmMvdDetector(), and Instance().
|
private |
Definition at line 147 of file CbmMvdDetector.h.
Referenced by CbmMvdDetector().
|
private |
Definition at line 127 of file CbmMvdDetector.h.
Referenced by Exec(), ExecChain(), ExecFrom(), and Init().
|
private |
Definition at line 130 of file CbmMvdDetector.h.
Referenced by Exec(), ExecChain(), ExecFrom(), GetOutputCluster(), and Init().
|
private |
Definition at line 131 of file CbmMvdDetector.h.
Referenced by Exec(), ExecChain(), ExecFrom(), GetOutputArray(), GetOutputDigiMatchs(), and Init().
|
private |
Definition at line 129 of file CbmMvdDetector.h.
Referenced by Exec(), ExecChain(), ExecFrom(), GetOutputArray(), GetOutputDigis(), and Init().
|
private |
Definition at line 132 of file CbmMvdDetector.h.
|
private |
Definition at line 128 of file CbmMvdDetector.h.
Referenced by Exec(), ExecChain(), ExecFrom(), GetOutputHits(), and Init().
|
private |
Definition at line 149 of file CbmMvdDetector.h.
Referenced by GetParameterFile(), PrintParameter(), and SetParameterFile().
|
private |
Definition at line 126 of file CbmMvdDetector.h.
Referenced by AddPlugin(), and GetPluginArraySize().
|
private |
Definition at line 124 of file CbmMvdDetector.h.
Referenced by AddPlugin(), AddSensor(), Exec(), ExecChain(), ExecFrom(), Finish(), GetCurrentEvent(), GetOutputArray(), GetOutputCluster(), GetOutputDigiMatchs(), GetOutputDigis(), GetOutputHits(), GetSensor(), GetSensorArraySize(), Init(), SendInput(), SendInputCluster(), SendInputDigis(), SendInputDigisToHits(), SetProduceNoise(), and ShowDebugHistos().
|
private |
Definition at line 143 of file CbmMvdDetector.h.
Referenced by AddPlugin(), and AddSensor().
|
private |
Definition at line 125 of file CbmMvdDetector.h.
|
staticprivate |
Definition at line 122 of file CbmMvdDetector.h.
Referenced by Instance(), and SetSensorTyp().
|
private |
Definition at line 144 of file CbmMvdDetector.h.
Referenced by Init().