CMS 3D CMS Logo

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

Public Member Functions

def __init__ (self, tree, index)
 
def isValidHit (self)
 
def monoHit (self)
 
def nseeds (self)
 
def seeds (self)
 
def stereoHit (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)
 

Detailed Description

Class representing a matched strip hit.

Definition at line 781 of file ntupleDataFormat.py.

Constructor & Destructor Documentation

◆ __init__()

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

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

Definition at line 783 of file ntupleDataFormat.py.

783  def __init__(self, tree, index):
784  """Constructor.
785 
786  Arguments:
787  tree -- TTree object
788  index -- Index of the hit
789  """
790  super(GluedHit, self).__init__(tree, index, "glu")
791 

Member Function Documentation

◆ isValidHit()

def ntupleDataFormat.GluedHit.isValidHit (   self)

Definition at line 792 of file ntupleDataFormat.py.

792  def isValidHit(self):
793  return True
794 

◆ monoHit()

def ntupleDataFormat.GluedHit.monoHit (   self)
Returns a StripHit for the mono hit.

Definition at line 795 of file ntupleDataFormat.py.

795  def monoHit(self):
796  """Returns a StripHit for the mono hit."""
797  self._checkIsValid()
798  return StripHit(self._tree, self._tree.glu_monoIdx[self._index])
799 

References ntupleDataFormat._Object._checkIsValid(), SeedingNode< DATA >._index, RPCMuonExtraStruct._index, ntupleDataFormat._Object._index, python.cmstools.EventTree._index, python.cmstools.EventBranch._index, html.HtmlReport._index, ntupleDataFormat._Collection._tree, ntupleDataFormat._Object._tree, and python.cmstools.EventTree._tree.

◆ nseeds()

def ntupleDataFormat.GluedHit.nseeds (   self)
Returns the number of seeds containing this hit.

Definition at line 805 of file ntupleDataFormat.py.

805  def nseeds(self):
806  """Returns the number of seeds containing this hit."""
807  self._checkIsValid()
808  return self._tree.glu_seeIdx[self._index].size()
809 

References ntupleDataFormat._Object._checkIsValid(), SeedingNode< DATA >._index, RPCMuonExtraStruct._index, ntupleDataFormat._Object._index, python.cmstools.EventTree._index, python.cmstools.EventBranch._index, html.HtmlReport._index, ntupleDataFormat._Collection._tree, ntupleDataFormat._Object._tree, python.cmstools.EventTree._tree, and findQualityFiles.size.

◆ seeds()

def ntupleDataFormat.GluedHit.seeds (   self)
Returns generator for seeds containing this hit.

The generator returns Seed objects

Definition at line 810 of file ntupleDataFormat.py.

810  def seeds(self):
811  """Returns generator for seeds containing this hit.
812 
813  The generator returns Seed objects
814  """
815  self._checkIsValid()
816  for iseed in self._tree.glu_seeIdx[self._index]:
817  yield Seed(self._tree, iseed)
818 

References ntupleDataFormat._Object._checkIsValid(), SeedingNode< DATA >._index, RPCMuonExtraStruct._index, ntupleDataFormat._Object._index, python.cmstools.EventTree._index, python.cmstools.EventBranch._index, html.HtmlReport._index, ntupleDataFormat._Collection._tree, ntupleDataFormat._Object._tree, and python.cmstools.EventTree._tree.

◆ stereoHit()

def ntupleDataFormat.GluedHit.stereoHit (   self)
Returns a StripHit for the stereo hit.

Definition at line 800 of file ntupleDataFormat.py.

800  def stereoHit(self):
801  """Returns a StripHit for the stereo hit."""
802  self._checkIsValid()
803  return StripHit(self._tree, self._tree.glu_stereoIdx[self._index])
804 

References ntupleDataFormat._Object._checkIsValid(), SeedingNode< DATA >._index, RPCMuonExtraStruct._index, ntupleDataFormat._Object._index, python.cmstools.EventTree._index, python.cmstools.EventBranch._index, html.HtmlReport._index, ntupleDataFormat._Collection._tree, ntupleDataFormat._Object._tree, and python.cmstools.EventTree._tree.

InitialStep_cff.seeds
seeds
Definition: InitialStep_cff.py:232
findQualityFiles.size
size
Write out results.
Definition: findQualityFiles.py:443