-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme
82 lines (67 loc) · 2.84 KB
/
readme
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
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