CMS 3D CMS Logo

SiStripDigiToRaw Class Reference

Input: edm::DetSetVector<SiStripDigi>. More...

#include <EventFilter/SiStripRawToDigi/interface/SiStripDigiToRaw.h>

List of all members.

Public Member Functions

void createFedBuffers (edm::Event &, edm::ESHandle< SiStripFedCabling > &cabling, edm::Handle< edm::DetSetVector< SiStripDigi > > &digis, std::auto_ptr< FEDRawDataCollection > &buffers)
void fedReadoutMode (std::string mode)
void nAppendedBytes (uint16_t nbytes)
 SiStripDigiToRaw (std::string readout_mode, int16_t appended_bytes, bool use_fed_key)
 ~SiStripDigiToRaw ()

Private Attributes

uint16_t nAppendedBytes_
std::string readoutMode_
bool useFedKey_


Detailed Description

Input: edm::DetSetVector<SiStripDigi>.

Output: FEDRawDataCollection.

Definition at line 24 of file SiStripDigiToRaw.h.


Constructor & Destructor Documentation

SiStripDigiToRaw::SiStripDigiToRaw ( std::string  readout_mode,
int16_t  appended_bytes,
bool  use_fed_key 
)

Definition at line 21 of file SiStripDigiToRaw.cc.

References edm::isDebugEnabled(), and LogDebug.

00023                                                        : 
00024   readoutMode_(mode),
00025   nAppendedBytes_(nbytes),
00026   useFedKey_(use_fed_key)
00027 {
00028   if ( edm::isDebugEnabled() ) {
00029     LogDebug("DigiToRaw")
00030       << "[SiStripDigiToRaw::SiStripDigiToRaw]"
00031       << " Constructing object...";
00032   }
00033 }

SiStripDigiToRaw::~SiStripDigiToRaw (  ) 

Definition at line 37 of file SiStripDigiToRaw.cc.

References edm::isDebugEnabled(), and LogDebug.

00037                                     {
00038   if ( edm::isDebugEnabled() ) {
00039     LogDebug("DigiToRaw")
00040       << "[SiStripDigiToRaw::~SiStripDigiToRaw]"
00041       << " Destructing object...";
00042   }
00043 }


Member Function Documentation

void SiStripDigiToRaw::createFedBuffers ( edm::Event ,
edm::ESHandle< SiStripFedCabling > &  cabling,
edm::Handle< edm::DetSetVector< SiStripDigi > > &  digis,
std::auto_ptr< FEDRawDataCollection > &  buffers 
)

Referenced by SiStripDigiToRawModule::produce().

void SiStripDigiToRaw::fedReadoutMode ( std::string  mode  )  [inline]

Definition at line 38 of file SiStripDigiToRaw.h.

References readoutMode_.

00038 { readoutMode_ = mode; }

void SiStripDigiToRaw::nAppendedBytes ( uint16_t  nbytes  )  [inline]

Definition at line 39 of file SiStripDigiToRaw.h.

References nAppendedBytes_.

00039 { nAppendedBytes_ = nbytes; }


Member Data Documentation

uint16_t SiStripDigiToRaw::nAppendedBytes_ [private]

Definition at line 44 of file SiStripDigiToRaw.h.

Referenced by nAppendedBytes().

std::string SiStripDigiToRaw::readoutMode_ [private]

Definition at line 43 of file SiStripDigiToRaw.h.

Referenced by fedReadoutMode().

bool SiStripDigiToRaw::useFedKey_ [private]

Definition at line 45 of file SiStripDigiToRaw.h.


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:32:19 2009 for CMSSW by  doxygen 1.5.4