This is a primitive EDAnalyzer to compare rechits to simhits. The rechit collection is read in through the primary input while the simhit collection is read in as a secondary file. This is technically a bad practice.
Follow these instructions to install:
cmsrel CMSSW_5_3_8_patch2
cd CMSSW_5_3_8_patch2
mkdir Analyzers && cd Analyzers
git clone https://github.com/elliot-hughes/HCALRecoAnalyzer.git
cd HCALRecoAnalyzer
scram b -j8
- Modify the lines in
hcalrecoanalyzer_cfg.py
to specify the correct input and output directories and filenames. cmsRun hcalrecoanalyzer_cfg.py
This analyzer takes two inputs: a GEN-SIM-RAW file and the corresponding RECO file. You can use test/make_reco_cfg.py
to create a RECO file from a GEN-SIM-RAW one.
This analyzer produces two TNtuples in a single ROOT file: one for the simhit collection (s) and one for the rechit collection (r).
- It would be better to produce TTrees with TBranches instead of TNtuples in the output.
- The configuration file,
hcalrecoanalyzer_cfg.py
, should be modified to accommodate command-line arguments. - Pileup is not treated.
Contact tote@physics.rutgers.edu
for more information.