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 828 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 839 of file ntupleDataFormat.py.

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

Member Function Documentation

def ntupleDataFormat.InvalidHit.isValidHit (   self)

Definition at line 848 of file ntupleDataFormat.py.

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

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

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

Member Data Documentation

ntupleDataFormat.InvalidHit.bad
static

Definition at line 833 of file ntupleDataFormat.py.

ntupleDataFormat.InvalidHit.inactive
static

Definition at line 832 of file ntupleDataFormat.py.

ntupleDataFormat.InvalidHit.missing
static

Definition at line 831 of file ntupleDataFormat.py.

ntupleDataFormat.InvalidHit.missing_inner
static

Definition at line 834 of file ntupleDataFormat.py.

ntupleDataFormat.InvalidHit.missing_outer
static

Definition at line 835 of file ntupleDataFormat.py.

ntupleDataFormat.InvalidHit.Type
static

Definition at line 830 of file ntupleDataFormat.py.