CMS 3D CMS Logo

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

Go to the source code of this file.

Classes

class  SimTracer
 

Macros

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

Macro Definition Documentation

◆ OBSERVES

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

Definition at line 42 of file SimTracer.h.

◆ UPDATE

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

Definition at line 45 of file SimTracer.h.