CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TSCBLBuilderNoMaterialESProducer.cc
Go to the documentation of this file.
1 //
2 // Original Author: Boris Mangano
3 // Created: Sat Mar 28 20:13:08 CET 2009
4 //
5 //
6 
7 
8 // system include files
9 #include <memory>
10 #include "boost/shared_ptr.hpp"
11 
12 // user include files
16 
20 
21 
22 //
23 // class decleration
24 //
25 
27  public:
30 
31  typedef boost::shared_ptr<TrajectoryStateClosestToBeamLineBuilder> ReturnType;
32 
34  private:
35  // ----------member data ---------------------------
36 };
37 
38 //
39 // constants, enums and typedefs
40 //
41 
42 //
43 // static data member definitions
44 //
45 
46 //
47 // constructors and destructor
48 //
50 {
51  //the following line is needed to tell the framework what
52  // data is being produced
53  std::string myName = p.getParameter<std::string>("ComponentName");
54  setWhatProduced(this,myName);
55 
56  //now do what ever other initialization is needed
57 }
58 
59 
61 {
62 
63  // do anything here that needs to be done at desctruction time
64  // (e.g. close files, deallocate resources etc.)
65 
66 }
67 
68 
69 //
70 // member functions
71 //
72 
73 // ------------ method called to produce the data ------------
76 {
77  using namespace edm::es;
79 
80 
81  return pTSCBLBuilderNoMaterial ;
82 }
83 
84 //define this as a plug-in
T getParameter(std::string const &) const
boost::shared_ptr< TrajectoryStateClosestToBeamLineBuilder > ReturnType
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
Definition: ESProducer.h:115
ReturnType produce(const TrackingComponentsRecord &)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition: ModuleFactory.h:60
TSCBLBuilderNoMaterialESProducer(const edm::ParameterSet &)