CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DTGeomSupplier.cc
Go to the documentation of this file.
2 #include <iostream>
3 
4 void DTGeomSupplier::print(const DTTrigData *trig) const {
5  trig->print();
6  std::cout << " Local (pos)(dir): " << localPosition(trig) << localDirection(trig) << std::endl;
7  std::cout << " CMS (pos)(dir): " << CMSPosition(trig) << CMSDirection(trig) << std::endl;
8 }
virtual void print() const =0
Print a trigger-data object with also local and global position/direction.
GlobalPoint CMSPosition(const DTTrigData *trig) const
CMS position in chamber of a trigger-data object.
GlobalVector CMSDirection(const DTTrigData *trig) const
CMS direction in chamber of a trigger -data object.
virtual LocalPoint localPosition(const DTTrigData *) const =0
Local position in chamber of a trigger-data object.
virtual void print(const DTTrigData *trig) const
Print a trigger-data object with also local and global position/direction.
tuple cout
Definition: gather_cfg.py:144
virtual LocalVector localDirection(const DTTrigData *) const =0
Local direction in chamber of a trigger-data object.