1 #ifndef Fireworks_Core_FWGeometry_h 2 #define Fireworks_Core_FWGeometry_h 20 #include "TEveVSDStructs.h" 21 #include "TGeoMatrix.h" 86 const TGeoMatrix*
getMatrix(
unsigned int id)
const;
91 TGeoShape*
getShape(
unsigned int id)
const;
106 const float*
getCorners(
unsigned int id)
const;
111 void localToGlobal(
unsigned int id,
const float*
local,
float* global,
bool translatep =
true)
const;
117 bool translatep =
true)
const;
128 bool operator<(
unsigned int id)
const {
return (this->
id <
id); }
132 unsigned int id =
o.id;
136 typedef std::vector<FWGeometry::GeomDetInfo>
IdToInfo;
137 typedef std::vector<FWGeometry::GeomDetInfo>::const_iterator
IdToInfoItr;
148 void localToGlobal(
const GeomDetInfo&
info,
const float*
local,
float* global,
bool translatep =
true)
const;
std::unique_ptr< TrackerTopology > m_trackerTopology
static TFile * findFile(const char *fileName)
bool contains(unsigned int id) const
TObjArray * extraDetectors
void initMap(const FWRecoGeom::InfoMap &map)
std::vector< unsigned int > getMatchedIds(Detector det, SubDetector subdet) const
bool haveExtraDet(const char *) const
int getProducerVersion() const
std::map< unsigned int, TGeoMatrix * > m_idToMatrix
IdToInfoItr find(unsigned int) const
const VersionInfo & versionInfo() const
TEveGeoShape * getHGCScintillatorEveShape(unsigned int id) const
const TrackerTopology * getTrackerTopology() const
VersionInfo m_versionInfo
const float * getCorners(unsigned int id) const
TEveGeoShape * getHGCSiliconEveShape(unsigned int id) const
void loadMap(const char *fileName)
std::vector< FWRecoGeom::Info > InfoMap
bool operator<(unsigned int id) const
static const int kSubdetOffset
TEveGeoShape * getEveShape(unsigned int id) const
TGeoShape * getShape(unsigned int id) const
void localToGlobal(unsigned int id, const float *local, float *global, bool translatep=true) const
const float * getShapePars(unsigned int id) const
const float * getParameters(unsigned int id) const
const TGeoMatrix * getMatrix(unsigned int id) const
IdToInfoItr mapEnd() const
std::vector< FWGeometry::GeomDetInfo > IdToInfo
void applyGlobalTag(const std::string >)
static const int kDetOffset
bool match_id(const GeomDetInfo &o, unsigned int mask) const
std::vector< FWGeometry::GeomDetInfo >::const_iterator IdToInfoItr