################################################################################################################################## Code developed by: Andres Florez (Los Andes), Alfredo Gurrola (Vanderbilt), Amandeep Kalsi (Panjab), and Andrew Johnson (Colorado) ##################################################################################################################################
The recipe is to install the code at LPC/ACCRE. Therefore, to install the code elsewere, you'd need to make the necessary changes.
In order to use the code you need to follow carefully these steps:
#####################################################################
#####################################################################
-
You need to work at the SLC6 area.
-
set the CMSSW release: cmsrel CMSSW_7_4_4
-
cd CMSSW_7_4_4/src
-
cmsenv
-
Install and compile the code to use the PAT-electron ID:
5.1 git cms-merge-topic ikrav:egm_id_74X_v0
5.2 scram b -j 10
- Get the NTupleMaker code and compile it:
6.1 git clone https://github.com/florez/NtupleMaker_740
6.2 mv NtupleMaker_740 NtupleMaker
6.3 scram b -j 10
- Get the Analyzer code and compile it (code that performs the analysis and produces histograms):
7.1 git clone https://github.com/gurrola/Analyzer
7.2 scram b -j 10
- cd into the appropriate NtupleMaker directory to start running the code:
8.1 cd NtupleMaker/BSM3G_TNT_Maker/python
- Run the NtupleMaker code. In the python directory, there is file called miniAOD_*.py
(name specifies which file is appropriate)
9.1 cmsRun miniAOD_747_50ns.py
- cd into the appropriate Analyzer directory to start running the code:
10.1 cd Analyzer/BSM3G_TNT_MainAnalyzer/
- Copy the Ntuple root file from step 9 (or some previously produced Ntuple) and compile the code:
11.1 cp $CMSSW_BASE/src/NtupleMaker/BSM3G_TNT_Maker/python/OutTree.root .
11.2 make clean
11.3 make BSM3GAnalyzer
- Run the analyzer code and inspect the output root file:
12.1 ./BSM3GAnalyzer OutTree.root analysis.root
12.2 root -l analysis.root
- To run over multiple Ntuple files at LPC using CONDOR, please go to this link and follow the instructions:
https://github.com/florez/CONDOR
Please make sure to read carefully the scripts to understand how to configure the code.
#####################################################################
#####################################################################
-
You need to work at the SLC6 area.
-
set the CMSSW release: cmsrel CMSSW_7_4_7
-
cd CMSSW_7_4_7/src
-
cmsenv
-
Install and compile the code to use the PAT-electron ID:
5.1 git cms-merge-topic ikrav:egm_id_747_v2
5.2 scram b -j 10
- Get the NTupleMaker code and compile it:
6.1 git clone https://github.com/florez/NtupleMaker_740
6.2 mv NtupleMaker_740 NtupleMaker
6.3 scram b -j 10
- Get the Analyzer code and compile it (code that performs the analysis and produces histograms):
7.1 git clone https://github.com/gurrola/Analyzer
7.2 scram b -j 10
- cd into the appropriate NtupleMaker directory to start running the code:
8.1 cd NtupleMaker/BSM3G_TNT_Maker/python
- Run the NtupleMaker code. In the python directory, there is file called miniAOD_*.py
(name specifies which file is appropriate)
9.1 cmsRun miniAOD_747_50ns.py
- cd into the appropriate Analyzer directory to start running the code:
10.1 cd Analyzer/BSM3G_TNT_MainAnalyzer/
- Copy the Ntuple root file from step 9 (or some previously produced Ntuple) and compile the code:
11.1 cp $CMSSW_BASE/src/NtupleMaker/BSM3G_TNT_Maker/python/OutTree.root .
11.2 make clean
11.3 make BSM3GAnalyzer
- Run the analyzer code and inspect the output root file:
12.1 ./BSM3GAnalyzer OutTree.root analysis.root
12.2 root -l analysis.root
- To run over multiple Ntuple files at LPC using CONDOR, please go to this link and follow the instructions:
https://github.com/florez/CONDOR
Please make sure to read carefully the scripts to understand how to configure the code.
#####################################################################
#####################################################################
-
You need to work at the SLC6 area.
-
set the CMSSW release: cmsrel CMSSW_7_4_15
-
cd CMSSW_7_4_15/src
-
cmsenv
-
Install and compile the code to use the PAT-electron ID:
5.1 git cms-merge-topic ikrav:egm_id_7.4.12_v1
5.2 scram b -j 10
- Install and compile the code to use the MET producers (for covariance matrix):
6.1 git cms-addpkg RecoMET/METProducers
6.2 scram b -j 10
- Get the NTupleMaker code and compile it:
7.1 git clone https://github.com/florez/NtupleMaker_740
7.2 cd NtupleMaker_740
7.3 git checkout miniAODv2_ForHiggsDalitz
7.4 cd ./..
7.5 mv NtupleMaker_740 NtupleMaker
7.6 scram b -j 10
- Get the Analyzer code and compile it (code that performs the analysis and produces histograms):
8.1 git clone https://github.com/gurrola/Analyzer
8.2 cd Analyzer
8.3 git checkout forMiniAODv2_12142015
8.4 cd ./..
8.5 scram b -j 10
- cd into the appropriate NtupleMaker directory to start running the code:
9.1 cd NtupleMaker/BSM3G_TNT_Maker/python
- Run the NtupleMaker code. In the python directory, there is file called miniAODv2_7415_*.py
(name specifies which file is appropriate)
10.1 cmsRun miniAODv2_7415_25ns_MC.py
- cd into the appropriate Analyzer directory to start running the code:
11.1 cd Analyzer/BSM3G_TNT_MainAnalyzer/
- Copy the Ntuple root file from step 10 (or some previously produced Ntuple) and compile the code:
12.1 cp $CMSSW_BASE/src/NtupleMaker/BSM3G_TNT_Maker/python/OutTree.root .
12.2 make clean
12.3 make BSM3GAnalyzer
- Run the analyzer code and inspect the output root file:
13.1 ./BSM3GAnalyzer OutTree.root analysis.root
13.2 root -l analysis.root
- To run over multiple Ntuple files at LPC using CONDOR, please go to this link and follow the instructions:
https://github.com/florez/CONDOR
Please make sure to read carefully the scripts to understand how to configure the code.