#include #include #include //#define DEBUG_CDCFinder #include #include "COMETGeomId.hxx" #include "COMETGeomIdDef.hxx" #include "ICDCGeomId.hxx" #include "ICDCIdFinder.hxx" COMET::ICDCIdFinder::ICDCIdFinder() :fLayer(-1) ,fSenseWire(-1) ,fFieldWire(-1) { ; } COMET::ICDCIdFinder::~ICDCIdFinder() {;} bool COMET::ICDCIdFinder::Search(const std::vector& names, COMET::IGeometryId& id){ //exact structure and string to search for needs to be checked with ROOT files //for (int i=0;i::const_iterator s = names.begin(); s != names.end(); ++s) std::cout << " " << *s; std::cout << std::endl; #endif bool foundLayer = false; for (int i = 0; i