17 |
|
#include "FWCore/Framework/interface/MakerMacros.h" |
18 |
|
#include "FWCore/ParameterSet/interface/ParameterSet.h" |
19 |
|
|
20 |
+ |
class TrackerGeometry; |
21 |
+ |
|
22 |
|
namespace mitedm |
23 |
|
{ |
24 |
|
class ProducerEvtSelData : public edm::EDProducer { |
25 |
|
public: |
26 |
< |
explicit ProducerEvtSelData(const edm::ParameterSet&); |
26 |
> |
explicit ProducerEvtSelData(const edm::ParameterSet &cfg); |
27 |
|
~ProducerEvtSelData(); |
28 |
|
|
29 |
|
private: |
30 |
< |
void produce (edm::Event&, const edm::EventSetup&); |
30 |
> |
struct VertexHit { |
31 |
> |
float z; |
32 |
> |
float r; |
33 |
> |
float w; |
34 |
> |
}; |
35 |
> |
|
36 |
> |
void produce(edm::Event &evt, const edm::EventSetup &setup); |
37 |
> |
int getContainedHits(const std::vector<VertexHit> &hits, double z0, double &chi); |
38 |
|
|
39 |
|
std::string srcHF_; //hf rec hits |
40 |
|
std::string srcHBHE_; //hbhe rec hits |
41 |
|
std::string srcCastor_; //castor rec hits |
42 |
|
std::string srcZDC_; //zdc rec hits |
43 |
+ |
std::string srcPixels_; //pixel rec hits |
44 |
+ |
std::string srcVertex_; //vertex (if not set will use pixel counting vertex) |
45 |
|
}; |
46 |
|
} |
47 |
|
#endif |