CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
sistrip::SpyEventMatcher::SpyDataCollections Class Reference

#include <SiStripSpyEventMatcher.h>

Public Member Functions

SpyDataCollectionsoperator= (SpyDataCollections original)
 
 SpyDataCollections ()
 
 SpyDataCollections (FEDRawDataCollection &theRawData, std::vector< uint32_t > &theTotalEventCounters, std::vector< uint32_t > &theL1ACounters, std::vector< uint32_t > &theAPVAddresses, std::vector< edm::DetSet< SiStripRawDigi > > *theScopeDigisVector, std::vector< edm::DetSet< SiStripRawDigi > > *thePayloadDigisVector, std::vector< edm::DetSet< SiStripRawDigi > > *theReorderedDigisVector, std::vector< edm::DetSet< SiStripRawDigi > > *theVirginRawDigisVector)
 

Public Attributes

std::auto_ptr< std::vector
< uint32_t > > 
apvAddresses
 
std::auto_ptr< std::vector
< uint32_t > > 
l1aCounters
 
std::auto_ptr
< edm::DetSetVector
< SiStripRawDigi > > 
payloadDigis
 
std::auto_ptr
< FEDRawDataCollection
rawData
 
std::auto_ptr
< edm::DetSetVector
< SiStripRawDigi > > 
reorderedDigis
 
std::auto_ptr
< edm::DetSetVector
< SiStripRawDigi > > 
scopeDigis
 
std::auto_ptr< std::vector
< uint32_t > > 
totalEventCounters
 
std::auto_ptr
< edm::DetSetVector
< SiStripRawDigi > > 
virginRawDigis
 

Detailed Description

Definition at line 33 of file SiStripSpyEventMatcher.h.

Constructor & Destructor Documentation

sistrip::SpyEventMatcher::SpyDataCollections::SpyDataCollections ( )

Definition at line 404 of file SiStripSpyEventMatcher.cc.

405  : rawData(),
407  l1aCounters(),
408  apvAddresses(),
409  scopeDigis(),
410  payloadDigis(),
411  reorderedDigis(),
413  {}
std::auto_ptr< std::vector< uint32_t > > apvAddresses
std::auto_ptr< std::vector< uint32_t > > l1aCounters
std::auto_ptr< std::vector< uint32_t > > totalEventCounters
std::auto_ptr< edm::DetSetVector< SiStripRawDigi > > reorderedDigis
std::auto_ptr< edm::DetSetVector< SiStripRawDigi > > payloadDigis
std::auto_ptr< edm::DetSetVector< SiStripRawDigi > > scopeDigis
std::auto_ptr< FEDRawDataCollection > rawData
std::auto_ptr< edm::DetSetVector< SiStripRawDigi > > virginRawDigis
sistrip::SpyEventMatcher::SpyDataCollections::SpyDataCollections ( FEDRawDataCollection theRawData,
std::vector< uint32_t > &  theTotalEventCounters,
std::vector< uint32_t > &  theL1ACounters,
std::vector< uint32_t > &  theAPVAddresses,
std::vector< edm::DetSet< SiStripRawDigi > > *  theScopeDigisVector,
std::vector< edm::DetSet< SiStripRawDigi > > *  thePayloadDigisVector,
std::vector< edm::DetSet< SiStripRawDigi > > *  theReorderedDigisVector,
std::vector< edm::DetSet< SiStripRawDigi > > *  theVirginRawDigisVector 
)

Definition at line 381 of file SiStripSpyEventMatcher.cc.

References apvAddresses, l1aCounters, rawData, and totalEventCounters.

