Saturday, June 23, 2007

Ricetta per la catena completa con i plugins

Tutta la catena completa e' ora funzionante con i plugin e il nuovo setup per la Likelihood.
La ricetta e':

1) create the working area
> scramv1 project -n HtoWW131 CMSSW CMSSW_1_3_1

2) setup environment
> cd HtoWW131/src/
> eval `scramv1 ru -csh`
> project CMSSW

3) checkout some cfg to patch
> cvs co RecoMET/METProducers/test/CaloCandidatesFromDigis.cfi
> cvs co Configuration/StandardSequences/data/Reconstruction.cff
> cp ~emanuele/public/patches/1_3_1/CaloCandidatesFromDigis.cfi RecoMET/METProducers/test/CaloCandidatesFromDigis.cfi
> cp ~emanuele/public/patches/1_3_1/Reconstruction.cff Configuration/StandardSequences/data/Reconstruction.cff

4) setup CVSROOT to Pietro repository and checkout the package:
> source ~emanuele/public/cvs_setup_htoww.csh
> cvs co -P HtoWWElectrons
> cvs co -r V01-00 PhysicsTools
> cvs co -r V01-00 DataFormats
> cvs co -r V01-00 RecoEcal

6) build cmsRun
scramv1 b

7) run it:
> cmsRun HtoWWElectrons/HtoWWTreeDumper/test/hToWWAnalysisPlugins.cfg

this will produce the tree "default.root" in the current dir (and also some monitoring ROOT files with histograms)

8) If you want to do an extensive production use "run.pl" tool:
http://welectrons.blogspot.com/2007/05/script-to-do-batch-production.html

---> ElectronID: in the hToWWAnalysisPlugins.cfg the electron ID by cuts is OFF.
To turn on it, just change:

InputTag src = ambSolving
# InputTag src = eleIdentifying

in

# InputTag src = ambSolving
InputTag src = eleIdentifying

in the HtoWWEleCloner module. This will pass to the dumper the cut-ID electron
candidate collection (NB: in this way the likelihood is very biased)

This is preliminary. The aim is to have the mapped electron collection
with different algo (cut/LH) and purities.



emanuele & pietro

No comments: