-
Notifications
You must be signed in to change notification settings - Fork 51
Home
The current development branch is miniAOD_74X, and is intended to be used in CMSSW_7_4_7.
Steering of the canidate building code is controlled by a single .py file, AnalysisStep/test/MasterPy/ZZ4lAnalysis.py, which contains all cuts and selection criteria. This .py produces a transient collection of CompositeCandidates, which contains ZZ candidates passing the full selection, with additional information attached as userFloats.
Information from this collection can be collected with standard CMSSW analysis modules, either to fill histograms directly or to fill trees with more compact information. A simple tree builder is implemented in AnalysisStep/test/Ntuplizers/HZZ4lNtupleMaker.cc.
In order to run synchronization as described in the sync wiki page, the file AnalysisStep/test/analyzer_7XSync.py can be run interactively. This produces one tree (ZZ4lAnalysis.root). The script AnalysisStep/test/synchronizer.py runs on the tree and produces the synchronization file. A second script synchronizerCR.py
produces sync files for CRs (DY sync samples should be selected, and filling of CRs must be activated in analyzer_7XSync.py for this purpose).
Note that categorization is computed by the script based on the information stored in the tree. This is based on the code in AnalysisStep/interface/Category.h. Please check synchronizerCR.py
to see how it is called.
A list of samples to be processed is maintained in the file AnalysisStep/test/prod/PRODUCTION.md.
Starting from this list, some scripts are available to process all samples on the CERN batch system here.