#include <MuonDetIdAssociator.h>
Public Member Functions | |
virtual const GeomDet * | getGeomDet (const DetId &id) const override |
MuonDetIdAssociator () | |
MuonDetIdAssociator (const int nPhi, const int nEta, const double etaBinSize) | |
MuonDetIdAssociator (const edm::ParameterSet &pSet) | |
virtual const char * | name () const override |
virtual void | setConditions (const DetIdAssociatorRecord &iRecord) override |
virtual void | setCSCBadChambers (const CSCBadChambers *ptr) |
virtual void | setGeometry (const GlobalTrackingGeometry *ptr) |
virtual void | setGeometry (const DetIdAssociatorRecord &iRecord) override |
Public Member Functions inherited from DetIdAssociator | |
virtual void | buildMap () |
make the look-up map More... | |
DetIdAssociator (const int nPhi, const int nEta, const double etaBinSize) | |
double | etaBinSize () const |
look-up map bin size in eta dimension More... | |
virtual std::vector< DetId > | getCrossedDetIds (const std::set< DetId > &, const std::vector< GlobalPoint > &trajectory) const |
virtual std::vector< DetId > | getCrossedDetIds (const std::set< DetId > &, const std::vector< SteppingHelixStateInfo > &trajectory, const double toleranceInSigmas=-1) const |
virtual std::set< DetId > | getDetIdsCloseToAPoint (const GlobalPoint &, const int iN=0) const |
virtual std::set< DetId > | getDetIdsCloseToAPoint (const GlobalPoint &direction, const unsigned int iNEtaPlus, const unsigned int iNEtaMinus, const unsigned int iNPhiPlus, const unsigned int iNPhiMinus) const |
virtual std::set< DetId > | getDetIdsCloseToAPoint (const GlobalPoint &direction, const MapRange &mapRange) const |
virtual std::set< DetId > | getDetIdsCloseToAPoint (const GlobalPoint &point, const double d=0) const |
virtual std::set< DetId > | getDetIdsCloseToAPoint (const GlobalPoint &point, const double dThetaPlus, const double dThetaMinus, const double dPhiPlus, const double dPhiMinus) const |
virtual std::set< DetId > | getDetIdsInACone (const std::set< DetId > &, const std::vector< GlobalPoint > &trajectory, const double dR) const |
virtual int | iEta (const GlobalPoint &) const |
look-up map eta index More... | |
virtual int | iPhi (const GlobalPoint &) const |
look-up map phi index More... | |
int | nEtaBins () const |
number of bins of the look-up map in eta dimension More... | |
int | nPhiBins () const |
number of bins of the look-up map in phi dimension More... | |
virtual bool | selectAllInACone (const double dR) const |
helper to see if getDetIdsInACone is useful More... | |
const FiducialVolume & | volume () const |
get active detector volume More... | |
virtual | ~DetIdAssociator () |
Protected Member Functions | |
virtual void | check_setup () const override |
virtual std::pair< const_iterator, const_iterator > | getDetIdPoints (const DetId &id, std::vector< GlobalPoint > &points) const override |
virtual GlobalPoint | getPosition (const DetId &id) const override |
virtual void | getValidDetIds (unsigned int, std::vector< DetId > &) const override |
virtual bool | insideElement (const GlobalPoint &point, const DetId &id) const override |
Protected Member Functions inherited from DetIdAssociator | |
virtual bool | crossedElement (const GlobalPoint &, const GlobalPoint &, const DetId &, const double toleranceInSigmas=-1, const SteppingHelixStateInfo *=0) const |
virtual void | dumpMapContent (int, int) const |
virtual void | dumpMapContent (int, int, int, int) const |
void | fillSet (std::set< DetId > &set, unsigned int iEta, unsigned int iPhi) const |
virtual const unsigned int | getNumberOfSubdetectors () const |
unsigned int | index (unsigned int iEta, unsigned int iPhi) const |
virtual bool | nearElement (const GlobalPoint &point, const DetId &id, const double distance) const |
Protected Attributes | |
const CSCBadChambers * | cscbadchambers_ |
const GlobalTrackingGeometry * | geometry_ |
bool | includeBadChambers_ |
bool | includeGEM_ |
bool | includeME0_ |
Protected Attributes inherited from DetIdAssociator | |
std::vector< DetId > | container_ |
const double | etaBinSize_ |
std::vector< std::pair< unsigned int, unsigned int > > | lookupMap_ |
double | maxEta_ |
double | minTheta_ |
const int | nEta_ |
const int | nPhi_ |
bool | theMapIsValid_ |
FiducialVolume | volume_ |
Additional Inherited Members | |
Public Types inherited from DetIdAssociator | |
typedef std::vector< GlobalPoint >::const_iterator | const_iterator |
enum | PropagationTarget { Barrel, ForwardEndcap, BackwardEndcap } |
Definition at line 33 of file MuonDetIdAssociator.h.
|
inline |
Definition at line 35 of file MuonDetIdAssociator.h.
|
inline |
Definition at line 36 of file MuonDetIdAssociator.h.
|
inline |
Definition at line 39 of file MuonDetIdAssociator.h.
|
overrideprotectedvirtual |
Reimplemented from DetIdAssociator.
Definition at line 32 of file MuonDetIdAssociator.cc.
References DetIdAssociator::check_setup(), cscbadchambers_, Exception, and geometry_.
Referenced by name().
|
overrideprotectedvirtual |
Implements DetIdAssociator.
Definition at line 113 of file MuonDetIdAssociator.cc.
References Surface::bounds(), geometry_, getGeomDet(), GlobalTrackingGeometry::idToDet(), Bounds::length(), GeomDet::surface(), Bounds::thickness(), GeomDet::toGlobal(), and Bounds::width().
Referenced by name().
Implements DetIdAssociator.
Definition at line 38 of file MuonDetIdAssociator.cc.
References Exception, geometry_, and GlobalTrackingGeometry::idToDet().
Referenced by getDetIdPoints(), getPosition(), and setConditions().
|
overrideprotectedvirtual |
Implements DetIdAssociator.
Definition at line 47 of file MuonDetIdAssociator.cc.
References getGeomDet(), point, position, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by name().
|
overrideprotectedvirtual |
Implements DetIdAssociator.
Definition at line 52 of file MuonDetIdAssociator.cc.
References cscbadchambers_, TrackingGeometry::dets(), dt, Exception, geometry_, includeBadChambers_, includeGEM_, includeME0_, CSCBadChambers::isInBadChamber(), alignCSCRings::r, and GlobalTrackingGeometry::slaveGeometry().
Referenced by name().
|
overrideprotectedvirtual |
Implements DetIdAssociator.
Definition at line 106 of file MuonDetIdAssociator.cc.
References Surface::bounds(), Exception, geometry_, GlobalTrackingGeometry::idToDet(), Bounds::inside(), GeomDet::surface(), and GeomDet::toLocal().
Referenced by name().
|
inlineoverridevirtual |
Implements DetIdAssociator.
Definition at line 56 of file MuonDetIdAssociator.h.
References check_setup(), getDetIdPoints(), getPosition(), getValidDetIds(), insideElement(), and point.
Referenced by config.CFG::__str__(), and validation.Sample::digest().
|
inlineoverridevirtual |
Reimplemented from DetIdAssociator.
Definition at line 48 of file MuonDetIdAssociator.h.
References getGeomDet(), edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord(), edm::ESHandle< T >::product(), and setCSCBadChambers().
|
inlinevirtual |
Definition at line 46 of file MuonDetIdAssociator.h.
References cscbadchambers_.
Referenced by setConditions().
|
inlinevirtual |
Definition at line 42 of file MuonDetIdAssociator.h.
References geometry_.
Referenced by setGeometry().
|
overridevirtual |
Implements DetIdAssociator.
Definition at line 143 of file MuonDetIdAssociator.cc.
References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord(), edm::ESHandle< T >::product(), and setGeometry().
|
protected |
Definition at line 72 of file MuonDetIdAssociator.h.
Referenced by check_setup(), getValidDetIds(), and setCSCBadChambers().
|
protected |
Definition at line 70 of file MuonDetIdAssociator.h.
Referenced by check_setup(), getDetIdPoints(), getGeomDet(), getValidDetIds(), insideElement(), and setGeometry().
|
protected |
Definition at line 73 of file MuonDetIdAssociator.h.
Referenced by getValidDetIds().
|
protected |
Definition at line 74 of file MuonDetIdAssociator.h.
Referenced by getValidDetIds().
|
protected |
Definition at line 75 of file MuonDetIdAssociator.h.
Referenced by getValidDetIds().