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