CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Attributes
ntupleDataFormat.InvalidHit Class Reference
Inheritance diagram for ntupleDataFormat.InvalidHit:
ntupleDataFormat._Object ntupleDataFormat._DetIdStrAdaptor

Public Member Functions

def __init__ (self, tree, index)
 
def isValidHit (self)
 
def layerStr (self)
 
- Public Member Functions inherited from ntupleDataFormat._Object
def __getattr__ (self, attr)
 
def __init__ (self, tree, index, prefix)
 
def index (self)
 
def isValid (self)
 
- Public Member Functions inherited from ntupleDataFormat._DetIdStrAdaptor
def __init__ (self)
 
def detIdStr (self)
 
def layerStr (self)
 

Static Public Attributes

 bad
 
 inactive
 
 missing
 
 missing_inner
 
 missing_outer
 
 Type
 

Detailed Description

Definition at line 787 of file ntupleDataFormat.py.

Constructor & Destructor Documentation

def ntupleDataFormat.InvalidHit.__init__ (   self,
  tree,
  index 
)
Constructor.

Arguments:
tree  -- TTree object
index -- Index of the hit

Definition at line 798 of file ntupleDataFormat.py.

798  def __init__(self, tree, index):
799  """Constructor.
800 
801  Arguments:
802  tree -- TTree object
803  index -- Index of the hit
804  """
805  super(InvalidHit, self).__init__(tree, index, "inv")
806 
def __init__(self, tree, index)

Member Function Documentation

def ntupleDataFormat.InvalidHit.isValidHit (   self)

Definition at line 807 of file ntupleDataFormat.py.

807  def isValidHit(self):
808  return False
809 
def ntupleDataFormat.InvalidHit.layerStr (   self)
Returns a string describing the layer of the hit.

Definition at line 810 of file ntupleDataFormat.py.

References SeedingNode< DATA >._index, Vispa.Share.FindAlgorithm.FindAlgorithm._index, RPCMuonExtraStruct._index, ntupleDataFormat._Object._index, python.cmstools.EventTree._index, python.cmstools.EventBranch._index, and html.HtmlReport._index.

810  def layerStr(self):
811  """Returns a string describing the layer of the hit."""
812  invalid_type = self._tree.inv_type[self._index]
813  return super(InvalidHit, self).layerStr() + " (%s)"%InvalidHit.Type.toString(invalid_type)
814 

Member Data Documentation

ntupleDataFormat.InvalidHit.bad
static

Definition at line 792 of file ntupleDataFormat.py.

ntupleDataFormat.InvalidHit.inactive
static

Definition at line 791 of file ntupleDataFormat.py.

ntupleDataFormat.InvalidHit.missing
static

Definition at line 790 of file ntupleDataFormat.py.

ntupleDataFormat.InvalidHit.missing_inner
static

Definition at line 793 of file ntupleDataFormat.py.

ntupleDataFormat.InvalidHit.missing_outer
static

Definition at line 794 of file ntupleDataFormat.py.

ntupleDataFormat.InvalidHit.Type
static

Definition at line 789 of file ntupleDataFormat.py.