ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitEdm/Producers/interface/ProducerEvtSelData.h
Revision: 1.5
Committed: Thu Jan 7 17:07:55 2010 UTC (15 years, 4 months ago) by loizides
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_032, Mit_031, Mit_025c_branch2, Mit_025c_branch1, Mit_030, Mit_029c, Mit_029b, Mit_030_pre1, Mit_029a, Mit_029, Mit_029_pre1, Mit_028a, Mit_025c_branch0, Mit_028, Mit_027a, Mit_027, Mit_026, Mit_025e, Mit_025d, Mit_025c, Mit_025b, Mit_025a, Mit_025, Mit_025pre2, Mit_024b, Mit_025pre1, Mit_024a, Mit_024, Mit_023, Mit_022a, Mit_022, Mit_020d, TMit_020d, Mit_020c, Mit_021, Mit_021pre2, Mit_021pre1, Mit_020b, Mit_020a, Mit_020, Mit_020pre1, Mit_018, Mit_017, Mit_017pre3, Mit_017pre2, Mit_017pre1, V07-05-00, Mit_016, Mit_015b, Mit_015a, Mit_015, Mit_014e, Mit_014d, Mit_014c, Mit_014b, ConvRejection-10-06-09, Mit_014a, Mit_014, Mit_014pre3, Mit_014pre2, Mit_014pre1, Mit_013d, Mit_013c, Mit_013b, Mit_013a, Mit_013, Mit_013pre1, Mit_012i, Mit_012h, HEAD
Branch point for: Mit_025c_branch
Changes since 1.4: +4 -1 lines
Log Message:
Extended event selection data and filters

File Contents

# Content
1 //--------------------------------------------------------------------------------------------------
2 // $Id: ProducerEvtSelData.h,v 1.4 2010/01/05 16:39:43 edwenger Exp $
3 //
4 // ProducerEvtSelData
5 //
6 // Produce event selection data.
7 //
8 // Authors: C.Loizides
9 //--------------------------------------------------------------------------------------------------
10
11 #ifndef MITEDM_PRODUCERS_PRODUCEREVTSELDATA_H
12 #define MITEDM_PRODUCERS_PRODUCEREVTSELDATA_H
13
14 #include "FWCore/Framework/interface/Frameworkfwd.h"
15 #include "FWCore/Framework/interface/EDProducer.h"
16 #include "FWCore/Framework/interface/Event.h"
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 &cfg);
27 ~ProducerEvtSelData();
28
29 private:
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 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 }
51 #endif