Linear Collider Forum



Home » Software Tools » LCIO » lcio cellID1 flag set accidentally
lcio cellID1 flag set accidentally [message #1559] Mon, 04 August 2008 06:25
srichter
Messages: 10
Registered: January 2008
Dear lcio users!

I have the problem that the flag to store the cellID1 is set even if my encoding string is exactly 32 bits long. dumpevent shows:

flag: 0x20000000
parameter CellIDEncoding [string]: module:0:6,chip:6:5,channel:11:5,SiPM:16:16,
LCIO::RCHBIT_ID1 : 1
LCIO::RCHBIT_TIME : 0
LCIO::RCHBIT_NO_PTR : 0

I set the string via:

LCCollectionVec* pOutputCol =
new LCCollectionVec(LCIO::RAWCALORIMETERHIT);

std::string
encodingString("module:0:6,chip:6:5,channel:11:5,SiPM:16:16 ");

lcio::CellIDEncoder<lcio::RawCalorimeterHitImpl>
outgoingCellIDEncoder(encodingString, pOutputCol);

Where is my error?

Thanks in advance,

Sebastian
 
Read Message
Previous Topic:CellIDDecoder usage without knowledge of hit type
Next Topic:Counting Events in an LCIO File
Goto Forum:
  


Current Time: Wed Oct 17 05:51:53 Pacific Daylight Time 2018
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.1.
Copyright ©2001-2010 FUDforum Bulletin Board Software