CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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)
7  << localDirection(trig) << std::endl;
8  std::cout << " CMS (pos)(dir): " << CMSPosition(trig)
9  << CMSDirection(trig) << std::endl;
10 }
11 
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:121
virtual LocalVector localDirection(const DTTrigData *) const =0
Local direction in chamber of a trigger-data object.