CMS 3D CMS Logo

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

#include <L1Trigger/RPCTechnicalTrigger/interface/RPCTechnicalTrigger.cc>

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

Classes

struct  sortByBx
 
class  TTUResults
 

Public Member Functions

 RPCTechnicalTrigger (const edm::ParameterSet &)
 
 ~RPCTechnicalTrigger ()
 
- 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

virtual void beginRun (edm::Run const &, const edm::EventSetup &) overridefinal
 
int convertToMap (const std::vector< TTUResults * > &)
 
virtual void endJob ()
 
void printinfo ()
 
virtual void produce (edm::Event &, const edm::EventSetup &)
 
bool Reset ()
 
bool searchCoincidence (int, int)
 

Private Attributes

int m_boardIndex [3]
 
int m_cand
 
std::string m_configFile
 
std::vector< int >::iterator m_firstSector
 
bool m_hasConfig
 
int m_ievt
 
RPCInputSignalm_input
 
int m_maxBits
 
int m_maxTtuBoards
 
int m_nWheels [3]
 
std::vector< int > m_quadrants
 
const RBCBoardSpecsm_rbcspecs
 
TTUConfiguratorm_readConfig
 
edm::InputTag m_rpcDigiLabel
 
edm::ESHandle< RPCGeometrym_rpcGeometry
 
edm::InputTag m_rpcSimLinkInstance
 
std::vector< TTUResults * > m_serializedInfoLine1
 
std::vector< TTUResults * > m_serializedInfoLine2
 
ProcessInputSignalm_signal
 
std::bitset< 5 > m_triggerbits
 
std::vector< unsigned > m_ttBits
 
std::vector< std::string > m_ttNames
 
TTUEmulatorm_ttu [3]
 
TTUEmulatorm_ttuRbcLine [3]
 
std::map< int, TTUResults * > m_ttuResultsByQuadrant
 
const TTUBoardSpecsm_ttuspecs
 
int m_useEventSetup
 
int m_useRPCSimLink
 
int m_verbosity
 
std::map< int, int > m_WheelTtu
 

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

Description: Implementation of the RPC Technical Trigger Emulator

Implementation:

Definition at line 68 of file RPCTechnicalTrigger.h.

Constructor & Destructor Documentation

RPCTechnicalTrigger::RPCTechnicalTrigger ( const edm::ParameterSet iConfig)
explicit

Definition at line 28 of file RPCTechnicalTrigger.cc.

RPCTechnicalTrigger::~RPCTechnicalTrigger ( )

Definition at line 109 of file RPCTechnicalTrigger.cc.

Member Function Documentation

void RPCTechnicalTrigger::beginRun ( edm::Run const &  iRun,
const edm::EventSetup evtSetup 
)
finaloverrideprivatevirtual

Reimplemented from edm::EDProducer.

Definition at line 378 of file RPCTechnicalTrigger.cc.

int RPCTechnicalTrigger::convertToMap ( const std::vector< TTUResults * > &  ttuResults)
private

Definition at line 443 of file RPCTechnicalTrigger.cc.

void RPCTechnicalTrigger::endJob ( void  )
privatevirtual

Reimplemented from edm::EDProducer.

Definition at line 550 of file RPCTechnicalTrigger.cc.

void RPCTechnicalTrigger::printinfo ( )
private

Definition at line 557 of file RPCTechnicalTrigger.cc.

void RPCTechnicalTrigger::produce ( edm::Event iEvent,
const edm::EventSetup iSetup 
)
privatevirtual

Implements edm::EDProducer.

Definition at line 136 of file RPCTechnicalTrigger.cc.

bool RPCTechnicalTrigger::Reset ( void  )
private

Definition at line 354 of file RPCTechnicalTrigger.cc.

bool RPCTechnicalTrigger::searchCoincidence ( int  wheel1,
int  wheel2 
)
private

Definition at line 467 of file RPCTechnicalTrigger.cc.

Member Data Documentation

int RPCTechnicalTrigger::m_boardIndex[3]
private

Definition at line 115 of file RPCTechnicalTrigger.h.

int RPCTechnicalTrigger::m_cand
private

