#ifndef INC_FPS_L1CLUSTER #define INC_FPS_L1CLUSTER /////////////////////////////////////////////////////////////////////////////// // File: FPS_L1Cluster.hpp // // Purpose: Declaration of FPS_L1Cluster Class // // Created: JUN-99 A.L // History: JUL-99 A.L. // - completed the modification due to the use of // FPS_L1ClusterChunk algorithm // - used packing/unpacking function by Mrinmoy // SEP-99 A.L. // - rid of packing/unpacking functions // - switched to M. Fornter Format in his new class // D0MCH::CTTClusterChannel // - Added MIP bit pattern info, seen as an integer: // pattern = 7 bits:xxxxxxx <==> integer ranging 1 to 64 // /////////////////////////////////////////////////////////////////////////////// // includes for edm (template, cannot make it forward declaration) #include "edm/Event.hpp" #include "unpack_data/SysID.hpp" #include "unpack_data/ctt_l1/CTTClusterChannel.hpp" //========================================================= // FPS L1 Cluster Class //========================================================= class FPS_L1Cluster{ public: // Constructors: 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 ); // Destructor: ~FPS_L1Cluster(); // Accessors: int Get_ClusterType(); int Get_ClusterLow(); int Get_ClusterHigh(); int Get_ClusterSide(); int Get_ClusterSect(); int Get_ClusterAddr(); int Get_ClusterWidt(); int Get_ClusterOrie(); int Get_ClusterMip(); // Create FPS L1 Chunk output // std::vector create_fpsl1Chunk( edm::Event &, D0MCH::SysID ); private: 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; }; #endif