HiggsToZZ4Leptons Package

To work in CMSSW 3.7.0

Compile
Here is a list of the things that I had to do to get the package to run in 3.7.0

HiggsAnalysis/HiggsToZZ4Leptons/plugins/HZZ4LeptonsCP.h Change

#include "FWCore/ParameterSet/interface/InputTag.h"
to
#include "FWCore/Utilities/interface/InputTag.h"

Actually all you have to do is change this line where ever it is in the package (you can easily do this with sed, which I did) and the whole thing compiles nicely.

Run
HiggsToZZPreselection_2e2mu.py Running cmsRun HiggsToZZPreselection_2e2mu.py gives the following error

%MSG-s CMSException:  AfterSourceConstruction 03-Jun-2010 20:54:42 CEST  pre-events
cms::Exception caught in cmsRun
---- Configuration BEGIN
Error occurred while creating module.
EgammaSuperClusterMerger with label mergedSuperClusters is of type EDProducer, but declared in the configuration as EDFilter.
Please replace EDFilter with EDProducer in the appropriate configuration file(s).
---- Configuration END


%MSG
So I change the line
process.mergedSuperClusters = cms.EDFilter("EgammaSuperClusterMerger",
to
process.mergedSuperClusters = cms.EDProducer("EgammaSuperClusterMerger",

After that I got the error

%MSG-s CMSException:  AfterModConstruction 03-Jun-2010 21:01:21 CEST pre-events
cms::Exception caught in cmsRun
---- Configuration BEGIN
Error occurred while creating module.
HZZ4LeptonsCommonRootTree with label hTozzTo4leptonsCommonRootTreePresel is of type EDAnalyzer, but declared in the configuration as EDProducer.
Please replace EDProducer with EDAnalyzer in the appropriate configuration file(s).
---- Configuration END


%MSG
So again I just changed the offending line in python/hTozzTo4leptonsCommonRootTree_cfi.py

After I fixed that I got


%MSG-s CMSException:  AfterFile 05-Jun-2010 00:51:13 CEST PostEndRun
cms::Exception caught in cmsRun
---- EventProcessorFailure BEGIN
EventProcessingStopped
---- ScheduleExecutionFailure BEGIN
ProcessingStopped
---- ProductNotFound BEGIN
getByLabel: Found zero products matching all criteria
Looking for type: std::vector<reco::SuperCluster>
Looking for module label: correctedHybridSuperClusters
Looking for productInstanceName: 

cms::Exception going through module EgammaSuperClusterMerger/mergedSuperClusters run: 1 lumi: 1 event: 1
If you wish to continue processing events after a ProductNotFound exception,
add "SkipEvent = cms.untracked.vstring('ProductNotFound')" to the "options" PSet in the configuration.
---- ProductNotFound END
Exception going through path hTozzTo4leptonsSelectionPath
---- ScheduleExecutionFailure END
an exception occurred during current event processing
cms::Exception caught in EventProcessor and rethrown
---- EventProcessorFailure END


%MSG

python/hTozzTo4leptonsMCDumper_cfi.py Filter to Producer

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2010-06-05 - MatthewKress
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback