CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes | Friends
RPCHitAssociator::Config Class Reference

#include <RPCHitAssociator.h>

Public Member Functions

 Config (const edm::ParameterSet &, edm::ConsumesCollector ic)
 

Private Attributes

bool crossingframe
 
edm::InputTag RPCdigisimlinkTag
 
edm::EDGetTokenT< edm::DetSetVector< RPCDigiSimLink > > RPCdigisimlinkToken_
 
edm::InputTag RPCsimhitsTag
 
edm::EDGetTokenT< edm::PSimHitContainerRPCsimhitsToken_
 
edm::InputTag RPCsimhitsXFTag
 
edm::EDGetTokenT< CrossingFrame< PSimHit > > RPCsimhitsXFToken_
 

Friends

class RPCHitAssociator
 

Detailed Description

Definition at line 37 of file RPCHitAssociator.h.

Constructor & Destructor Documentation

◆ Config()

RPCHitAssociator::Config::Config ( const edm::ParameterSet conf,
edm::ConsumesCollector  ic 
)

Definition at line 7 of file RPCHitAssociator.cc.

References edm::ConsumesCollector::consumes(), crossingframe, edm::InputTag::label(), RPCdigisimlinkTag, RPCdigisimlinkToken_, RPCsimhitsTag, RPCsimhitsToken_, RPCsimhitsXFTag, and RPCsimhitsXFToken_.

8  : RPCdigisimlinkTag(conf.getParameter<edm::InputTag>("RPCdigisimlinkTag")),
9  // CrossingFrame used or not ?
10  RPCsimhitsTag(conf.getParameter<edm::InputTag>("RPCsimhitsTag")),
11  RPCsimhitsXFTag(conf.getParameter<edm::InputTag>("RPCsimhitsXFTag")),
12  crossingframe(conf.getParameter<bool>("crossingframe")) {
13  if (crossingframe) {
15  } else if (!RPCsimhitsTag.label().empty()) {
17  }
18 
20 }
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
edm::EDGetTokenT< CrossingFrame< PSimHit > > RPCsimhitsXFToken_
std::string const & label() const
Definition: InputTag.h:36
edm::EDGetTokenT< edm::PSimHitContainer > RPCsimhitsToken_
edm::EDGetTokenT< edm::DetSetVector< RPCDigiSimLink > > RPCdigisimlinkToken_
edm::InputTag RPCdigisimlinkTag
std::vector< PSimHit > PSimHitContainer

Friends And Related Function Documentation

◆ RPCHitAssociator

friend class RPCHitAssociator
friend

Definition at line 42 of file RPCHitAssociator.h.

Member Data Documentation

◆ crossingframe

bool RPCHitAssociator::Config::crossingframe
private

Definition at line 53 of file RPCHitAssociator.h.

Referenced by Config(), and RPCHitAssociator::initEvent().

◆ RPCdigisimlinkTag

edm::InputTag RPCHitAssociator::Config::RPCdigisimlinkTag
private

Definition at line 44 of file RPCHitAssociator.h.

Referenced by Config(), and RPCHitAssociator::initEvent().

◆ RPCdigisimlinkToken_

edm::EDGetTokenT<edm::DetSetVector<RPCDigiSimLink> > RPCHitAssociator::Config::RPCdigisimlinkToken_
private

Definition at line 51 of file RPCHitAssociator.h.

Referenced by Config(), and RPCHitAssociator::initEvent().

◆ RPCsimhitsTag

edm::InputTag RPCHitAssociator::Config::RPCsimhitsTag
private

Definition at line 46 of file RPCHitAssociator.h.

Referenced by Config(), and RPCHitAssociator::initEvent().

◆ RPCsimhitsToken_

edm::EDGetTokenT<edm::PSimHitContainer> RPCHitAssociator::Config::RPCsimhitsToken_
private

Definition at line 50 of file RPCHitAssociator.h.

Referenced by Config(), and RPCHitAssociator::initEvent().

◆ RPCsimhitsXFTag

edm::InputTag RPCHitAssociator::Config::RPCsimhitsXFTag
private

Definition at line 47 of file RPCHitAssociator.h.

Referenced by Config(), and RPCHitAssociator::initEvent().

◆ RPCsimhitsXFToken_

edm::EDGetTokenT<CrossingFrame<PSimHit> > RPCHitAssociator::Config::RPCsimhitsXFToken_
private

Definition at line 49 of file RPCHitAssociator.h.

Referenced by Config(), and RPCHitAssociator::initEvent().