|
ATLAS Offline Software
|
Go to the documentation of this file.
22 unsigned int l2 = (
length >> 8) & 0xFF;
23 unsigned int l3 = (
length >> 16) & 0xFF;
24 unsigned int l4 = (
length >> 24) & 0xFF;
26 std::vector<float>::const_iterator
it = persObj->
m_data.begin();
28 std::vector<float> amplitude;
30 amplitude.assign (
it,
it+
l1);
33 amplitude.push_back( 0.0 );
36 std::vector<float>
time;
41 time.push_back( 0.0 );
44 std::vector<float> quality;
46 quality.assign (
it,
it+l3);
49 quality.push_back( 0.0 );
57 log << MSG::ERROR <<
"TileRawChannelCnv_p1::persToTrans wrong size of data vector: "
74 unsigned int l1 = transObj->
size();
if (
l1>0xFF)
l1=0xFF;
76 unsigned int l3 = transObj->
sizeQuality();
if (l3>0xFF) l3=0xFF;
80 if (
l2==1 && transObj->
time(0)==0.0)
l2=0;
81 if (l3==1 && transObj->
quality(0)==0.0) l3=0;
82 if ( transObj->
pedestal()==0.0) l4=0;
90 for (
unsigned int i=0;
i<
l1; ++
i) {
94 for (
unsigned int i=0;
i<
l2; ++
i) {
98 for (
unsigned int i=0;
i<l3; ++
i) {
float pedestal(void) const
std::vector< float > m_data
Identifier32 get_identifier32() const
Get the 32-bit version Identifier, will be invalid if >32 bits needed.
HWIdentifier adc_HWID(void) const
value_type get_compact() const
Get the compact id.
float time(int ind=0) const
float quality(int ind=0) const
float amplitude(int ind=0) const
virtual void transToPers(const TileRawChannel *transObj, TileRawChannel_p1 *persObj, MsgStream &log) const override
Method creating the persistent representation TileRawChannel_p1 from its transient representation Til...
def time(flags, cells_name, *args, **kw)
virtual void persToTrans(const TileRawChannel_p1 *persObj, TileRawChannel *transObj, MsgStream &log) const override
Method creating the transient representation TileRawChannel from its persistent representation TileRa...