3 #ifndef __l1t_emtf_GEM_h__
4 #define __l1t_emtf_GEM_h__
28 virtual ~GEM() =
default;
38 inline void set_vp(
const int bits) {
vp = bits; }
43 inline int Pad()
const {
return pad; }
55 inline int BC0()
const {
return bc0; }
59 inline int VP()
const {
return vp; }
int ClusterSize() const
Returns the size (in pads) of the cluster.
int BC0() const
Returns whether the cluster has BC0.
int gem_bxn
BX ID of the GEM cluster.
int cluster_size
Size (in pads) of the GEM cluster.
void set_gem_bxn(const int bits)
int TBIN() const
Returns the time bin of the cluster.
int Link() const
Returns the input link of the cluster.
int Partition() const
Returns the eta partition (local eta) of the cluster.
void set_bc0(const int bits)
void set_link(const int bits)
void set_tbin(const int bits)
int tbin
Time bin of the GEM cluster.
int cluster_id
Cluster number of the GEM cluster.
int ClusterID() const
Returns the the cluster ID within the link.
void set_cluster_id(const int bits)
void set_dataword(const uint64_t bits)
int VP() const
Returns the valid flag? of the cluster.
int GEM_BXN() const
Returns the BX ID of the cluster.
void set_partition(const int bits)
int format_errors
Number of format errors for the GEM cluster.
int Pad() const
Returns the lowest pad (strip pair, i.e., local phi) of the cluster.
int pad
Pad (strip pair, i.e., local phi) of the GEM cluster.
void set_vp(const int bits)
void set_pad(const int bits)
unsigned long long uint64_t
uint64_t dataword
Raw EMTF DAQ word for the GEM cluster.
int Format_errors() const
Returns the format errors associated with the cluster.
std::vector< GEM > GEMCollection
int bc0
BC0 valid for the GEM cluster.
uint64_t Dataword() const
Returns the raw data word of the cluster.
int vp
Valid status? of the GEM cluster.
int link
Input GEM link of the GEM cluster.
int partition
Partition (local eta) of the GEM cluster.
void set_cluster_size(const int bits)