#ifndef _FROG_EVENT_CLUSTER_SISTRIP_H__ #define _FROG_EVENT_CLUSTER_SISTRIP_H__ #include "BaseColl_Id.h" namespace FROG{ class Event_Cluster_SiStrip : public BaseColl_Id{ public : unsigned short firstStrip_; float pitch_; std::vector Ampl_; float charge_; virtual unsigned int chunkId(){ return 12113;} virtual bool isCompactible(){ return false; } Event_Cluster_SiStrip(){} Event_Cluster_SiStrip( unsigned int DetId,unsigned short firstStrip, float pitch): BaseColl_Id(DetId), firstStrip_(firstStrip),pitch_(pitch){} virtual ByteBuffer writeData(){ ByteBuffer toReturn(16 + Ampl_.size()); toReturn.putUInt(detId_); toReturn.putUShort(firstStrip_); toReturn.putFloat(pitch_); toReturn.putUShort(Ampl_.size()); for(unsigned int i=0;i