#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 44 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 20 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 24 of file ME0TriggerPseudoBuilder.cc.
References relativeConstraints::cham, dumpAllME0Segments(), info_, ME0TriggerDigi::isValid(), LogTrace, MAX_CHAMBERS, MAX_ENDCAPS, and segmentConversion().
void ME0TriggerPseudoBuilder::dumpAllME0Segments | ( | const ME0SegmentCollection & | segments | ) | const |
Definition at line 134 of file ME0TriggerPseudoBuilder.cc.
References PV3DBase< T, PVType, FrameType >::eta(), runTauDisplay::gp, ME0Geometry::idToDet(), LogTrace, me0_g, ME0RecHit::me0Id(), PV3DBase< T, PVType, FrameType >::phi(), and GeomDet::toGlobal().
Referenced by build(), and setME0Geometry().
|
private |
Definition at line 60 of file ME0TriggerPseudoBuilder.cc.
References rpcdqm::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 >::phi(), jets_cff::quality, mps_fire::result, ME0TriggerDigi::setStrip(), ME0Segment::specificRecHits(), digitizers_cfi::strip, ME0EtaPartition::strip(), protons_cff::time, ME0Segment::time(), and GeomDet::toGlobal().
Referenced by build().
|
inline |
set geometry for the matching needs
Definition at line 36 of file ME0TriggerPseudoBuilder.h.
References dumpAllME0Segments(), g, and me0_g.
|
private |
Definition at line 63 of file ME0TriggerPseudoBuilder.h.
Referenced by ME0TriggerPseudoBuilder().
|
private |
Definition at line 59 of file ME0TriggerPseudoBuilder.h.
Referenced by ME0TriggerPseudoBuilder(), and segmentConversion().
|
private |
Definition at line 57 of file ME0TriggerPseudoBuilder.h.
Referenced by build(), ME0TriggerPseudoBuilder(), and segmentConversion().
|
staticprivate |
Definition at line 51 of file ME0TriggerPseudoBuilder.h.
|
staticprivate |
Definition at line 49 of file ME0TriggerPseudoBuilder.h.
|
private |
Definition at line 55 of file ME0TriggerPseudoBuilder.h.
Referenced by dumpAllME0Segments(), segmentConversion(), and setME0Geometry().
|
staticprivate |
Definition at line 52 of file ME0TriggerPseudoBuilder.h.
Referenced by segmentConversion().
|
staticprivate |
Definition at line 53 of file ME0TriggerPseudoBuilder.h.
Referenced by segmentConversion().
|
staticprivate |
Definition at line 50 of file ME0TriggerPseudoBuilder.h.
|
staticprivate |
Definition at line 48 of file ME0TriggerPseudoBuilder.h.