CMS 3D CMS Logo

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

#include <GEMHitAssociator.h>

Public Member Functions

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

Private Attributes

bool crossingframe
 
edm::InputTag GEMdigisimlinkTag
 
edm::EDGetTokenT< edm::DetSetVector< GEMDigiSimLink > > GEMdigisimlinkToken_
 
edm::InputTag GEMsimhitsTag
 
edm::EDGetTokenT< edm::PSimHitContainerGEMsimhitsToken_
 
edm::InputTag GEMsimhitsXFTag
 
edm::EDGetTokenT< CrossingFrame< PSimHit > > GEMsimhitsXFToken_
 
bool useGEMs_
 

Friends

class GEMHitAssociator
 

Detailed Description

Definition at line 35 of file GEMHitAssociator.h.

Constructor & Destructor Documentation

◆ Config()

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

Definition at line 7 of file GEMHitAssociator.cc.

References edm::ConsumesCollector::consumes(), crossingframe, GEMdigisimlinkTag, GEMdigisimlinkToken_, GEMsimhitsTag, GEMsimhitsToken_, GEMsimhitsXFTag, GEMsimhitsXFToken_, and edm::InputTag::label().

8  : GEMdigisimlinkTag(conf.getParameter<edm::InputTag>("GEMdigisimlinkTag")),
9  // CrossingFrame used or not ?
10  GEMsimhitsTag(conf.getParameter<edm::InputTag>("GEMsimhitsTag")),
11  GEMsimhitsXFTag(conf.getParameter<edm::InputTag>("GEMsimhitsXFTag")),
12  crossingframe(conf.getParameter<bool>("crossingframe")),
13  useGEMs_(conf.getParameter<bool>("useGEMs")) {
14  if (crossingframe) {
16  } else if (!GEMsimhitsTag.label().empty()) {
18  }
19 
21 }
T getParameter(std::string const &) const
Definition: ParameterSet.h:307
edm::InputTag GEMdigisimlinkTag
std::string const & label() const
Definition: InputTag.h:36
edm::EDGetTokenT< edm::DetSetVector< GEMDigiSimLink > > GEMdigisimlinkToken_
edm::EDGetTokenT< edm::PSimHitContainer > GEMsimhitsToken_
edm::EDGetTokenT< CrossingFrame< PSimHit > > GEMsimhitsXFToken_
std::vector< PSimHit > PSimHitContainer

Friends And Related Function Documentation

◆ GEMHitAssociator

friend class GEMHitAssociator
friend

Definition at line 40 of file GEMHitAssociator.h.

Member Data Documentation

◆ crossingframe

bool GEMHitAssociator::Config::crossingframe
private

Definition at line 50 of file GEMHitAssociator.h.

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

◆ GEMdigisimlinkTag

edm::InputTag GEMHitAssociator::Config::GEMdigisimlinkTag
private

Definition at line 42 of file GEMHitAssociator.h.

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

◆ GEMdigisimlinkToken_

edm::EDGetTokenT<edm::DetSetVector<GEMDigiSimLink> > GEMHitAssociator::Config::GEMdigisimlinkToken_
private

Definition at line 48 of file GEMHitAssociator.h.

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

◆ GEMsimhitsTag

edm::InputTag GEMHitAssociator::Config::GEMsimhitsTag
private

Definition at line 43 of file GEMHitAssociator.h.

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

◆ GEMsimhitsToken_

edm::EDGetTokenT<edm::PSimHitContainer> GEMHitAssociator::Config::GEMsimhitsToken_
private

Definition at line 47 of file GEMHitAssociator.h.

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

◆ GEMsimhitsXFTag

edm::InputTag GEMHitAssociator::Config::GEMsimhitsXFTag
private

Definition at line 44 of file GEMHitAssociator.h.

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

◆ GEMsimhitsXFToken_

edm::EDGetTokenT<CrossingFrame<PSimHit> > GEMHitAssociator::Config::GEMsimhitsXFToken_
private

Definition at line 46 of file GEMHitAssociator.h.

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

◆ useGEMs_

bool GEMHitAssociator::Config::useGEMs_
private