ggNtuplesAnalyzer @ Farm/Fermis
# Environment
#to set up CMSSW before running cmsenv or scram. bash mode
export SCRAM_ARCH=slc6_amd64_gcc530
export VO_CMS_SW_DIR=/cvmfs/cms.cern.ch
source $VO_CMS_SW_DIR/cmsset_default.sh
export CMS_PATH=$VO_CMS_SW_DIR
export CVSROOT=martinsg@cmscvs.cern.ch:/local/reps/CMSSW
export CVS_RSH=ssh-bash-4.1$ setenv SCRAM_ARCH slc5_amd64_gcc530
cmsrel CMSSW_8_0_26_patch1
cd CMSSW_8_0_26_patch1/src
cmsenv
git clone https://github.com/elizamelo/EstagiodeVerao2018.git
cd EstagiodeVerao2018/ggNtuplesAnalyzer/
./run_ana_ggNtuplesAnalyzer.sh
This will select dimuon pairs:
- event pass HLT_IsoMu24 HLT Path or one can change for HLT_Mu17_Photon30_CaloIdL_L1ISO
- leading (tight) muon: pt > 27.0 and |eta| < 2.4
- trailing (tight) muon: pt > 2.0 and |eta| < 2.4
- muons with opposite charge
Histograms files can be found at:
ls -lha outputFiles
Load root:
root -l outputFiles/histos_ggNtuplesAnalyzer.root
Inside root:
((TH1D*)_file0->Get("h_DiMuon_Mass"))->Draw()
Load root:
root -l fit.C++