00001 #ifndef PRINT_RecoOBJECTS_H 00002 #define PRINT_RecoOBJECTS_H 00003 00004 00005 #include "DataFormats/TrackReco/interface/Track.h" 00006 #include "DataFormats/TrackReco/interface/TrackFwd.h" 00007 00008 #include "TrackingTools/PatternTools/interface/Trajectory.h" 00009 #include "TrackingTools/PatternTools/interface/TrajTrackAssociation.h" 00010 #include "DataFormats/SiStripCluster/interface/SiStripCluster.h" 00011 #include "DataFormats/Common/interface/DetSetVector.h" 00012 #include "DataFormats/Common/interface/DetSetVectorNew.h" 00013 00014 #include "sstream" 00015 #include "boost/foreach.hpp" 00016 00017 typedef edmNew::DetSet<SiStripCluster>::const_iterator ClusIter; 00018 typedef edmNew::DetSetVector<SiStripCluster> ClusterCollection; 00019 00020 class PrintRecoObjects{ 00021 00022 public: 00023 PrintRecoObjects(){}; 00024 ~PrintRecoObjects(){}; 00025 00026 void print(std::stringstream& ss, const SiStripCluster& clus); 00027 void print(std::stringstream& ss, const TrajectorySeed& tjS); 00028 void print(std::stringstream& ss, const uint32_t& detid) const; 00029 void print(std::stringstream& ss, const reco::Track* track, const math::XYZPoint& vx); 00030 std::string getString(uint32_t detid) const; 00031 00032 }; 00033 #endif