5#ifndef DETDESCRCONDITIONS_DETCONDKEYTRANS_H
6#define DETDESCRCONDITIONS_DETCONDKEYTRANS_H
23#include "CLHEP/Geometry/Transform3D.h"
34 void setTransform(
const std::string& key,
const HepGeom::Transform3D& trans);
41 bool exists(
const std::string& key)
const;
46 typedef std::map<std::string,HepGeom::Transform3D>
KeyTrans;
65 const HepGeom::Transform3D&trans) {
m_keytrans[key]=trans;}
Hold mappings of ranges to condition objects.
#define CONDCONT_DEF(...)
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Class to hold set of HepGeom::Transform3D keyed by string value for storage in the conditions DB typi...
void setTransform(const std::string &key, const HepGeom::Transform3D &trans)
bool exists(const std::string &key) const
const KeyTrans & keyTrans() const
virtual ~DetCondKeyTrans()
bool getTransform(const std::string &key, HepGeom::Transform3D &result) const
std::map< std::string, HepGeom::Transform3D > KeyTrans