ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitEdm/Producers/interface/ProducerEvtSelData.h
Revision: 1.2
Committed: Tue Dec 8 00:31:46 2009 UTC (15 years, 5 months ago) by edwenger
Content type: text/plain
Branch: MAIN
Changes since 1.1: +17 -1 lines
Log Message:
add pixel cluster shape info

File Contents

# User Rev Content
1 loizides 1.1 //--------------------------------------------------------------------------------------------------
2 edwenger 1.2 // $Id: ProducerEvtSelData.h,v 1.1 2009/12/07 22:52:27 loizides 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 edwenger 1.2
25     class VertexHit {
26     public:
27     float z;
28     float r;
29     float w;
30     };
31    
32 loizides 1.1 class ProducerEvtSelData : public edm::EDProducer {
33     public:
34     explicit ProducerEvtSelData(const edm::ParameterSet&);
35     ~ProducerEvtSelData();
36    
37     private:
38     void produce (edm::Event&, const edm::EventSetup&);
39 edwenger 1.2 void beginJob (const edm::EventSetup&);
40     int getContainedHits (std::vector<VertexHit> hits, float z0, float & chi);
41 loizides 1.1
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 edwenger 1.2 std::string srcPixels_; //pixel rec hits
47    
48     const TrackerGeometry* theTracker;
49 loizides 1.1 };
50 edwenger 1.2
51 loizides 1.1 }
52     #endif