CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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__
 
def isValidHit
 
def layerStr
 
- Public Member Functions inherited from ntupleDataFormat._Object
def __getattr__
 
def __init__
 
def index
 
def isValid
 
- Public Member Functions inherited from ntupleDataFormat._DetIdStrAdaptor
def __init__
 
def detIdStr
 
def layerStr
 

Static Public Attributes

tuple 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.

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

Member Function Documentation

def ntupleDataFormat.InvalidHit.isValidHit (   self)

Definition at line 849 of file ntupleDataFormat.py.

850  def isValidHit(self):
851  return False
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, lhef::H5Handler._index, RPCMuonExtraStruct._index, ntupleDataFormat._Object._index, python.cmstools.EventTree._index, python.cmstools.EventBranch._index, and html.HtmlReport._index.

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

Member Data Documentation

tuple ntupleDataFormat.InvalidHit.Type
static
Initial value:
1 = _Enum(
2  missing = 1,
3  inactive = 2,
4  bad = 3,
5  missing_inner = 4,
6  missing_outer = 5
7  )

Definition at line 831 of file ntupleDataFormat.py.