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

◆ __init__()

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, dataset, job_number, job_id, job_name, isDA, isMC, applyBOWS, applyEXTRACOND, extraconditions, runboundary, lumilist, intlumi, maxevents, gt, allFromGT, alignmentDB, alignmentTAG, apeDB, apeTAG, bowDB, bowTAG, vertextype, tracktype, refittertype, ttrhtype, applyruncontrol, ptcut, CMSSW_dir, the_dir)

Member Function Documentation

◆ isValidHit()

def ntupleDataFormat.InvalidHit.isValidHit (   self)

Definition at line 849 of file ntupleDataFormat.py.

849  def isValidHit(self):
850  return False
851 

◆ layerStr()

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, datamodel.Object._index, python.cmstools.EventTree._index, python.cmstools.EventBranch._index, html.HtmlReport._index, datamodel.Event._tree, ntupleDataFormat._Collection._tree, ntupleDataFormat._Object._tree, python.cmstools.EventTree._tree, output.OutputTree._tree, and output.FullOutput._tree.

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

◆ bad

ntupleDataFormat.InvalidHit.bad
static

Definition at line 834 of file ntupleDataFormat.py.

◆ inactive

ntupleDataFormat.InvalidHit.inactive
static

Definition at line 833 of file ntupleDataFormat.py.

◆ missing

ntupleDataFormat.InvalidHit.missing
static

Definition at line 832 of file ntupleDataFormat.py.

◆ missing_inner

ntupleDataFormat.InvalidHit.missing_inner
static

Definition at line 835 of file ntupleDataFormat.py.

◆ missing_outer

ntupleDataFormat.InvalidHit.missing_outer
static

Definition at line 836 of file ntupleDataFormat.py.

◆ Type

ntupleDataFormat.InvalidHit.Type
static

Definition at line 831 of file ntupleDataFormat.py.