21 |
|
|
22 |
|
namespace mitedm |
23 |
|
{ |
24 |
– |
|
25 |
– |
class VertexHit { |
26 |
– |
public: |
27 |
– |
float z; |
28 |
– |
float r; |
29 |
– |
float w; |
30 |
– |
}; |
31 |
– |
|
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&); |
31 |
< |
void beginJob (const edm::EventSetup&); |
32 |
< |
int getContainedHits (std::vector<VertexHit> hits, float z0, float & chi); |
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 |
< |
|
45 |
< |
const TrackerGeometry* theTracker; |
44 |
> |
std::string srcVertex_; //vertex (if not set will use pixel counting vertex) |
45 |
> |
std::string srcTowers_; //calo towers |
46 |
> |
double hfEthresh_; //hf hit energy threshold |
47 |
> |
double hfETowerh_; //hf calo tower energy threshold |
48 |
> |
std::string srcTrk_; //track collection |
49 |
|
}; |
50 |
– |
|
50 |
|
} |
51 |
|
#endif |