ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitEdm/Producers/interface/ProducerEvtSelData.h
Revision: 1.3
Committed: Tue Dec 8 11:33:23 2009 UTC (15 years, 5 months ago) by loizides
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_012g, Mit_012f, Mit_012e
Changes since 1.2: +11 -16 lines
Log Message:
Cleanup

File Contents

# User Rev Content
1 loizides 1.1 //--------------------------------------------------------------------------------------------------
2 loizides 1.3 // $Id: ProducerEvtSelData.h,v 1.2 2009/12/08 00:31:46 edwenger Exp $
3 loizides 1.1 //
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 edwenger 1.2 class TrackerGeometry;
21    
22 loizides 1.1 namespace mitedm
23     {
24     class ProducerEvtSelData : public edm::EDProducer {
25     public:
26 loizides 1.3 explicit ProducerEvtSelData(const edm::ParameterSet &cfg);
27 loizides 1.1 ~ProducerEvtSelData();
28    
29     private:
30 loizides 1.3 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 loizides 1.1
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 edwenger 1.2 std::string srcPixels_; //pixel rec hits
44 loizides 1.3 std::string srcVertex_; //vertex (if not set will use pixel counting vertex)
45 loizides 1.1 };
46     }
47     #endif