CMS 3D CMS Logo

Public Member Functions | Private Attributes | Static Private Attributes

heavyIonTools::SelectionDefaults Class Reference

Inherits FWCore::GuiBrowsers::ConfigToolBase::ConfigToolBase.

List of all members.

Public Member Functions

def __call__
def __init__
def getDefaultParameters
def toolCode

Private Attributes

 _comment
 _parameters

Static Private Attributes

tuple _defaultParameters = dicttypes.SortedKeysDict()
string _label = 'selectionDefaults'

Detailed Description

Configure all relevant selected layer1 candidates for heavy ions

Definition at line 124 of file heavyIonTools.py.


Constructor & Destructor Documentation

def heavyIonTools::SelectionDefaults::__init__ (   self)

Definition at line 131 of file heavyIonTools.py.

00132                       :
00133         ConfigToolBase.__init__(self)        
00134         self._parameters=copy.deepcopy(self._defaultParameters)
00135         self._comment = ""


Member Function Documentation

def heavyIonTools::SelectionDefaults::__call__ (   self,
  process 
)

Definition at line 139 of file heavyIonTools.py.

00140                               :
00141                 
00142         self.apply(process) 
        
def heavyIonTools::SelectionDefaults::getDefaultParameters (   self)

Definition at line 136 of file heavyIonTools.py.

00137                                   :
00138         return self._defaultParameters

def heavyIonTools::SelectionDefaults::toolCode (   self,
  process 
)

Definition at line 143 of file heavyIonTools.py.

00143                                :        
00144         selectedJets = getattr(process, jetCollectionString('selected'))
00145         selectedJets.cut = cms.string('pt > 20.')
00146         selectedMuons = getattr(process, 'selectedPatMuons')
00147         selectedMuons.cut = cms.string('pt > 0. & abs(eta) < 12.')
00148         selectedPhotons = getattr(process, 'selectedPatPhotons')
00149         selectedPhotons.cut = cms.string('pt > 0. & abs(eta) < 12.')
00150         
00151 selectionDefaults=SelectionDefaults()
00152 
00153 

Member Data Documentation

Definition at line 131 of file heavyIonTools.py.

tuple heavyIonTools::SelectionDefaults::_defaultParameters = dicttypes.SortedKeysDict() [static, private]

Definition at line 129 of file heavyIonTools.py.

string heavyIonTools::SelectionDefaults::_label = 'selectionDefaults' [static, private]

Definition at line 128 of file heavyIonTools.py.

Definition at line 131 of file heavyIonTools.py.