1 #include "Alignment/Geners/interface/ItemLocation.hh"
2 #include "Alignment/Geners/interface/streamposIO.hh"
3 #include "Alignment/Geners/interface/IOException.hh"
16 if (cachedItemURI_.size() && r.cachedItemURI_.size())
17 if (cachedItemURI_ != r.cachedItemURI_)
21 if (cachedItemURI_ != r.cachedItemURI_)
33 write_pod(of, cachedItemURI_);
39 static const ClassId
current(ClassId::makeId<ItemLocation>());
46 read_pod(in, &globURI);
49 read_pod(in, &cachedItemURI);
52 throw IOReadFailure(
"In ItemLocation::read: input stream failure");
54 return new ItemLocation(pos, globURI.c_str(), cachedItemURI.c_str());
bool operator==(const CaloTower &t1, const CaloTower &t2)