CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
HcalTBObjectUnpacker Class Reference

#include <HcalTBObjectUnpacker.h>

Inheritance diagram for HcalTBObjectUnpacker:
edm::EDProducer edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 HcalTBObjectUnpacker (const edm::ParameterSet &ps)
 
virtual void produce (edm::Event &e, const edm::EventSetup &c)
 
virtual ~HcalTBObjectUnpacker ()
 
- Public Member Functions inherited from edm::EDProducer
 EDProducer ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDProducer ()
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 ProducerBase ()
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription
const &)> 
registrationCallback () const
 used by the fwk to register list of products More...
 
virtual ~ProducerBase ()
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Private Member Functions

void parseCalib ()
 

Private Attributes

std::string calibFile_
 
std::vector< std::vector
< std::string > > 
calibLines_
 
bool doBeamADC_
 
bool doEventPosition_
 
bool doRunData_
 
bool doSourcePos_
 
bool doTiming_
 
bool doTriggerData_
 
int qadcFed_
 
hcaltb::HcalTBQADCUnpacker qadcUnpacker_
 
int sdFed_
 
hcaltb::HcalTBSlowDataUnpacker sdUnpacker_
 
int spdFed_
 
hcaltb::HcalTBSourcePositionDataUnpacker spdUnpacker_
 
int tdcFed_
 
hcaltb::HcalTBTDCUnpacker tdcUnpacker_
 
hcaltb::HcalTBTriggerDataUnpacker tdUnpacker_
 
edm::EDGetTokenT
< FEDRawDataCollection
tok_raw_
 
int triggerFed_
 

Additional Inherited Members

- Public Types inherited from edm::EDProducer
typedef EDProducer ModuleType
 
- Public Types inherited from edm::ProducerBase
typedef
ProductRegistryHelper::TypeLabelList 
TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::EDProducer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Detailed Description

HcalTBObjectUnpacker is the EDProducer subclass which runs the Hcal Test Beam Object Unpack algorithm.

Author
Phil Dudero
Version
1st Version June 10, 2005

Definition at line 33 of file HcalTBObjectUnpacker.h.

Constructor & Destructor Documentation

HcalTBObjectUnpacker::HcalTBObjectUnpacker ( const edm::ParameterSet ps)
explicit

Definition at line 15 of file HcalTBObjectUnpacker.cc.

HcalTBObjectUnpacker::~HcalTBObjectUnpacker ( )
virtual

Definition at line 89 of file HcalTBObjectUnpacker.cc.

Member Function Documentation

void HcalTBObjectUnpacker::parseCalib ( )
private

Definition at line 159 of file HcalTBObjectUnpacker.cc.

void HcalTBObjectUnpacker::produce ( edm::Event e,
const edm::EventSetup c 
)
virtual

Implements edm::EDProducer.

Definition at line 92 of file HcalTBObjectUnpacker.cc.

Member Data Documentation

std::string HcalTBObjectUnpacker::calibFile_
private

Definition at line 45 of file HcalTBObjectUnpacker.h.

std::vector<std::vector<std::string> > HcalTBObjectUnpacker::calibLines_
private

Definition at line 53 of file HcalTBObjectUnpacker.h.

bool HcalTBObjectUnpacker::doBeamADC_
private

Definition at line 51 of file HcalTBObjectUnpacker.h.

bool HcalTBObjectUnpacker::doEventPosition_
private

Definition at line 51 of file HcalTBObjectUnpacker.h.

bool HcalTBObjectUnpacker::doRunData_
private

Definition at line 51 of file HcalTBObjectUnpacker.h.

bool HcalTBObjectUnpacker::doSourcePos_
private

Definition at line 51 of file HcalTBObjectUnpacker.h.

bool HcalTBObjectUnpacker::doTiming_
private

Definition at line 51 of file HcalTBObjectUnpacker.h.

bool HcalTBObjectUnpacker::doTriggerData_
private

Definition at line 51 of file HcalTBObjectUnpacker.h.

int HcalTBObjectUnpacker::qadcFed_
private

Definition at line 44 of file HcalTBObjectUnpacker.h.

hcaltb::HcalTBQADCUnpacker HcalTBObjectUnpacker::qadcUnpacker_
private

Definition at line 49 of file HcalTBObjectUnpacker.h.

int HcalTBObjectUnpacker::sdFed_
private

Definition at line 41 of file HcalTBObjectUnpacker.h.

hcaltb::HcalTBSlowDataUnpacker HcalTBObjectUnpacker::sdUnpacker_
private

Definition at line 47 of file HcalTBObjectUnpacker.h.

int HcalTBObjectUnpacker::spdFed_
private

Definition at line 42 of file HcalTBObjectUnpacker.h.

hcaltb::HcalTBSourcePositionDataUnpacker HcalTBObjectUnpacker::spdUnpacker_
private

Definition at line 50 of file HcalTBObjectUnpacker.h.

int HcalTBObjectUnpacker::tdcFed_
private

Definition at line 43 of file HcalTBObjectUnpacker.h.

hcaltb::HcalTBTDCUnpacker HcalTBObjectUnpacker::tdcUnpacker_
private

Definition at line 48 of file HcalTBObjectUnpacker.h.

hcaltb::HcalTBTriggerDataUnpacker HcalTBObjectUnpacker::tdUnpacker_
private

Definition at line 46 of file HcalTBObjectUnpacker.h.

edm::EDGetTokenT<FEDRawDataCollection> HcalTBObjectUnpacker::tok_raw_
private

Definition at line 54 of file HcalTBObjectUnpacker.h.

int HcalTBObjectUnpacker::triggerFed_
private

Definition at line 40 of file HcalTBObjectUnpacker.h.