Linear Collider Forum



Home » Software Tools » LCIO » CellIDDecoder usage without knowledge of hit type
CellIDDecoder usage without knowledge of hit type [message #1452] Mon, 21 April 2008 08:09 Go to previous message
srichter
Messages: 10
Registered: January 2008
Dear lcio users!

I would like to have a marlin processors which depends only on the
information stored in the cellID0 and cellID1 of a hit. It is obviously easy if you use the CellIDDecoder, the hit type and the hit.

But the hit type is what bothers me. Is there any possibility to use the same code for example for SimCalorimeterHits, CalorimeterHits and RawCalorimeterHits? They all have getCellID0/1(). At the moment I have unattractive if(_hitType == etc.) statements...

Thanks in advance,

Sebastian
 
Read Message
Read Message
Previous Topic:new release v01-10
Next Topic:lcio cellID1 flag set accidentally
Goto Forum:
  


Current Time: Thu Aug 16 18:51:32 Pacific Daylight Time 2018
.:: Contact :: Home ::.

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