Skip to content

aknayak/anayak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 

Repository files navigation

How to use the code :

#Tags  for CMSSW_53X
#MET correction for PFMET
addpkg JetMETCorrections/Type1MET V04-06-09
addpkg PhysicsTools/PatUtils V03-09-23
addpkg CommonTools/RecoUtils V00-00-13
addpkg CommonTools/ParticleFlow V00-03-16                              
addpkg CommonTools/RecoAlgos V00-03-23      
#addpkg CommonTools/RecoUtils V00-00-13
addpkg PhysicsTools/PatAlgos V08-09-23      
#addpkg PhysicsTools/PatUtils V03-09-23      
addpkg DataFormats/ParticleFlowCandidate V15-03-03
addpkg DataFormats/TrackReco V10-02-02      
addpkg DataFormats/VertexReco V02-00-04      
addpkg DataFormats/StdDictionaries V00-02-14 

#Pileup JetID
cvs co -r V00-02-10 -d CMGTools/External UserCode/CMG/CMGTools/External

#TTBar Kinematic Fitter
cvs co AnalysisDataFormats/TopObjects
cvs co TopQuarkAnalysis/TopJetCombination
cvs co TopQuarkAnalysis/TopKinFitter
cvs co TopQuarkAnalysis/TopObjectResolutions

################################################
cmsrel CMSSW_X_X_X
cd CMSSW_X_X_X/src
cmsenv

#checkout MiniTree package using the command
cvs co -d MiniTree UserCode/anayak/MiniTree

#For CMSSW_4_2_X : (use CMSSW_4_2_8_patch7) 
#check out additional packages

cvs co -r 1.47 RecoTauTag/tau_tags.txt
addpkg -f RecoTauTag/tau_tags.txt
cvs co -r benitezj_22july2011       CommonTools/ParticleFlow
cvs co -r CMSSW_4_2_8_patch7 PhysicsTools/MVAComputer
cvs up -r 1.3 PhysicsTools/MVAComputer/interface/MVAModuleHelper.h
cvs co -r V08-06-38 PhysicsTools/PatAlgos
cvs up -r 1.47 PhysicsTools/PatAlgos/python/tools/tauTools.py
cvs up -r 1.5 PhysicsTools/PatAlgos/plugins/PATSingleVertexSelector.cc
cvs up -r 1.5 PhysicsTools/PatAlgos/plugins/PATSingleVertexSelector.h
cvs co -r V08-03-12 PhysicsTools/Utilities
cvs co -r CMSSW_4_2_8_patch7 DataFormats/PatCandidates
cvs up -r 1.32 DataFormats/PatCandidates/interface/Tau.h
cvs up -r 1.3 DataFormats/PatCandidates/interface/TauCaloSpecific.h
cvs up -r 1.7 DataFormats/PatCandidates/interface/TauPFSpecific.h
cvs up -r 1.21 DataFormats/PatCandidates/src/Tau.cc
cvs up -r 1.3 DataFormats/PatCandidates/src/TauCaloSpecific.cc
cvs up -r 1.6 DataFormats/PatCandidates/src/TauPFSpecific.cc
cvs co -r 1.1 DataFormats/PatCandidates/interface/TauJetCorrFactors.h
cvs co -r 1.1 DataFormats/PatCandidates/src/TauJetCorrFactors.cc
cvs up -r 1.60 DataFormats/PatCandidates/src/classes.h
cvs up -r 1.70 DataFormats/PatCandidates/src/classes_def.xml


#Then compile 
scramv1 b -r -j 4 

#To run the code :
cd MiniTree/Selection/test
cmsenv
#to run over data sample
cmsRun myselectionDataLocal_cfg.py
#OR to run over MC sample
cmsRun myselectionMCLocal_cfg.py

#input file need to be changed 

==================================================================
#To do the offline analysis an example code is available.
#check out the code using

cvs co -d ExampleAnalysis UserCode/anayak/ExampleAnalysis 

#This is outside of CMSSW. 
#To use the code check ExampleAnalysis/readme

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages