CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Protected Attributes
RPCAMCUnpacker Class Reference

#include <RPCAMCUnpacker.h>

Inheritance diagram for RPCAMCUnpacker:
RPCCPPFUnpacker

Public Member Functions

virtual void beginRun (edm::Run const &run, edm::EventSetup const &setup)
 
std::vector< int > const & getFeds () const
 
virtual void produce (edm::Event &event, edm::EventSetup const &setup, std::map< RPCAMCLink, rpcamc13::AMCPayload > const &amc_payload)
 
 RPCAMCUnpacker (edm::stream::EDProducerBase &producer, edm::ParameterSet const &config)
 
virtual ~RPCAMCUnpacker ()
 

Static Public Member Functions

static void fillDescription (edm::ParameterSetDescription &desc)
 

Protected Attributes

std::vector< int > feds_
 

Detailed Description

Definition at line 21 of file RPCAMCUnpacker.h.

Constructor & Destructor Documentation

RPCAMCUnpacker::RPCAMCUnpacker ( edm::stream::EDProducerBase producer,
edm::ParameterSet const &  config 
)

Definition at line 5 of file RPCAMCUnpacker.cc.

6 {}
RPCAMCUnpacker::~RPCAMCUnpacker ( )
virtual

Definition at line 8 of file RPCAMCUnpacker.cc.

9 {}

Member Function Documentation

void RPCAMCUnpacker::beginRun ( edm::Run const &  run,
edm::EventSetup const &  setup 
)
virtual

Reimplemented in RPCCPPFUnpacker.

Definition at line 20 of file RPCAMCUnpacker.cc.

21 {}
void RPCAMCUnpacker::fillDescription ( edm::ParameterSetDescription desc)
static

Definition at line 11 of file RPCAMCUnpacker.cc.

References edm::ParameterSetDescription::add(), and muonDTDigis_cfi::pset.

Referenced by RPCAMCRawToDigi::fillDescriptions().

12 {
14  pset.add<bool>("fillAMCCounters", true);
15  pset.add<int>("bxMin", -2);
16  pset.add<int>("bxMax", +2);
17  desc.add<edm::ParameterSetDescription>("RPCAMCUnpackerSettings", pset);
18 }
ParameterDescriptionBase * add(U const &iLabel, T const &value)
std::vector< int > const & RPCAMCUnpacker::getFeds ( ) const
inline

Definition at line 39 of file RPCAMCUnpacker.h.

40 {
41  return feds_;
42 }
std::vector< int > feds_
void RPCAMCUnpacker::produce ( edm::Event event,
edm::EventSetup const &  setup,
std::map< RPCAMCLink, rpcamc13::AMCPayload > const &  amc_payload 
)
virtual

Member Data Documentation

std::vector<int> RPCAMCUnpacker::feds_
protected

Definition at line 36 of file RPCAMCUnpacker.h.

Referenced by RPCCPPFUnpacker::beginRun().