1 |
+ |
#ifndef Analysis_H |
2 |
+ |
#define Analysis_H |
3 |
+ |
|
4 |
|
#include "FWCore/ParameterSet/interface/ParameterSet.h" |
5 |
|
|
6 |
|
#include "SimDataFormats/Track/interface/SimTrack.h" |
40 |
|
|
41 |
|
void checkEfficiency(const reco::TrackCollection & tracks); |
42 |
|
void checkEfficiency(const OrderedSeedingHits& candidates); |
43 |
< |
void checkAlgoEfficiency1(const ctfseeding::SeedingLayerSets&, const OrderedSeedingHits& ); |
44 |
< |
void checkAlgoEfficiency2(const ctfseeding::SeedingLayerSets&, const OrderedSeedingHits& ); |
43 |
> |
// void checkAlgoEfficiency1(const ctfseeding::SeedingLayerSets&, const OrderedSeedingHits& ); |
44 |
> |
// void checkAlgoEfficiency2(const ctfseeding::SeedingLayerSets&, const OrderedSeedingHits& ); |
45 |
|
|
46 |
|
static void print(const SimTrack & track) ; |
47 |
< |
static void print(const reco::Track & track) ; |
48 |
< |
static std::string print(const ctfseeding::SeedingHit & hit); |
47 |
> |
static void print(const SimVertex& vertex); |
48 |
> |
static void print(const reco::Track & track, const math::XYZPoint & bs=math::XYZPoint(0,0,0)); |
49 |
|
private: |
50 |
|
unsigned int matchedHits(unsigned int trackId, const SeedingHitSet& hits); |
51 |
|
bool select(const SimTrack & track) const; |
61 |
|
std::vector<SimTrack> theSimTracks; |
62 |
|
std::vector<SimVertex> theSimVertices; |
63 |
|
|
64 |
< |
TH1D *hEffPt_N, *hEffPt_D, *hEffAlgoPt_N, *hEffAlgoPt_D; |
64 |
> |
TH1D *hEffPt_N, *hEffPt_D, *hEffLPt_N, *hEffLPt_D, *hEffAlgoPt_N, *hEffAlgoPt_D; |
65 |
|
TH1D *hEffEta_N, *hEffEta_D, *hEffAlgoEta_N, *hEffAlgoEta_D; |
66 |
|
TH1D *hEffPhi_N, *hEffPhi_D; |
67 |
|
TH1D *hPurePt_N, *hPurePt_D; |
72 |
|
|
73 |
|
}; |
74 |
|
|
75 |
+ |
#endif |