test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DDDWorldObserver.h
Go to the documentation of this file.
1 #ifndef SimG4Core_DDDWorldObserver_H
2 #define SimG4Core_DDDWorldObserver_H
3 
6 
7 #include <iostream>
8 
9 template<typename Event>
10 class DDDWorldObserver : public Observer<const Event*>
11 {
12 public:
13  virtual void update(const DDDWorld * w)
14  {
15  std::cout << " DDDWorldObserver: in update " << std::endl;
16  if (w!=0)
17  std::cout << " DDDWorldObserver: got DDDWorld! " << std::endl;
18  }
19 };
20 
21 #endif
const double w
Definition: UKUtility.cc:23
virtual void update(const DDDWorld *w)
tuple cout
Definition: gather_cfg.py:145