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 829 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 840 of file ntupleDataFormat.py.

840  def __init__(self, tree, index):
841  """Constructor.
842 
843  Arguments:
844  tree -- TTree object
845  index -- Index of the hit
846  """
847  super(InvalidHit, self).__init__(tree, index, "inv")
848 
def __init__(self, tree, index)

Member Function Documentation

def ntupleDataFormat.InvalidHit.isValidHit (   self)

Definition at line 849 of file ntupleDataFormat.py.

849  def isValidHit(self):
850  return False
851 
def ntupleDataFormat.InvalidHit.layerStr (   self)
Returns a string describing the layer of the hit.

Definition at line 852 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.

852  def layerStr(self):
853  """Returns a string describing the layer of the hit."""
854  invalid_type = self._tree.inv_type[self._index]
855  return super(InvalidHit, self).layerStr() + " (%s)"%InvalidHit.Type.toString(invalid_type)
856 

Member Data Documentation

ntupleDataFormat.InvalidHit.bad
static

Definition at line 834 of file ntupleDataFormat.py.

ntupleDataFormat.InvalidHit.inactive
static

Definition at line 833 of file ntupleDataFormat.py.

ntupleDataFormat.InvalidHit.missing
static

Definition at line 832 of file ntupleDataFormat.py.

ntupleDataFormat.InvalidHit.missing_inner
static

Definition at line 835 of file ntupleDataFormat.py.

ntupleDataFormat.InvalidHit.missing_outer
static

Definition at line 836 of file ntupleDataFormat.py.

ntupleDataFormat.InvalidHit.Type
static

Definition at line 831 of file ntupleDataFormat.py.