6#include "GaudiKernel/MsgStream.h"
28 uint8_t samplingRate = 50;
29 if ( rateBit ) samplingRate = 25;
60 uint32_t rt = (
rate == 20 ) ? 0x0 : 0x1;
116 sl <<
"CscRawDataCollection: "
118 <<
", rodId()="<< coll.
rodId()
120 <<
", numRPU()="<< coll.
numRPU()
121 <<
", detector event type="<< coll.
eventType()
128 for (;it!=itEnd;++it) sl<< (**it)<<
", ";
129 sl <<
" ]"<<std::endl;
std::ostream & operator<<(std::ostream &sl, const CscRawDataCollection &coll)
Overload of << operator for std::ostream for debug output.
Collection of CSC Raw Hits, arranged according to CSC Detector Elements Author: Ketevi A.
bool sparsified() const
is sparsified data?
bool samplingPhase() const
uint32_t m_eventType
event type/data type
uint16_t m_numRPU
number of RPU
void set_enableCal()
is calibration enabled
void set_sparsified()
is this sparsified data?
void setLatency(const uint16_t latency)
insert the latency into the detector event type word
void setNumSamples(const uint16_t n)
insert the number of samples into the detector event type word
uint8_t calAmplitude() const
Calibration pulser amplitude.
void set_calAmplitude(const uint8_t calAmp)
set the calibration amplitude
uint8_t firstBitSummary() const
uint16_t identify() const
access methods
bool calEnabled() const
is calibration enabled?
void set_neutron()
is neutron rejection applied?
uint16_t subDetectorId() const
bool neutron() const
is neutron rejection ON?
void setNumDPU(const uint16_t numDPU)
obsolete - just backward compatibility with old data
uint16_t numSamples() const
uint8_t calLayer() const
Calibration layer.
void setSamplingRate(const uint16_t rate)
insert the rate into the detector event type word - the rate can 20 or 40 MHz
uint32_t eventType() const
void set_calLayer(const uint8_t calLay)
set the layer number where the calibration is been done
uint8_t rate() const
the rate could be 25 or 50 ns
DataModel_detail::const_iterator< DataVector > const_iterator
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.