Skip to content

Commit

Permalink
Update the analyzer code and scripts for 2023 July HGCal Test Beam
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunanda committed Oct 4, 2023
1 parent b714992 commit cbc4e76
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions SimG4CMS/HGCalTestBeam/plugins/HGCalTB23Analyzer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ class HGCalTB23Analyzer : public edm::one::EDAnalyzer<edm::one::WatchRuns, edm::
const std::string detectorEE_, detectorFH_;
const std::string detectorBH_, detectorBeam_;
const double zFrontEE_, zFrontFH_, zFrontBH_;
const int sampleIndex_;
const double gev2mip200_, gev2mip300_, stoc_smear_time_200_, stoc_smear_time_300_;
std::vector<int> idBeams_;
const edm::InputTag labelGen_;
Expand Down Expand Up @@ -150,7 +149,6 @@ HGCalTB23Analyzer::HGCalTB23Analyzer(const edm::ParameterSet& iConfig)
zFrontEE_(iConfig.getParameter<double>("zFrontEE")),
zFrontFH_(iConfig.getParameter<double>("zFrontFH")),
zFrontBH_(iConfig.getParameter<double>("zFrontBH")),
sampleIndex_(iConfig.getParameter<int>("sampleIndex")),
gev2mip200_(iConfig.getUntrackedParameter<double>("gev2mip200", 57.0e-6)),
gev2mip300_(iConfig.getUntrackedParameter<double>("gev2mip300", 85.5e-6)),
stoc_smear_time_200_(iConfig.getUntrackedParameter<double>("stoc_smear_time_200", 10.24)),
Expand Down
6 changes: 3 additions & 3 deletions SimG4CMS/HGCalTestBeam/test/HGCalTB230Jul_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
process.load('Configuration.StandardSequences.SimIdeal_cff')
process.load('Configuration.StandardSequences.EndOfProcess_cff')
process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
#process.load('SimG4CMS.HGCalTestBeam.HGCalTB23Analyzer_cfi')
process.load('SimG4CMS.HGCalTestBeam.HGCalTB23Analyzer_cfi')

process.maxEvents = cms.untracked.PSet(
input = cms.untracked.int32(10)
Expand Down Expand Up @@ -99,14 +99,14 @@
process.generation_step = cms.Path(process.pgen)
process.simulation_step = cms.Path(process.psim)
process.genfiltersummary_step = cms.EndPath(process.genFilterSummary)
#process.analysis_step = cms.Path(process.HGCalTBAnalyzer)
process.analysis_step = cms.Path(process.HGCalTB23Analyzer)
process.endjob_step = cms.EndPath(process.endOfProcess)
process.RAWSIMoutput_step = cms.EndPath(process.RAWSIMoutput)

# Schedule definition
process.schedule = cms.Schedule(process.generation_step,
process.simulation_step,
# process.analysis_step,
process.analysis_step,
process.endjob_step,
process.RAWSIMoutput_step,
)
Expand Down

0 comments on commit cbc4e76

Please sign in to comment.