/////////////////////////////////////////////////////////////////////////////// // File : FPS_L1Cluster.cpp // // Purpose: Implementation file for L1 FPS Object class // Created: JUN-99 A.L. // History: JUL-99 A.L. // - completed the modification due to the use of // FPS_L1Cluster Class // - used packing/unpacking function by Mrinmoy // SEP-99 A.L. // - got rid of packing/unpacking functions // - switched to M. Fortner Format in his new class // D0MCH::CTTClusterChannel --still incomplete // - Added method: Get_ClusterMip // (pattern = 7 bits:xxxxxxx <==> integer ranging 1 to 64) // /////////////////////////////////////////////////////////////////////////////// #include "tsim_l1ft/FPS_L1Cluster.hpp" #include "tsim_l1ft/cft_parameters.hpp" #include "tsim_l1ft/cft_hittrk.hpp" #include "cft_unpdata/CFTDigi2Unp.hpp" #include "unpack_evt/UnpChunkSelector.hpp" #include #include //#include "fps_reco/FPSClusterChunk.hpp" //#include "fps_reco/FPSClusterWedgeData.hpp" //#include "fps_address/FPSChannelAddress.hpp" //#include "fps_address/FPSChannelCluster.hpp" //#include "edm/TKey.hpp" //#include "edm/THandle.hpp" //#include "rcp/XRCP.hpp" //#include "framework/Registry.hpp" #include using namespace D0MCH ; //=========================================================================== // FPS_L1Cluster Class implementation //=========================================================================== // Default Constructors : FPS_L1Cluster::FPS_L1Cluster() {} // Argument bearing Constructor: FPS_L1Cluster::FPS_L1Cluster( int cl_type, int cl_low, int cl_high, int cl_side, int cl_sect, int cl_addr, int cl_widt, int cl_orie, int cl_mip ): _cl_type(cl_type), _cl_low(cl_low) ,_cl_high(cl_high), _cl_side(cl_side), _cl_sect(cl_sect),_cl_addr(cl_addr), _cl_widt(cl_widt), _cl_orie(cl_orie),_cl_mip(cl_mip) {} // Destructor : FPS_L1Cluster::~FPS_L1Cluster() {} // Accessors needed for filling output Objects // int FPS_L1Cluster::Get_ClusterType(){ return _cl_type;} int FPS_L1Cluster::Get_ClusterLow() { return _cl_low;} int FPS_L1Cluster::Get_ClusterHigh(){ return _cl_high;} int FPS_L1Cluster::Get_ClusterSide(){ return _cl_side;} int FPS_L1Cluster::Get_ClusterSect(){ return _cl_sect;} int FPS_L1Cluster::Get_ClusterAddr(){ return _cl_addr;} int FPS_L1Cluster::Get_ClusterWidt(){ return _cl_widt;} int FPS_L1Cluster::Get_ClusterOrie(){ return _cl_orie;} int FPS_L1Cluster::Get_ClusterMip() { return _cl_mip;}