00001 #include "UTIL/CellIDEncoder.h"
00002
00003 namespace UTIL{
00004
00005
00006
00007
00008
00009
00010
00011 template<> int CellIDEncoder_cellID1Bit<EVENT::SimCalorimeterHit>() { return LCIO::CHBIT_ID1 ; }
00012
00013
00014 template<> int CellIDEncoder_cellID1Bit<EVENT::RawCalorimeterHit>() { return LCIO::RCHBIT_ID1 ; }
00015
00016
00017 template<> int CellIDEncoder_cellID1Bit<EVENT::CalorimeterHit>() { return LCIO::RCHBIT_ID1 ; }
00018
00019
00020 template<> int CellIDEncoder_cellID1Bit<EVENT::TrackerData>() { return LCIO::TRAWBIT_ID1 ; }
00021
00022
00023 template<> int CellIDEncoder_cellID1Bit<EVENT::TrackerPulse>() { return LCIO::TRAWBIT_ID1 ; }
00024
00025
00026 template<> int CellIDEncoder_cellID1Bit<EVENT::TrackerRawData>() { return LCIO::TRAWBIT_ID1 ; }
00027
00028
00029
00030 template<>
00031 void CellIDEncoder_setCellID<IMPL::SimTrackerHitImpl>( IMPL::SimTrackerHitImpl* hit,
00032 int low, int high){
00033 hit->setCellID( low ) ;
00034 }
00035
00036
00037 }