CMS 3D CMS Logo

GltDEDigi Struct Reference

#include <DataFormats/L1Trigger/interface/L1DataEmulDigi.h>

List of all members.

Public Types

typedef std::vector< boolGltBits

Public Member Functions

 GltDEDigi (bool glbit[], GltBits dbits[], GltBits tbits[])
 GltDEDigi ()
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().

00075                      {
00076   this->reset();
00077 }

GltDEDigi::GltDEDigi ( bool  glbit[],
GltBits  dbits[],
GltBits  tbits[] 
)

Definition at line 93 of file L1DataEmulDigi.cc.

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


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().

00079                       {
00080   const int w64 = 64; 
00081   for(int j=0; j<2; j++) {
00082     globalDBit[j]=false;
00083     gltDecBits[j].reserve(w64*2);
00084     gltTchBits[j].reserve(w64  );
00085     for(int i=0; i<w64; i++) {
00086       gltDecBits[j][i]    =false;  
00087       gltDecBits[j][i+w64]=false;  
00088       gltTchBits[j][i]    =false;
00089     }
00090   }
00091 }

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

Definition at line 97 of file L1DataEmulDigi.cc.

References globalDBit, gltDecBits, gltTchBits, and i.

00097                                                                   {
00098   for(int i=0; i<2; i++) {
00099     globalDBit[i]=glbit[i];
00100     gltDecBits[i]=dbits[i];
00101     gltTchBits[i]=tbits[i];
00102   }
00103 }


Member Data Documentation

bool GltDEDigi::globalDBit[2]

Definition at line 73 of file L1DataEmulDigi.h.

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

GltBits GltDEDigi::gltDecBits[2]

Definition at line 74 of file L1DataEmulDigi.h.

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

GltBits GltDEDigi::gltTchBits[2]

Definition at line 74 of file L1DataEmulDigi.h.

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


The documentation for this struct was generated from the following files:
Generated on Tue Jun 9 18:21:50 2009 for CMSSW by  doxygen 1.5.4