CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
ntuple._LayerStrAdaptor Class Reference
Inheritance diagram for ntuple._LayerStrAdaptor:
ntuple.PixelHit ntuple.SimHit ntuple.StripHit

Public Member Functions

def __init__
 
def layerStr
 

Detailed Description

Adaptor class for layerStr() method.

Definition at line 229 of file ntuple.py.

Constructor & Destructor Documentation

def ntuple._LayerStrAdaptor.__init__ (   self)

Definition at line 231 of file ntuple.py.

232  def __init__(self):
233  super(_LayerStrAdaptor, self).__init__()

Member Function Documentation

def ntuple._LayerStrAdaptor.layerStr (   self)
Returns a string describing the layer of the hit.

Definition at line 234 of file ntuple.py.

References ntuple._Object._checkIsValid(), SeedingNode< TrackingLayer >._index, SeedingNode< DATA >._index, Vispa.Share.FindAlgorithm.FindAlgorithm._index, RPCMuonExtraStruct._index, python.cmstools.EventTree._index, ntuple._Object._index, python.cmstools.EventBranch._index, html.HtmlReport._index, CommonAnalyzer._prefix, ntuple._Object._prefix, ntuple.BeamSpot._prefix, html.PageSet._prefix, ntuple._Collection._tree, python.cmstools.EventTree._tree, ntuple._Object._tree, ntuple.TrackingNtuple._tree, ntuple.Event._tree, and ntuple.BeamSpot._tree.

235  def layerStr(self):
236  """Returns a string describing the layer of the hit."""
237  self._checkIsValid()
238  return "%s%d" % (SubDet.toString(getattr(self._tree, self._prefix+"_det")[self._index]),
239  getattr(self._tree, self._prefix+"_lay")[self._index])