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