Skip to content

A simple CMSSW EDAnalyzer for checking reconstructed hits in the HCAL

Notifications You must be signed in to change notification settings

elliot-hughes/HCALRecoAnalyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

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.

Installation

Follow these instructions to install:

  1. cmsrel CMSSW_5_3_8_patch2
  2. cd CMSSW_5_3_8_patch2
  3. mkdir Analyzers && cd Analyzers
  4. git clone https://github.com/elliot-hughes/HCALRecoAnalyzer.git
  5. cd HCALRecoAnalyzer
  6. scram b -j8
  7. Modify the lines in hcalrecoanalyzer_cfg.py to specify the correct input and output directories and filenames.
  8. cmsRun hcalrecoanalyzer_cfg.py

Usage

Input

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.

Output

This analyzer produces two TNtuples in a single ROOT file: one for the simhit collection (s) and one for the rechit collection (r).

Known Issues

  1. It would be better to produce TTrees with TBranches instead of TNtuples in the output.
  2. The configuration file, hcalrecoanalyzer_cfg.py, should be modified to accommodate command-line arguments.
  3. Pileup is not treated.

Contact

Contact tote@physics.rutgers.edu for more information.

About

A simple CMSSW EDAnalyzer for checking reconstructed hits in the HCAL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published