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)
TObjArray * extraDetectors
TEveGeoShape * getHGCSiliconEveShape(unsigned int id) const
void initMap(const FWRecoGeom::InfoMap &map)
IdToInfoItr find(unsigned int) const
const float * getParameters(unsigned int id) const
bool match_id(const GeomDetInfo &o, unsigned int mask) const
TGeoShape * getShape(unsigned int id) const
const TGeoMatrix * getMatrix(unsigned int id) const
const VersionInfo & versionInfo() const
std::map< unsigned int, TGeoMatrix * > m_idToMatrix
const float * getShapePars(unsigned int id) const
bool operator<(unsigned int id) const
bool haveExtraDet(const char *) const
IdToInfoItr mapEnd() const
VersionInfo m_versionInfo
TEveGeoShape * getEveShape(unsigned int id) const
void loadMap(const char *fileName)
void localToGlobal(unsigned int id, const float *local, float *global, bool translatep=true) const
bool contains(unsigned int id) const
std::vector< FWRecoGeom::Info > InfoMap
static const int kSubdetOffset
int getProducerVersion() const
const float * getCorners(unsigned int id) const
std::vector< unsigned int > getMatchedIds(Detector det, SubDetector subdet) const
std::vector< FWGeometry::GeomDetInfo > IdToInfo
void applyGlobalTag(const std::string >)
static const int kDetOffset
const TrackerTopology * getTrackerTopology() const
std::vector< FWGeometry::GeomDetInfo >::const_iterator IdToInfoItr
TEveGeoShape * getHGCScintillatorEveShape(unsigned int id) const