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 
13 
15 
17 //#include "SimG4Core/Watcher/interface/SimWatcher.h"
18 
22 //#include "SimG4CMS/FP420/interface/FP420G4Hit.h"
24 //#include "SimG4CMS/FP420/interface/FP420G4HitCollection.h"
26 
28 
31 //#include "SimRomanPot/SimFP420/interface/DigiCollectionFP420.h"
32 
33 #include <CLHEP/Vector/ThreeVector.h>
34 #include <string>
35 #include<vector>
36 #include <iostream>
37 #include <map>
38 
39 namespace cms
40 {
42  {
43  public:
44  // typedef DigiCollectionFP420<unsigned int, HDigiFP420> DigiColFP420;
45 
46  explicit DigitizerFP420(const edm::ParameterSet& conf);
47 
48  virtual ~DigitizerFP420();
49 
50  // virtual void produce(PSimHitCollection*, DigiCollectionFP420&);
51  virtual void produce(edm::Event& e, const edm::EventSetup& c);
52 
53  // virtual void prodfun(MixCollection<PSimHit>*, DigiCollectionFP420 &);
54  // virtual void prodfun(std::auto_ptr<MixCollection<PSimHit> >*, DigiCollectionFP420 &);
55 
56 
57  // virtual void prodfun(std::auto_ptr<MixCollection<PSimHit> >&, DigiCollectionFP420 &);
58 
59  private:
60  // std::vector<PSimHit> theStripHits;
61  typedef std::vector<std::string> vstring;
62  typedef std::map<unsigned int, std::vector<PSimHit>,std::less<unsigned int> > simhit_map;
63  typedef simhit_map::iterator simhit_map_iterator;
65 
68 
69  // HitDigitizerFP420* theHitDigitizerFP420;
70  // FP420DigiMain stripDigitizer_;
72  // FP420DigiMain * theFP420DigiMain;
73  int numStrips; // number of strips in the module
74 
75  int dn0, sn0, pn0, rn0, verbosity;
76 
77 
78  std::vector<HDigiFP420> collector;
79 
80  // DigiCollectionFP420 * output;
81 
82 
83  // std::vector<edm::DetSet<HDigiFP420> > output;
84 
85  // DigiCollectionFP420* poutput;
86 
87  // std::map<GeomDetType* , boost::shared_ptr<FP420DigiMain> > theAlgoMap;
88  // std::vector<edm::DetSet<HDigiFP420> > outputfinal;
89  // std::vector<edm::DetSet<HDigiFP420SimLink> > theDigiLinkVector;
90  // std::vector<edm::DetSet<PixelDigi> > theDigiVector;
91 
92 
93 
94 
95  // G4ThreeVector bfield(G4ThreeVector);
96  // G4ThreeVector bfield(double, double, double);
97  // G4ThreeVector bfield(float, float, float);
98  // G4ThreeVector bfield();
99 
100 
101  };
102 }
103 
104 #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
virtual void produce(edm::Event &e, const edm::EventSetup &c)