ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/konec/interface/Analysis.h
Revision: 1.1
Committed: Tue Apr 10 13:13:23 2007 UTC (18 years ago) by konec
Content type: text/plain
Branch: MAIN
Log Message:
*** empty log message ***

File Contents

# Content
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
17 namespace edm { class Event; class EventSetup; }
18
19
20 class Analysis {
21 public:
22
23 Analysis(const edm::ParameterSet& conf);
24 ~Analysis();
25 void init(const edm::Event& ev, const edm::EventSetup& es);
26
27 void checkEfficiency(const OrderedSeedingHits& candidates);
28 void checkAlgoEfficiency(const ctfseeding::SeedingLayerSets& layersSets, const OrderedSeedingHits& candidates);
29
30 private:
31 unsigned int matchedHits(unsigned int trackId, const SeedingHitSet& hits);
32 bool select(const SimTrack & track) const;
33 void print(const SimTrack & track) const;
34
35 private:
36 edm::ParameterSet theConfig;
37
38 const edm::Event * theEvent;
39 const edm::EventSetup * theSetup;
40
41 TrackerHitAssociator * theAssociator;
42 std::vector<SimTrack> theSimTracks;
43
44 TH1D *hEffPt_N, *hEffPt_D, *hEffAlgoPt_N, *hEffAlgoPt_D;
45 TH1D *hEffEta_N, *hEffEta_D, *hEffAlgoEta_N, *hEffAlgoEta_D;
46 TH1D *hEffPhi_N, *hEffPhi_D;
47 TH1D *hPurePt_N, *hPurePt_D;
48 TFile * rootFile;
49
50 };
51