CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DigitizerFP420.h
Go to the documentation of this file.
1 #ifndef DigitizerFP420_h
2 #define DigitizerFP420_h
3 
5 #include "boost/shared_ptr.hpp"
6 
11 
14 
16 
18 //#include "SimG4Core/Watcher/interface/SimWatcher.h"
19 
23 //#include "SimG4CMS/FP420/interface/FP420G4Hit.h"
25 //#include "SimG4CMS/FP420/interface/FP420G4HitCollection.h"
27 
29 
32 //#include "SimRomanPot/SimFP420/interface/DigiCollectionFP420.h"
33 
34 #include <CLHEP/Vector/ThreeVector.h>
35 #include <string>
36 #include<vector>
37 #include <iostream>
38 #include <map>
39 
40 namespace cms
41 {
43  {
44  public:
45  // typedef DigiCollectionFP420<unsigned int, HDigiFP420> DigiColFP420;
46 
47  explicit DigitizerFP420(const edm::ParameterSet& conf);
48 
49  virtual ~DigitizerFP420();
50 
51  // virtual void produce(PSimHitCollection*, DigiCollectionFP420&);
52  virtual void produce(edm::Event& e, const edm::EventSetup& c);
53 
54  // virtual void prodfun(MixCollection<PSimHit>*, DigiCollectionFP420 &);
55  // virtual void prodfun(std::auto_ptr<MixCollection<PSimHit> >*, DigiCollectionFP420 &);
56 
57 
58  // virtual void prodfun(std::auto_ptr<MixCollection<PSimHit> >&, DigiCollectionFP420 &);
59 
60  private:
61  // std::vector<PSimHit> theStripHits;
62  typedef std::vector<std::string> vstring;
63  typedef std::map<unsigned int, std::vector<PSimHit>,std::less<unsigned int> > simhit_map;
64  typedef simhit_map::iterator simhit_map_iterator;
66 
69 
70  // HitDigitizerFP420* theHitDigitizerFP420;
71  // FP420DigiMain stripDigitizer_;
74  // FP420DigiMain * theFP420DigiMain;
75  int numStrips; // number of strips in the module
76 
77  int dn0, sn0, pn0, rn0, verbosity;
78 
79 
80  std::vector<HDigiFP420> collector;
81 
82  // DigiCollectionFP420 * output;
83 
84 
85  // std::vector<edm::DetSet<HDigiFP420> > output;
86 
87  // DigiCollectionFP420* poutput;
88 
89  // std::map<GeomDetType* , boost::shared_ptr<FP420DigiMain> > theAlgoMap;
90  // std::vector<edm::DetSet<HDigiFP420> > outputfinal;
91  // std::vector<edm::DetSet<HDigiFP420SimLink> > theDigiLinkVector;
92  // std::vector<edm::DetSet<PixelDigi> > theDigiVector;
93 
94 
95 
96 
97  // G4ThreeVector bfield(G4ThreeVector);
98  // G4ThreeVector bfield(double, double, double);
99  // G4ThreeVector bfield(float, float, float);
100  // G4ThreeVector bfield();
101 
102 
103  };
104 }
105 
106 #endif
DigitizerFP420(const edm::ParameterSet &conf)
FP420DigiMain * stripDigitizer_
simhit_map::iterator simhit_map_iterator
edm::ParameterSet conf_
std::vector< HDigiFP420 > collector
std::vector< std::string > vstring
tuple conf
Definition: dbtoconf.py:185
std::map< unsigned int, std::vector< PSimHit >, std::less< unsigned int > > simhit_map
FP420NumberingScheme * theFP420NumberingScheme
virtual void produce(edm::Event &e, const edm::EventSetup &c)