Go to the documentation of this file.00001 #ifndef SimG4Core_SaveSimTrack_H
00002 #define SimG4Core_SaveSimTrack_H
00003
00004 #include "SimG4Core/Watcher/interface/SimWatcher.h"
00005 #include "SimG4Core/Notification/interface/Observer.h"
00006 #include "SimG4Core/Notification/interface/BeginOfTrack.h"
00007 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00008
00009 class SaveSimTrack : public SimWatcher,
00010 public Observer<const BeginOfTrack *> {
00011
00012 public:
00013 SaveSimTrack(edm::ParameterSet const & p);
00014 ~SaveSimTrack();
00015 void update(const BeginOfTrack * trk);
00016
00017 private:
00018 int pdgMin, pdgMax;
00019 };
00020
00021 #endif
00022
00023