(file) Return to miscalExample1.cfg CVS log (file) (dir) Up to [CMSSW] / CMSSW / Calibration / EcalCalibAlgos / test

File: [CMSSW] / CMSSW / Calibration / EcalCalibAlgos / test / miscalExample1.cfg (download)
Revision: 1.2, Wed Sep 20 11:24:14 2006 UTC (2 weeks, 5 days ago) by malgeri
Branch: MAIN
CVS Tags: V00-00-03, V00-00-02, HEAD, CMSSW_1_1_0_pre3
Changes since 1.1: +1 -1 lines
names changed

#Example on how to miscalibrate rec hits starting from uncalibrated rechits.


process ProcessOne = {
  #include "FWCore/MessageLogger/data/MessageLogger.cfi"

  service = MessageLogger {
     untracked vstring destinations = {"cout"}
     untracked PSet cout = {
       untracked  PSet default = { untracked int32 limit = 0 }
     }
  }

 #######################################################################################
# input
  # input module. assume root file contains EcalRecHits
  source = PoolSource 
  {
    # Number of events program should run
    untracked vstring fileNames = {
    '/store/unmerged/RelVal/2006/8/13/RelVal090SingleEPt35/GEN-SIM-DIGI-RECO/0005/36425AEE-1D2B-DB11-9742-00304885B014.root',
    '/store/unmerged/RelVal/2006/8/13/RelVal090SingleEPt35/GEN-SIM-DIGI-RECO/0005/C0944C24-1E2B-DB11-9A57-003048562896.root'
    }
    untracked int32 maxEvents = -1
  }

 #######################################################################################
include "RecoLocalCalo/EcalRecProducers/data/ecalLocalRecoSequence.cff"

    es_source = CaloMiscalibTools{
	untracked string fileNameBarrel = "miscalib_barrel_0.05.xml"
	}
    es_prefer = CaloMiscalibTools{}


include "RecoEcal/EgammaClusterProducers/data/ecalClusteringSequence.cff"  

  module out = PoolOutputModule 
   {	
	untracked vstring outputCommands = 
	  {
	    "keep *"
	  }
     untracked string fileName = 'tbhits.root'
   }


  # analysis module for HV Scan
  module testMiscalibration = miscalibExample 
  {

   untracked string rootfile = "miscalibExample1.root"
   string correctedHybridSuperClusterProducer = "correctedHybridSuperClusters"
   string correctedHybridSuperClusterCollection = ""
   
  }

 path p = {ecalLocalRecoSequence, ecalClusteringSequence, testMiscalibration }
  endpath ep = { out }
}


cvsadmin@cmscvs.cern.ch

cvsadmin@cmscvs.cern.ch