CbmRoot
|
#include <CbmMvdDetector.h>
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 () |
CbmMvdSensor * | GetSensor (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) |
CbmMvdStationPar * | GetParameterFile () |
void | PrintParameter () |
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, 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 |
CbmMvdStationPar * | fParameter |
Static Private Attributes | |
static CbmMvdSensorTyp | fSensorTyp = CbmMvdSensorTyp::MIMOSIS |
static CbmMvdDetector * | fInstance = 0 |
Definition at line 45 of file CbmMvdDetector.h.
|
private |
Definition at line 51 of file CbmMvdDetector.cxx.
Referenced by Instance().
|
private |
Definition at line 81 of file CbmMvdDetector.cxx.
|
virtual |
Destructor
Definition at line 118 of file CbmMvdDetector.cxx.
|
private |
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 123 of file CbmMvdDetector.cxx.
References CbmMvdDetectorId::DetectorId(), fepsilon, fSensorArray, fSensorArrayFilled, fSensorMap, CbmMvdSensor::SetDataSheet(), CbmMvdSensor::SetMisalignment(), and CbmMvdSensor::SetStation().
Referenced by CbmMvdGeoHandler::FillDetector().
|
private |
Int_t CbmMvdDetector::DetectPlugin | ( | Int_t | pluginID | ) |
Definition at line 172 of file CbmMvdDetector.cxx.
References fSensorArrayFilled, CbmMvdSensor::GetPluginArray(), CbmMvdSensorPlugin::GetPluginIDNumber(), and GetSensor().
Referenced by CbmMvdDigitizer::DetectPlugin(), CbmMvdReadout::Exec(), CbmMvdClusterfinder::ProcessData(), and CbmMvdHitfinder::ProcessData().
void CbmMvdDetector::Exec | ( | UInt_t | nLevel | ) |
execute spezific plugin on all sensors
Definition at line 284 of file CbmMvdDetector.cxx.
References CbmMvdSensor::Exec(), fcurrentEvent, foutput, foutputCluster, foutputDigiMatchs, foutputDigis, foutputHits, and fSensorArray.
Referenced by CbmMvdClusterfinderTB::Exec(), CbmMvdDigitizer::Exec(), CbmMvdDigitizerTB::Exec(), CbmMvdDigiToHit::Exec(), CbmMvdDigiToHitTB::Exec(), CbmMvdHitfinderTB::Exec(), CbmMvdReadout::Exec(), CbmMvdClusterfinder::ProcessData(), and CbmMvdHitfinder::ProcessData().
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.
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.
void CbmMvdDetector::Finish | ( | ) |
Finish
Definition at line 415 of file CbmMvdDetector.cxx.
References fFinished, CbmMvdSensor::Finish(), and fSensorArray.
Referenced by CbmMvdClusterfinder::Finish(), CbmMvdClusterfinderTB::Finish(), CbmMvdDigitizer::Finish(), CbmMvdDigiToHit::Finish(), CbmMvdDigiToHitTB::Finish(), and CbmMvdReadout::Finish().
TH1 * CbmMvdDetector::GetHistogram | ( | UInt_t | nPlugin, |
UInt_t | nHistogramNumber ) |
Definition at line 389 of file CbmMvdDetector.cxx.
References fSensorArray, CbmMvdSensor::GetHistogram(), CbmMvdSensor::GetNumberOfHistograms(), and CbmMvdSensor::GetPluginArraySize().
Referenced by CbmMvdDigitizer::CollectHistograms().
TH1 * CbmMvdDetector::GetHistogram | ( | UInt_t | nPlugin, |
UInt_t | nHistogramNumber, | ||
UInt_t | sensorInSensorArrayNumber ) |
Definition at line 409 of file CbmMvdDetector.cxx.
void CbmMvdDetector::GetMatchArray | ( | Int_t | nPlugin, |
TClonesArray * | matchArray ) |
Definition at line 353 of file CbmMvdDetector.cxx.
References fSensorArray, and CbmMvdSensor::GetMatchArray().
Referenced by CbmMvdDigitizer::Exec(), and CbmMvdDigitizer::Finish().
UInt_t CbmMvdDetector::GetMaxHistoNumber | ( | UInt_t | nPlugin | ) |
Definition at line 373 of file CbmMvdDetector.cxx.
References fSensorArray, CbmMvdSensor::GetNumberOfHistograms(), and CbmMvdSensor::GetPluginArraySize().
Referenced by CbmMvdDigitizer::CollectHistograms().
void CbmMvdDetector::GetOutputArray | ( | Int_t | nPlugin, |
TClonesArray * | outputArray ) |
Definition at line 334 of file CbmMvdDetector.cxx.
References fSensorArray, and CbmMvdSensor::GetOutputArray().
Referenced by CbmMvdDigitizer::Exec(), CbmMvdDigitizer::Finish(), CbmMvdClusterfinder::ProcessData(), and CbmMvdHitfinder::ProcessData().
|
inline |
Definition at line 105 of file CbmMvdDetector.h.
References fParameter.
Referenced by CbmStsFindTracksQa::GetGeometry(), CbmMvdQa::Init(), CbmMvdTrackingInterface::Init(), and PairAnalysisTrack::PairAnalysisTrack().
|
inline |
Definition at line 70 of file CbmMvdDetector.h.
References fPluginCount.
Referenced by CbmMvdClusterfinder::Init(), CbmMvdClusterfinderTB::Init(), CbmMvdDigitizer::Init(), CbmMvdDigiToHit::Init(), CbmMvdDigiToHitTB::Init(), CbmMvdHitfinder::Init(), CbmMvdHitfinderTB::Init(), and CbmMvdReadout::Init().
|
inline |
Definition at line 71 of file CbmMvdDetector.h.
References fPluginCount.
Referenced by CbmMvdClusterfinder::Init(), CbmMvdClusterfinderTB::Init(), CbmMvdDigitizer::Init(), CbmMvdDigiToHit::Init(), CbmMvdDigiToHitTB::Init(), CbmMvdHitfinder::Init(), CbmMvdHitfinderTB::Init(), and CbmMvdReadout::Init().
|
inline |
Definition at line 67 of file CbmMvdDetector.h.
References fSensorArray.
Referenced by DetectPlugin(), and CbmMvdQa::ExecDigiQa().
|
inline |
Definition at line 68 of file CbmMvdDetector.h.
References fSensorArray.
Referenced by CbmMvdQa::ExecDigiQa(), CbmMvdClusterfinder::Init(), CbmMvdClusterfinderTB::Init(), CbmMvdDigiToHit::Init(), CbmMvdDigiToHitTB::Init(), and CbmMvdReadout::Init().
|
inline |
Definition at line 66 of file CbmMvdDetector.h.
References fSensorMap.
Referenced by CbmMvdTrackingInterface::GetTrackingStationIndex(), CbmMvdClusterfinder::Init(), CbmMvdClusterfinderTB::Init(), CbmMvdDigitizer::Init(), CbmMvdDigiToHit::Init(), CbmMvdDigiToHitTB::Init(), CbmMvdHitfinder::Init(), CbmMvdHitfinderTB::Init(), and CbmMvdReadout::Init().
void CbmMvdDetector::Init | ( | ) |
Initialisation method
Definition at line 199 of file CbmMvdDetector.cxx.
References fcurrentEvent, foutput, foutputCluster, foutputDigiMatchs, foutputDigis, foutputHits, fSensorArray, CbmMvdSensor::Init(), and initialized.
Referenced by CbmMvdClusterfinder::Init(), CbmMvdClusterfinderTB::Init(), CbmMvdDigitizer::Init(), CbmMvdDigiToHit::Init(), CbmMvdDigiToHitTB::Init(), CbmMvdHitfinder::Init(), CbmMvdHitfinderTB::Init(), CbmMvdQa::Init(), and CbmMvdReadout::Init().
|
static |
static instance
Definition at line 35 of file CbmMvdDetector.cxx.
References CbmMvdDetector(), CbmMvdGeoHandler::Fill(), fInstance, fSensorTyp, CbmMvdGeoHandler::Init(), CbmMvdGeoHandler::PrintGeoParameter(), and CbmMvdGeoHandler::SetSensorTyp().
Referenced by CbmMvdDigitizer::DetectPlugin(), CbmStsFindTracksQa::GetGeometry(), CbmMvdTrackingInterface::GetTrackingStationIndex(), CbmMvdClusterfinder::Init(), CbmMvdClusterfinderTB::Init(), CbmMvdDigitizer::Init(), CbmMvdDigiToHit::Init(), CbmMvdDigiToHitTB::Init(), CbmMvdGeoHandler::Init(), CbmMvdHitfinder::Init(), CbmMvdHitfinderTB::Init(), CbmMvdQa::Init(), CbmMvdReadout::Init(), CbmMvdTrackingInterface::Init(), and PairAnalysisTrack::PairAnalysisTrack().
|
private |
|
inline |
Definition at line 106 of file CbmMvdDetector.h.
References fParameter, and CbmMvdStationPar::Print().
void CbmMvdDetector::SendInputToSensorPlugin | ( | Int_t | detectorid, |
Int_t | nPlugin, | ||
TObject * | input ) |
Data interface
Definition at line 248 of file CbmMvdDetector.cxx.
References fSensorMap, and CbmMvdSensor::SendInputToPlugin().
Referenced by CbmMvdDigitizer::Exec(), CbmMvdReadout::Exec(), CbmMvdClusterfinder::ProcessData(), and CbmMvdHitfinder::ProcessData().
|
inline |
Definition at line 82 of file CbmMvdDetector.h.
References fepsilon.
|
inline |
Parameters
Definition at line 104 of file CbmMvdDetector.h.
References fParameter.
Referenced by CbmMvdGeoHandler::Init().
|
inline |
Definition at line 72 of file CbmMvdDetector.h.
References fPluginCount.
Referenced by CbmMvdClusterfinder::Init(), CbmMvdClusterfinderTB::Init(), CbmMvdDigitizer::Init(), CbmMvdDigiToHit::Init(), CbmMvdDigiToHitTB::Init(), CbmMvdHitfinder::Init(), CbmMvdHitfinderTB::Init(), and CbmMvdReadout::Init().
|
inline |
Definition at line 79 of file CbmMvdDetector.h.
References fSensorArrayFilled.
Referenced by CbmMvdClusterfinder::Init(), CbmMvdClusterfinderTB::Init(), CbmMvdDigitizer::Init(), CbmMvdDigiToHit::Init(), CbmMvdDigiToHitTB::Init(), CbmMvdHitfinder::Init(), CbmMvdHitfinderTB::Init(), and CbmMvdReadout::Init().
|
inlinestatic |
Definition at line 78 of file CbmMvdDetector.h.
References fSensorTyp.
void CbmMvdDetector::ShowDebugHistos | ( | ) |
Definition at line 234 of file CbmMvdDetector.cxx.
References fSensorArray, and CbmMvdSensor::ShowDebugHistos().
Referenced by CbmMvdClusterfinder::Init(), CbmMvdClusterfinderTB::Init(), CbmMvdDigitizer::Init(), CbmMvdDigiToHit::Init(), CbmMvdDigiToHitTB::Init(), CbmMvdHitfinder::Init(), and CbmMvdHitfinderTB::Init().
|
private |
Definition at line 132 of file CbmMvdDetector.h.
|
private |
Definition at line 126 of file CbmMvdDetector.h.
Referenced by Exec(), ExecChain(), ExecFrom(), and Init().
|
private |
Data members
Definition at line 130 of file CbmMvdDetector.h.
|
private |
Definition at line 127 of file CbmMvdDetector.h.
Referenced by AddSensor(), CbmMvdDetector(), and SetMisalignment().
|
private |
Definition at line 138 of file CbmMvdDetector.h.
Referenced by Finish().
|
private |
Definition at line 131 of file CbmMvdDetector.h.
|
staticprivate |
Definition at line 135 of file CbmMvdDetector.h.
Referenced by CbmMvdDetector(), and Instance().
|
private |
Definition at line 140 of file CbmMvdDetector.h.
Referenced by CbmMvdDetector().
|
private |
Definition at line 120 of file CbmMvdDetector.h.
Referenced by Exec(), ExecChain(), ExecFrom(), and Init().
|
private |
Definition at line 123 of file CbmMvdDetector.h.
Referenced by Exec(), ExecChain(), ExecFrom(), and Init().
|
private |
Definition at line 124 of file CbmMvdDetector.h.
Referenced by Exec(), ExecChain(), ExecFrom(), and Init().
|
private |
Definition at line 122 of file CbmMvdDetector.h.
Referenced by Exec(), ExecChain(), ExecFrom(), and Init().
|
private |
Definition at line 125 of file CbmMvdDetector.h.
|
private |
Definition at line 121 of file CbmMvdDetector.h.
Referenced by Exec(), ExecChain(), ExecFrom(), and Init().
|
private |
Definition at line 142 of file CbmMvdDetector.h.
Referenced by GetParameterFile(), PrintParameter(), and SetParameterFile().
|
private |
Definition at line 119 of file CbmMvdDetector.h.
Referenced by GetPluginArraySize(), GetPluginCount(), and SetPluginCount().
|
private |
Definition at line 117 of file CbmMvdDetector.h.
Referenced by AddSensor(), Exec(), ExecChain(), ExecFrom(), Finish(), GetHistogram(), GetMatchArray(), GetMaxHistoNumber(), GetOutputArray(), GetSensor(), GetSensorArraySize(), Init(), and ShowDebugHistos().
|
private |
Definition at line 136 of file CbmMvdDetector.h.
Referenced by AddSensor(), DetectPlugin(), and SetSensorArrayFilled().
|
private |
Definition at line 118 of file CbmMvdDetector.h.
Referenced by AddSensor(), GetSensorMap(), and SendInputToSensorPlugin().
|
staticprivate |
Definition at line 115 of file CbmMvdDetector.h.
Referenced by Instance(), and SetSensorTyp().
|
private |
Definition at line 137 of file CbmMvdDetector.h.
Referenced by Init().