#include <ME0TriggerPseudoBuilder.h>
Public Types | |
enum | trig_me0s { trig_me0s::MAX_ENDCAPS = 2, trig_me0s::MAX_CHAMBERS = 18 } |
Public Member Functions | |
void | build (const ME0SegmentCollection *me0segments, ME0TriggerDigiCollection &oc_trig) |
void | dumpAllME0Segments (const ME0SegmentCollection &segments) const |
ME0TriggerPseudoBuilder (const edm::ParameterSet &) | |
void | setME0Geometry (const ME0Geometry *g) |
~ME0TriggerPseudoBuilder () | |
Private Member Functions | |
ME0TriggerDigi | segmentConversion (const ME0Segment segment) |
Private Attributes | |
edm::ParameterSet | config_ |
double | dphiresolution_ |
int | info_ |
const ME0Geometry * | me0_g |
Static Private Attributes | |
static const int | max_chamber |
static const int | max_endcap |
static const unsigned int | ME0KeyLayer = 3 |
static const int | ME0TriggerCentralBX = 8 |
static const int | min_chamber |
static const int | min_endcap |
Builds ME0 trigger objects from ME0 segment
Definition at line 20 of file ME0TriggerPseudoBuilder.h.
|
strong |
Max values of trigger labels for all ME0s; used to construct TMB processors.
Enumerator | |
---|---|
MAX_ENDCAPS | |
MAX_CHAMBERS |
Definition at line 42 of file ME0TriggerPseudoBuilder.h.
|
explicit |
Configure the algorithm via constructor. Receives ParameterSet percolated down from EDProducer which owns this Builder.
Definition at line 12 of file ME0TriggerPseudoBuilder.cc.
References config_, dphiresolution_, edm::ParameterSet::getUntrackedParameter(), and info_.
ME0TriggerPseudoBuilder::~ME0TriggerPseudoBuilder | ( | ) |
Definition at line 18 of file ME0TriggerPseudoBuilder.cc.
void ME0TriggerPseudoBuilder::build | ( | const ME0SegmentCollection * | me0segments, |
ME0TriggerDigiCollection & | oc_trig | ||
) |
Build Triggers from ME0 segment in each chamber and fill them into output collections.
Definition at line 20 of file ME0TriggerPseudoBuilder.cc.
References relativeConstraints::cham, dumpAllME0Segments(), info_, ME0TriggerDigi::isValid(), LogTrace, MAX_CHAMBERS, MAX_ENDCAPS, HLT_2018_cff::region, segmentConversion(), and ClusterTask_cfi::trig.
void ME0TriggerPseudoBuilder::dumpAllME0Segments | ( | const ME0SegmentCollection & | segments | ) | const |
Definition at line 143 of file ME0TriggerPseudoBuilder.cc.
References PV3DBase< T, PVType, FrameType >::eta(), runTauDisplay::gp, ME0Geometry::idToDet(), LogTrace, me0_g, ME0RecHit::me0Id(), PV3DBase< T, PVType, FrameType >::phi(), FastTrackerRecHitMaskProducer_cfi::recHits, and GeomDet::toGlobal().
Referenced by build(), and setME0Geometry().
|
private |
Definition at line 56 of file ME0TriggerPseudoBuilder.cc.
References L1TStage2uGTEmulatorClient_cff::BX, ME0EtaPartition::centreOfStrip(), ME0Geometry::chamber(), relativeConstraints::chamber, ME0Chamber::computeDeltaPhi(), dphiresolution_, PV3DBase< T, PVType, FrameType >::eta(), ME0Layer::etaPartition(), spr::find(), runTauDisplay::gp, ME0Geometry::idToDet(), info_, ME0Chamber::layer(), ME0Segment::localDirection(), ME0EtaPartition::localPitch(), ME0Segment::localPosition(), LogTrace, me0_g, ME0Segment::me0DetId(), ME0KeyLayer, ME0TriggerCentralBX, ME0Layer::nEtaPartitions(), ME0Segment::nRecHits(), ME0EtaPartition::nstrips(), or, PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), qcdUeDQM_cfi::quality, mps_fire::result, ME0TriggerDigi::setStrip(), ME0Segment::specificRecHits(), digitizers_cfi::strip, ME0EtaPartition::strip(), GeomDet::surface(), ME0Segment::time(), ntuplemaker::time, GeomDet::toGlobal(), and GloballyPositioned< T >::toLocal().
Referenced by build().
|
inline |
set geometry for the matching needs
Definition at line 34 of file ME0TriggerPseudoBuilder.h.
References dumpAllME0Segments(), g, and me0_g.
|
private |
Definition at line 60 of file ME0TriggerPseudoBuilder.h.
Referenced by ME0TriggerPseudoBuilder().
|
private |
Definition at line 56 of file ME0TriggerPseudoBuilder.h.
Referenced by ME0TriggerPseudoBuilder(), and segmentConversion().
|
private |
Definition at line 54 of file ME0TriggerPseudoBuilder.h.
Referenced by build(), ME0TriggerPseudoBuilder(), and segmentConversion().
|
staticprivate |
Definition at line 48 of file ME0TriggerPseudoBuilder.h.
|
staticprivate |
Definition at line 46 of file ME0TriggerPseudoBuilder.h.
|
private |
Definition at line 52 of file ME0TriggerPseudoBuilder.h.
Referenced by dumpAllME0Segments(), segmentConversion(), and setME0Geometry().
|
staticprivate |
Definition at line 49 of file ME0TriggerPseudoBuilder.h.
Referenced by segmentConversion().
|
staticprivate |
Definition at line 50 of file ME0TriggerPseudoBuilder.h.
Referenced by segmentConversion().
|
staticprivate |
Definition at line 47 of file ME0TriggerPseudoBuilder.h.
|
staticprivate |
Definition at line 45 of file ME0TriggerPseudoBuilder.h.