Skip to content

Commit

Permalink
Persist SimTauDecayCaloParticle in the event
Browse files Browse the repository at this point in the history
  • Loading branch information
agrubercms committed Nov 20, 2023
1 parent 963f83e commit ddccab9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class SimTauDecayCaloParticle {
public:

SimTauDecayCaloParticle(){};

~SimTauDecayCaloParticle(){};
struct DecayNav {
int pdgId;
int resonance_idx;
Expand Down
1 change: 1 addition & 0 deletions SimDataFormats/CaloAnalysis/src/classes.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@
#include "SimDataFormats/CaloAnalysis/interface/MtdSimTrackster.h"
#include "SimDataFormats/CaloAnalysis/interface/MtdSimTracksterFwd.h"
#include "SimDataFormats/CaloAnalysis/interface/SimTauDecayCaloParticle.h"
#include "DataFormats/Common/interface/Wrapper.h"
2 changes: 1 addition & 1 deletion SimGeneral/Debugging/plugins/SimTauProducer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include "FWCore/ServiceRegistry/interface/Service.h"
#include "CommonTools/UtilAlgos/interface/TFileService.h"

#define DEBUG 0
#define DEBUG 1

/*struct TauDecay {
struct DecayNav {
Expand Down
5 changes: 3 additions & 2 deletions SimGeneral/Debugging/test/simTauDecayDump_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@
process.out = cms.OutputModule("PoolOutputModule",
fileName = cms.untracked.string('file:SimTauProducer_test.root')
,outputCommands = cms.untracked.vstring('drop *',
"keep *SimTau*"
)
'keep *SimTau*_*_*_*'
)
)

process.p = cms.Path(process.SimTauProducer)
process.e = cms.EndPath(process.out)

0 comments on commit ddccab9

Please sign in to comment.