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