CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ConvBremTrackImporter.cc
Go to the documentation of this file.
3 
4 namespace {
5  class ConvBremAdaptor {
6  public:
7  static bool check_importable(const reco::GsfPFRecTrackCollection::value_type& t) { return true; }
8  static const std::vector<reco::PFRecTrackRef>& get_track_refs(const reco::GsfPFRecTrackCollection::value_type& t) {
9  return t.convBremPFRecTrackRef();
10  }
11  static void set_element_info(reco::PFBlockElement* elem, const edm::Ref<reco::GsfPFRecTrackCollection>& parref) {
13  }
14  };
15 } // namespace
16 
18 
19 DEFINE_EDM_PLUGIN(BlockElementImporterFactory, ConvBremTrackImporter, "ConvBremTrackImporter");
Abstract base class for a PFBlock element (track, cluster...)
virtual void setTrackType(TrackType trType, bool value)
the trackType
#define DEFINE_EDM_PLUGIN(factory, type, name)
pflow::importers::TrackFromParentImporter< reco::GsfPFRecTrackCollection, ConvBremAdaptor > ConvBremTrackImporter