/////////////////////////////////////////////////////////////////////////////// // File : CPS_L1Cluster.cpp // // Purpose: Implementation file for L1 CPS Object class // Created: JUN-99 A.L. // - The only difference with FPS Objects is: // the TYPE and the MIP pattern are not used here. // History: JUL-99 A.L. // - completed the modification due to the use of // CPS_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 // /////////////////////////////////////////////////////////////////////////////// #include "tsim_l1ft/cft_parameters.hpp" #include "tsim_l1ft/cft_hittrk.hpp" #include "tsim_l1ft/CPS_L1Cluster.hpp" #include "cft_unpdata/CFTDigi2Unp.hpp" #include "unpack_evt/UnpChunkSelector.hpp" #include #include using namespace D0MCH ; //=========================================================================== // CPS_L1Cluster Class implementation //=========================================================================== // Default Constructors : CPS_L1Cluster::CPS_L1Cluster() {} // Argument bearing Constructor: CPS_L1Cluster::CPS_L1Cluster( int cl_low, int cl_high, int cl_side, int cl_sect, int cl_addr, int cl_widt, int cl_orie ): _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) {} // Destructor : CPS_L1Cluster::~CPS_L1Cluster() {} // Accessors needed for filling output Objects // int CPS_L1Cluster::Get_ClusterLow() { return _cl_low;} int CPS_L1Cluster::Get_ClusterHigh(){ return _cl_high;} int CPS_L1Cluster::Get_ClusterSide(){ return _cl_side;} int CPS_L1Cluster::Get_ClusterSect(){ return _cl_sect;} int CPS_L1Cluster::Get_ClusterAddr(){ return _cl_addr;} int CPS_L1Cluster::Get_ClusterWidt(){ return _cl_widt;} int CPS_L1Cluster::Get_ClusterOrie(){ return _cl_orie;}