ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/konec/interface/Analysis.h
Revision: 1.4
Committed: Mon Sep 17 11:11:39 2007 UTC (17 years, 7 months ago) by konec
Content type: text/plain
Branch: MAIN
Changes since 1.3: +5 -1 lines
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 konec 1.1 #include "FWCore/ParameterSet/interface/ParameterSet.h"
2    
3     #include "SimDataFormats/Track/interface/SimTrack.h"
4     #include "RecoTracker/TkSeedingLayers/interface/SeedingLayerSets.h"
5    
6     class SeedingHitSet;
7     class TrackerHitAssociator;
8     class OrderedSeedingHits;
9     class TrackingRegion;
10     class TH1D;
11     class TFile;
12     class TProfile;
13    
14    
15     #include <vector>
16 konec 1.4 #include <string>
17 konec 1.1
18     namespace edm { class Event; class EventSetup; }
19    
20    
21     class Analysis {
22     public:
23    
24     Analysis(const edm::ParameterSet& conf);
25     ~Analysis();
26 konec 1.3
27     const SimTrack * bestTrack(const edm::Event& ev) const;
28    
29     void init(const edm::Event& ev, const edm::EventSetup& es, TrackerHitAssociator * ass);
30 konec 1.1
31     void checkEfficiency(const OrderedSeedingHits& candidates);
32 konec 1.4 void checkAlgoEfficiency1(const ctfseeding::SeedingLayerSets&, const OrderedSeedingHits& );
33     void checkAlgoEfficiency2(const ctfseeding::SeedingLayerSets&, const OrderedSeedingHits& );
34 konec 1.1
35 konec 1.2 static void print(const SimTrack & track) ;
36 konec 1.4 static std::string print(const ctfseeding::SeedingHit & hit);
37 konec 1.1 private:
38     unsigned int matchedHits(unsigned int trackId, const SeedingHitSet& hits);
39     bool select(const SimTrack & track) const;
40 konec 1.4 bool compareHitSets(const SeedingHitSet& hits1, const SeedingHitSet& hits2) const;
41 konec 1.1
42     private:
43     edm::ParameterSet theConfig;
44    
45     const edm::Event * theEvent;
46     const edm::EventSetup * theSetup;
47    
48     TrackerHitAssociator * theAssociator;
49     std::vector<SimTrack> theSimTracks;
50    
51     TH1D *hEffPt_N, *hEffPt_D, *hEffAlgoPt_N, *hEffAlgoPt_D;
52     TH1D *hEffEta_N, *hEffEta_D, *hEffAlgoEta_N, *hEffAlgoEta_D;
53     TH1D *hEffPhi_N, *hEffPhi_D;
54     TH1D *hPurePt_N, *hPurePt_D;
55 konec 1.2
56 konec 1.1 TFile * rootFile;
57    
58 konec 1.2
59 konec 1.1 };
60