390  totalEventCounters(new std::vector<uint32_t>),
391  l1aCounters(new std::vector<uint32_t>),
392  apvAddresses(new std::vector<uint32_t>),
393  scopeDigis(theScopeDigisVector ? new edm::DetSetVector<SiStripRawDigi>(*theScopeDigisVector) : NULL),
394  payloadDigis(thePayloadDigisVector ? new edm::DetSetVector<SiStripRawDigi>(*thePayloadDigisVector) : NULL),
395  reorderedDigis(theReorderedDigisVector ? new edm::DetSetVector<SiStripRawDigi>(*theReorderedDigisVector) : NULL),
396  virginRawDigis(theVirginRawDigisVector ? new edm::DetSetVector<SiStripRawDigi>(*theVirginRawDigisVector) : NULL)
397  {
398  rawData->swap(theRawData);
399  totalEventCounters->swap(theTotalEventCounters);
400  l1aCounters->swap(theL1ACounters);
401  apvAddresses->swap(theAPVAddresses);
402  }
std::auto_ptr< std::vector< uint32_t > > apvAddresses
#define NULL
Definition: scimark2.h:8
std::auto_ptr< std::vector< uint32_t > > l1aCounters
std::auto_ptr< std::vector< uint32_t > > totalEventCounters
std::auto_ptr< edm::DetSetVector< SiStripRawDigi > > reorderedDigis
std::auto_ptr< edm::DetSetVector< SiStripRawDigi > > payloadDigis
std::auto_ptr< edm::DetSetVector< SiStripRawDigi > > scopeDigis
std::auto_ptr< FEDRawDataCollection > rawData
std::auto_ptr< edm::DetSetVector< SiStripRawDigi > > virginRawDigis

Member Function Documentation

SpyEventMatcher::SpyDataCollections & sistrip::SpyEventMatcher::SpyDataCollections::operator= ( SpyDataCollections  original)

Definition at line 415 of file SiStripSpyEventMatcher.cc.

References apvAddresses, l1aCounters, payloadDigis, rawData, scopeDigis, totalEventCounters, and virginRawDigis.

416  {
417  rawData = original.rawData;
418  totalEventCounters = original.totalEventCounters;
419  l1aCounters = original.l1aCounters;
420  apvAddresses = original.apvAddresses;
421  scopeDigis = original.scopeDigis;
422  payloadDigis = original.payloadDigis;
423  virginRawDigis = original.virginRawDigis;
424  return *this;
425  }
std::auto_ptr< std::vector< uint32_t > > apvAddresses
list original
Definition: definitions.py:57
std::auto_ptr< std::vector< uint32_t > > l1aCounters
std::auto_ptr< std::vector< uint32_t > > totalEventCounters
std::auto_ptr< edm::DetSetVector< SiStripRawDigi > > payloadDigis
std::auto_ptr< edm::DetSetVector< SiStripRawDigi > > scopeDigis
std::auto_ptr< FEDRawDataCollection > rawData
std::auto_ptr< edm::DetSetVector< SiStripRawDigi > > virginRawDigis

Member Data Documentation

std::auto_ptr< std::vector<uint32_t> > sistrip::SpyEventMatcher::SpyDataCollections::apvAddresses
std::auto_ptr< std::vector<uint32_t> > sistrip::SpyEventMatcher::SpyDataCollections::l1aCounters
std::auto_ptr< edm::DetSetVector<SiStripRawDigi> > sistrip::SpyEventMatcher::SpyDataCollections::payloadDigis

Definition at line 41 of file SiStripSpyEventMatcher.h.

Referenced by sistrip::SpyEventMatcherModule::copyData(), and operator=().

std::auto_ptr< FEDRawDataCollection > sistrip::SpyEventMatcher::SpyDataCollections::rawData
std::auto_ptr< edm::DetSetVector<SiStripRawDigi> > sistrip::SpyEventMatcher::SpyDataCollections::reorderedDigis

Definition at line 42 of file SiStripSpyEventMatcher.h.

Referenced by sistrip::SpyEventMatcherModule::copyData().

std::auto_ptr< edm::DetSetVector<SiStripRawDigi> > sistrip::SpyEventMatcher::SpyDataCollections::scopeDigis

Definition at line 40 of file SiStripSpyEventMatcher.h.

Referenced by sistrip::SpyEventMatcherModule::copyData(), and operator=().

std::auto_ptr< std::vector<uint32_t> > sistrip::SpyEventMatcher::SpyDataCollections::totalEventCounters
std::auto_ptr< edm::DetSetVector<SiStripRawDigi> > sistrip::SpyEventMatcher::SpyDataCollections::virginRawDigis

Definition at line 43 of file SiStripSpyEventMatcher.h.

Referenced by sistrip::SpyEventMatcherModule::copyData(), and operator=().