Definition at line 114 of file RPCTechnicalTrigger.h.

std::string RPCTechnicalTrigger::m_configFile
private

Definition at line 101 of file RPCTechnicalTrigger.h.

std::vector<int>::iterator RPCTechnicalTrigger::m_firstSector
private

Definition at line 182 of file RPCTechnicalTrigger.h.

bool RPCTechnicalTrigger::m_hasConfig
private

Definition at line 119 of file RPCTechnicalTrigger.h.

int RPCTechnicalTrigger::m_ievt
private

Definition at line 113 of file RPCTechnicalTrigger.h.

RPCInputSignal* RPCTechnicalTrigger::m_input
private

Definition at line 91 of file RPCTechnicalTrigger.h.

int RPCTechnicalTrigger::m_maxBits
private

Definition at line 118 of file RPCTechnicalTrigger.h.

int RPCTechnicalTrigger::m_maxTtuBoards
private

Definition at line 117 of file RPCTechnicalTrigger.h.

int RPCTechnicalTrigger::m_nWheels[3]
private

Definition at line 116 of file RPCTechnicalTrigger.h.

std::vector<int> RPCTechnicalTrigger::m_quadrants
private

Definition at line 180 of file RPCTechnicalTrigger.h.

const RBCBoardSpecs* RPCTechnicalTrigger::m_rbcspecs
private

Definition at line 111 of file RPCTechnicalTrigger.h.

TTUConfigurator* RPCTechnicalTrigger::m_readConfig
private

Definition at line 109 of file RPCTechnicalTrigger.h.

edm::InputTag RPCTechnicalTrigger::m_rpcDigiLabel
private

Definition at line 104 of file RPCTechnicalTrigger.h.

edm::ESHandle<RPCGeometry> RPCTechnicalTrigger::m_rpcGeometry
private

Definition at line 97 of file RPCTechnicalTrigger.h.

edm::InputTag RPCTechnicalTrigger::m_rpcSimLinkInstance
private

Definition at line 105 of file RPCTechnicalTrigger.h.

std::vector<TTUResults*> RPCTechnicalTrigger::m_serializedInfoLine1
private

Definition at line 169 of file RPCTechnicalTrigger.h.

std::vector<TTUResults*> RPCTechnicalTrigger::m_serializedInfoLine2
private

Definition at line 170 of file RPCTechnicalTrigger.h.

ProcessInputSignal* RPCTechnicalTrigger::m_signal
private

Definition at line 93 of file RPCTechnicalTrigger.h.

std::bitset<5> RPCTechnicalTrigger::m_triggerbits
private

Definition at line 95 of file RPCTechnicalTrigger.h.

std::vector<unsigned> RPCTechnicalTrigger::m_ttBits
private

Definition at line 102 of file RPCTechnicalTrigger.h.

std::vector<std::string> RPCTechnicalTrigger::m_ttNames
private

Definition at line 103 of file RPCTechnicalTrigger.h.

TTUEmulator* RPCTechnicalTrigger::m_ttu[3]
private

Definition at line 87 of file RPCTechnicalTrigger.h.

TTUEmulator* RPCTechnicalTrigger::m_ttuRbcLine[3]
private

Definition at line 89 of file RPCTechnicalTrigger.h.

std::map<int,TTUResults*> RPCTechnicalTrigger::m_ttuResultsByQuadrant
private

Definition at line 178 of file RPCTechnicalTrigger.h.

const TTUBoardSpecs* RPCTechnicalTrigger::m_ttuspecs
private

Definition at line 110 of file RPCTechnicalTrigger.h.

int RPCTechnicalTrigger::m_useEventSetup
private

Definition at line 100 of file RPCTechnicalTrigger.h.

int RPCTechnicalTrigger::m_useRPCSimLink
private

Definition at line 107 of file RPCTechnicalTrigger.h.

int RPCTechnicalTrigger::m_verbosity
private

Definition at line 99 of file RPCTechnicalTrigger.h.

std::map<int,int> RPCTechnicalTrigger::m_WheelTtu
private

Definition at line 176 of file RPCTechnicalTrigger.h.