CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Member Functions
HcalDetIdAssociator Class Reference

#include <HcalDetIdAssociator.h>

Inheritance diagram for HcalDetIdAssociator:
CaloDetIdAssociator DetIdAssociator

Public Member Functions

 HcalDetIdAssociator ()
 
 HcalDetIdAssociator (const edm::ParameterSet &pSet)
 
virtual const char * name () const
 
- Public Member Functions inherited from CaloDetIdAssociator
 CaloDetIdAssociator ()
 
 CaloDetIdAssociator (const int nPhi, const int nEta, const double etaBinSize)
 
 CaloDetIdAssociator (const edm::ParameterSet &pSet)
 
virtual const GeomDetgetGeomDet (const DetId &id) const
 
virtual void setGeometry (const CaloGeometry *ptr)
 
virtual void setGeometry (const DetIdAssociatorRecord &iRecord)
 
- 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< DetIdgetCrossedDetIds (const std::set< DetId > &, const std::vector< GlobalPoint > &trajectory) const
 
virtual std::vector< DetIdgetCrossedDetIds (const std::set< DetId > &, const std::vector< SteppingHelixStateInfo > &trajectory, const double toleranceInSigmas=-1) const
 
virtual std::set< DetIdgetDetIdsCloseToAPoint (const GlobalPoint &, const int iN=0) const
 
virtual std::set< DetIdgetDetIdsCloseToAPoint (const GlobalPoint &direction, const unsigned int iNEtaPlus, const unsigned int iNEtaMinus, const unsigned int iNPhiPlus, const unsigned int iNPhiMinus) const
 
virtual std::set< DetIdgetDetIdsCloseToAPoint (const GlobalPoint &direction, const MapRange &mapRange) const
 
virtual std::set< DetIdgetDetIdsCloseToAPoint (const GlobalPoint &point, const double d=0) const
 
virtual std::set< DetIdgetDetIdsCloseToAPoint (const GlobalPoint &point, const double dThetaPlus, const double dThetaMinus, const double dPhiPlus, const double dPhiMinus) const
 
virtual std::set< DetIdgetDetIdsInACone (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 void setConditions (const DetIdAssociatorRecord &)
 
virtual void setPropagator (Propagator *ptr)
 set a specific track propagator to be used More...
 
const FiducialVolumevolume () const
 get active detector volume More...
 
virtual ~DetIdAssociator ()
 

Protected Member Functions

virtual const unsigned int getNumberOfSubdetectors () const
 
virtual const std::vector
< DetId > & 
getValidDetIds (unsigned int subDetectorIndex) const
 
- Protected Member Functions inherited from CaloDetIdAssociator
virtual void check_setup () const
 
virtual bool crossedElement (const GlobalPoint &, const GlobalPoint &, const DetId &id, const double tolerance=-1, const SteppingHelixStateInfo *=0) const
 
virtual std::pair
< const_iterator,
const_iterator
getDetIdPoints (const DetId &id) const
 
virtual GlobalPoint getPosition (const DetId &id) const
 
virtual bool insideElement (const GlobalPoint &point, const DetId &id) const
 
- Protected Member Functions inherited from DetIdAssociator
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
 
unsigned int index (unsigned int iEta, unsigned int iPhi) const
 
virtual bool nearElement (const GlobalPoint &point, const DetId &id, const double distance) const
 

Additional Inherited Members

- Public Types inherited from DetIdAssociator
typedef std::vector
< GlobalPoint >
::const_iterator 
const_iterator
 
enum  PropagationTarget { Barrel, ForwardEndcap, BackwardEndcap }
 
- Protected Attributes inherited from CaloDetIdAssociator
std::vector< GlobalPointdummy_
 
const CaloGeometrygeometry_
 
- Protected Attributes inherited from DetIdAssociator
std::vector< DetIdcontainer_
 
const double etaBinSize_
 
PropagatorivProp_
 
std::vector< std::pair
< unsigned int, unsigned int > > 
lookupMap_
 
double maxEta_
 
double minTheta_
 
const int nEta_
 
const int nPhi_
 
bool theMapIsValid_
 
FiducialVolume volume_
 

Detailed Description

Definition at line 24 of file HcalDetIdAssociator.h.

Constructor & Destructor Documentation

HcalDetIdAssociator::HcalDetIdAssociator ( )
inline

Definition at line 26 of file HcalDetIdAssociator.h.

26 :CaloDetIdAssociator(72, 70 ,0.087){};
HcalDetIdAssociator::HcalDetIdAssociator ( const edm::ParameterSet pSet)
inline

Definition at line 28 of file HcalDetIdAssociator.h.

Member Function Documentation

virtual const unsigned int HcalDetIdAssociator::getNumberOfSubdetectors ( ) const
inlineprotectedvirtual

Reimplemented from DetIdAssociator.

Definition at line 34 of file HcalDetIdAssociator.h.

34 { return 2;}
virtual const std::vector<DetId>& HcalDetIdAssociator::getValidDetIds ( unsigned int  subDetectorIndex) const
inlineprotectedvirtual

Reimplemented from CaloDetIdAssociator.

Definition at line 35 of file HcalDetIdAssociator.h.

References CaloDetIdAssociator::geometry_, CaloGeometry::getValidDetIds(), DetId::Hcal, HcalBarrel, and HcalEndcap.

35  {
36  if ( subDetectorIndex == 0 )
38  else
40  };
const CaloGeometry * geometry_
std::vector< DetId > getValidDetIds() const
Get the list of all valid detector ids.
Definition: CaloGeometry.cc:90
virtual const char* HcalDetIdAssociator::name ( void  ) const
inlinevirtual