CMS 3D CMS Logo

Public Member Functions | Private Attributes | Static Private Attributes

heavyIonTools::DisbaleMonteCarloDeps 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 = 'disableMonteCarloDeps'

Detailed Description

Cut off all MC dependencies

Definition at line 154 of file heavyIonTools.py.


Constructor & Destructor Documentation

def heavyIonTools::DisbaleMonteCarloDeps::__init__ (   self)

Definition at line 161 of file heavyIonTools.py.

00162                       :
00163         ConfigToolBase.__init__(self)        
00164         self._parameters=copy.deepcopy(self._defaultParameters)
00165         self._comment = ""


Member Function Documentation

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

Definition at line 169 of file heavyIonTools.py.

00170                               :
00171                 
00172         self.apply(process) 
        
def heavyIonTools::DisbaleMonteCarloDeps::getDefaultParameters (   self)

Definition at line 166 of file heavyIonTools.py.

00167                                   :
00168         return self._defaultParameters

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

Definition at line 173 of file heavyIonTools.py.

00174                                :
00175         ## switch MC to false in heavyIon Producer
00176         process.heavyIon.doMC = False
00177         
00178         ## remove MC matching from heavyIonJets
00179         process.makeHeavyIonJets.remove(process.genPartons)
00180         process.makeHeavyIonJets.remove(process.heavyIonCleanedGenJets)
00181         process.makeHeavyIonJets.remove(process.hiPartons)
00182         process.makeHeavyIonJets.remove(process.patJetGenJetMatch)
00183         process.makeHeavyIonJets.remove(process.patJetPartonMatch)
00184         
00185         process.patJets.addGenPartonMatch   = False
00186         process.patJets.embedGenPartonMatch = False
00187         process.patJets.genPartonMatch      = ''
00188         process.patJets.addGenJetMatch      = False
00189         process.patJets.genJetMatch           = ''
00190         process.patJets.getJetMCFlavour     = False
00191         process.patJets.JetPartonMapSource  = ''
00192 
00193         ## remove MC matching from heavyIonMuons        
00194         process.makeHeavyIonMuons.remove(process.muonMatch)
00195         
00196         process.patMuons.addGenMatch        = False
00197         process.patMuons.embedGenMatch      = False
00198         
00199 disableMonteCarloDeps=DisbaleMonteCarloDeps()       

Member Data Documentation

Definition at line 161 of file heavyIonTools.py.

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

Definition at line 159 of file heavyIonTools.py.

string heavyIonTools::DisbaleMonteCarloDeps::_label = 'disableMonteCarloDeps' [static, private]

Definition at line 158 of file heavyIonTools.py.

Definition at line 161 of file heavyIonTools.py.