CMS 3D CMS Logo

Public Types | Public Member Functions | Public Attributes

GltDEDigi Struct Reference

#include <L1DataEmulDigi.h>

List of all members.

Public Types

typedef std::vector< bool > GltBits

Public Member Functions

 GltDEDigi ()
 GltDEDigi (bool glbit[], GltBits dbits[], GltBits tbits[])
void reset ()
void set (bool glbit[], GltBits dbits[], GltBits tbits[])

Public Attributes

bool globalDBit [2]
GltBits gltDecBits [2]
GltBits gltTchBits [2]

Detailed Description

Definition at line 67 of file L1DataEmulDigi.h.


Member Typedef Documentation

typedef std::vector<bool> GltDEDigi::GltBits

Definition at line 68 of file L1DataEmulDigi.h.


Constructor & Destructor Documentation

GltDEDigi::GltDEDigi ( )

Definition at line 75 of file L1DataEmulDigi.cc.

References reset().

                     {
  this->reset();
}
GltDEDigi::GltDEDigi ( bool  glbit[],
GltBits  dbits[],
GltBits  tbits[] 
)

Definition at line 93 of file L1DataEmulDigi.cc.

                                                                   {
  this->set(glbit, dbits, tbits);
}

Member Function Documentation

void GltDEDigi::reset ( void  )

Definition at line 79 of file L1DataEmulDigi.cc.

References globalDBit, gltDecBits, gltTchBits, i, and j.

Referenced by GltDEDigi().

                      {
  const int w64 = 64; 
  for(int j=0; j<2; j++) {
    globalDBit[j]=false;
    gltDecBits[j].reserve(w64*2);
    gltTchBits[j].reserve(w64  );
    for(int i=0; i<w64; i++) {
      gltDecBits[j][i]    =false;  
      gltDecBits[j][i+w64]=false;  
      gltTchBits[j][i]    =false;
    }
  }
}
void GltDEDigi::set ( bool  glbit[],
GltBits  dbits[],
GltBits  tbits[] 
)

Definition at line 97 of file L1DataEmulDigi.cc.

References globalDBit, gltDecBits, gltTchBits, and i.

                                                                  {
  for(int i=0; i<2; i++) {
    globalDBit[i]=glbit[i];
    gltDecBits[i]=dbits[i];
    gltTchBits[i]=tbits[i];
  }
}

Member Data Documentation

Definition at line 73 of file L1DataEmulDigi.h.

Referenced by operator<<(), reset(), and set().

Definition at line 74 of file L1DataEmulDigi.h.

Referenced by L1TDEMON::analyze(), operator<<(), reset(), and set().

Definition at line 74 of file L1DataEmulDigi.h.

Referenced by L1TDEMON::analyze(), operator<<(), reset(), and set().