CFEL - ASG Software Suite
2.5.0
CASS
|
An Octal Detector. More...
Public Member Functions | |
int | latestTag (int lastTag) |
get the latest Tag More... | |
int | runNumber () |
get the latest Run Number More... | |
uint64_t | copyData (pixeldetector::Device &dev, int tag) |
copy data associtated with the tag to the device of the cassevent More... | |
Public Attributes | |
vector< DetectorTile > | tiles |
vector containing the tiles of the detector More... | |
int | CASSID |
the id that the detector should have within the pixeldetector part of the CASSEvent More... | |
int | tagAdvance |
how much the last tag should be advanced More... | |
An Octal Detector.
A detector with a user chosen amount of equal tiles
Definition at line 238 of file sacla_online_input.cpp.
|
inline |
copy data associtated with the tag to the device of the cassevent
dev | reference to the pixeldetector device in the cassevent |
tag | the Tag for which the data should be copied |
retrieve the right detector from the cassevent and reset it
resize the frame to fit all tiles into it
set where the individual tiles will start and end within the frame
copy the data in the tile to the frame
gather the size of the copied data
Definition at line 281 of file sacla_online_input.cpp.
References CASSID, cass::pixeldetector::Device::dets(), and cass::pixeldetector::Detector::frame().
|
inline |
get the latest Tag
if the last Tag is set return the next tag that should be there otherwise retrieve the latest tag and return it
lastTag | the last tag that was valid. If 0 the latest tag will retrieved otherwise this number will be increased by tagAdvance |
Definition at line 253 of file sacla_online_input.cpp.
|
inline |
get the latest Run Number
get the latest runnumber for the first tile
Definition at line 270 of file sacla_online_input.cpp.
int cass::OctalDetector::CASSID |
the id that the detector should have within the pixeldetector part of the CASSEvent
Definition at line 370 of file sacla_online_input.cpp.
Referenced by cass::SACLAOnlineInput::runthis().
int cass::OctalDetector::tagAdvance |
how much the last tag should be advanced
Definition at line 373 of file sacla_online_input.cpp.
vector<DetectorTile> cass::OctalDetector::tiles |
vector containing the tiles of the detector
Definition at line 365 of file sacla_online_input.cpp.