23 #include <TGeoMatrix.h>
32 : translation(c.translation), pivot(c.pivot), rotation(c.rotation), flags(c.flags)
90 std::stringstream str;
93 for(std::size_t i=0; i<res.length(); ++i)
94 if ( res[i]==
'\n' ) res[i] =
' ';
108 detectorTrafo(
copy.detectorTrafo),
109 nodes(
copy.nodes), trToWorld(
copy.trToWorld), detector(
copy.detector),
122 if (
this != &
copy ) {
136 std::stringstream str;
138 return ostr << str.str();
144 Double_t master_point[3] = { 0, 0, 0 }, local_point[3] = { local.X(), local.Y(), local.Z() };
145 worldTrafo.LocalToMaster(local_point, master_point);
146 global.SetCoordinates(master_point);
152 Double_t master_point[3] = { 0, 0, 0 }, local_point[3] = { local.X(), local.Y(), local.Z() };
153 worldTrafo.LocalToMaster(local_point, master_point);
154 global.SetCoordinates(master_point);
166 Double_t master_point[3] = { global.X(), global.Y(), global.Z() }, local_point[3] = { 0, 0, 0 };
167 worldTrafo.MasterToLocal(master_point, local_point);
168 local.SetCoordinates(local_point);
174 Double_t master_point[3] = { global.X(), global.Y(), global.Z() }, local_point[3] = { 0, 0, 0 };
175 worldTrafo.MasterToLocal(master_point, local_point);
176 local.SetCoordinates(local_point);
187 Double_t master_point[3] = { 0, 0, 0 }, local_point[3] = { local.X(), local.Y(), local.Z() };
189 global.SetCoordinates(master_point);
195 Double_t master_point[3] = { 0, 0, 0 }, local_point[3] = { local.X(), local.Y(), local.Z() };
197 global.SetCoordinates(master_point);
209 Double_t master_point[3] = { global.X(), global.Y(), global.Z() }, local_point[3] = { 0, 0, 0 };
211 local.SetCoordinates(local_point);
218 Double_t master_point[3] = { global.X(), global.Y(), global.Z() }, local_point[3] = { 0, 0, 0 };
220 local.SetCoordinates(local_point);
234 static auto s_registry = GrammarRegistry::pre_note<Delta>(1)
236 .pre_note<std::map<DetElement, Delta> >(1);