CMS 3D CMS Logo

Classes | Macros
SimTracer.h File Reference
#include <iostream>
#include "SimG4Core/Notification/interface/Observer.h"
#include "SimG4Core/Watcher/interface/SimWatcher.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "G4Step.hh"

Go to the source code of this file.

Classes

class  SimTracer
 

Macros

#define OBSERVES(type)   public Observer<const type*>
 
#define UPDATE(type)   void update(const type*) override { std::cout <<"++ signal " #type<<std::endl; }
 

Macro Definition Documentation

#define OBSERVES (   type)    public Observer<const type*>

Definition at line 42 of file SimTracer.h.

#define UPDATE (   type)    void update(const type*) override { std::cout <<"++ signal " #type<<std::endl; }

Definition at line 43 of file SimTracer.h.