CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HitEff.h
Go to the documentation of this file.
7 
10 
28 
29 
30 #include "TROOT.h"
31 #include "TFile.h"
32 #include "TH1F.h"
33 #include "TH2F.h"
34 #include <vector>
35 #include "TTree.h"
36 #include <iostream>
37 #include <cstdlib>
38 #include <cstdio>
39 #include "Riostream.h"
40 #include "TRandom2.h"
41 
42 class TrackerTopology;
43 
44 class HitEff : public edm::EDAnalyzer {
45  public:
46  explicit HitEff(const edm::ParameterSet& conf);
47  double checkConsistency(const StripClusterParameterEstimator::LocalValues& parameters, double xx, double xerr);
48  bool isDoubleSided(unsigned int iidd, const TrackerTopology* tTopo) const;
49  bool check2DPartner(unsigned int iidd, const std::vector<TrajectoryMeasurement>& traj);
50  virtual ~HitEff();
51  unsigned int checkLayer(unsigned int iidd, const TrackerTopology* tTopo);
52 
53  private:
54  virtual void beginJob();
55  virtual void endJob();
56  virtual void analyze(const edm::Event& e, const edm::EventSetup& c);
57 
58  // ----------member data ---------------------------
59 
61 
62  TTree* traj;
64 
65  unsigned int layers;
66  bool DEBUG;
67  unsigned int whatlayer;
68 
69  // Tree declarations
70  // Trajectory positions for modules included in the study
74  float ResX, ResXSig;
75  unsigned int ModIsBad; unsigned int Id; unsigned int SiStripQualBad; bool withinAcceptance;
77  float p, pT, chi2;
78  unsigned int trajHitValid, run, event, bunchx;
79  float timeDT, timeDTErr;
80  int timeDTDOF;
81  float timeECAL, dedx;
82  int dedxNOM;
83  int tquality;
84  int istep;
85 };
86 
87 
88 //#endif
float TrajGlbZ
Definition: HitEff.h:71
dictionary parameters
Definition: Parameters.py:2
bool check2DPartner(unsigned int iidd, const std::vector< TrajectoryMeasurement > &traj)
Definition: HitEff.cc:716
float ClusterLocErrX
Definition: HitEff.h:73
float ClusterLocErrY
Definition: HitEff.h:73
float TrajGlbY
Definition: HitEff.h:71
float TrajLocX
Definition: HitEff.h:72
float ResXSig
Definition: HitEff.h:74
Definition: HitEff.h:44
virtual void analyze(const edm::Event &e, const edm::EventSetup &c)
Definition: HitEff.cc:132
float chi2
Definition: HitEff.h:77
HitEff(const edm::ParameterSet &conf)
Definition: HitEff.cc:72
float ClusterStoN
Definition: HitEff.h:73
float TrajLocErrX
Definition: HitEff.h:72
std::pair< LocalPoint, LocalError > LocalValues
bool DEBUG
Definition: HitEff.h:66
unsigned int bunchx
Definition: HitEff.h:78
float p
Definition: HitEff.h:77
float timeECAL
Definition: HitEff.h:81
bool isDoubleSided(unsigned int iidd, const TrackerTopology *tTopo) const
Definition: HitEff.cc:684
float timeDTErr
Definition: HitEff.h:79
int nHits
Definition: HitEff.h:76
unsigned int Id
Definition: HitEff.h:75
int timeDTDOF
Definition: HitEff.h:80
virtual ~HitEff()
Definition: HitEff.cc:80
virtual void beginJob()
Definition: HitEff.cc:82
unsigned int trajHitValid
Definition: HitEff.h:78
unsigned int ModIsBad
Definition: HitEff.h:75
int istep
Definition: HitEff.h:84
float TrajGlbX
Definition: HitEff.h:71
bool withinAcceptance
Definition: HitEff.h:75
unsigned int run
Definition: HitEff.h:78
float ClusterLocX
Definition: HitEff.h:73
tuple conf
Definition: dbtoconf.py:185
int events
Definition: HitEff.h:63
float TrajLocAngleX
Definition: HitEff.h:72
int dedxNOM
Definition: HitEff.h:82
unsigned int event
Definition: HitEff.h:78
double checkConsistency(const StripClusterParameterEstimator::LocalValues &parameters, double xx, double xerr)
Definition: HitEff.cc:677
unsigned int whatlayer
Definition: HitEff.h:67
unsigned int checkLayer(unsigned int iidd, const TrackerTopology *tTopo)
Definition: HitEff.cc:732
float timeDT
Definition: HitEff.h:79
unsigned int layers
Definition: HitEff.h:65
float pT
Definition: HitEff.h:77
float ResX
Definition: HitEff.h:74
virtual void endJob()
Definition: HitEff.cc:669
unsigned int SiStripQualBad
Definition: HitEff.h:75
float TrajLocErrY
Definition: HitEff.h:72
float TrajLocAngleY
Definition: HitEff.h:72
float dedx
Definition: HitEff.h:81
float ClusterLocY
Definition: HitEff.h:73
TTree * traj
Definition: HitEff.h:62
edm::ParameterSet conf_
Definition: HitEff.h:60
int EventTrackCKF
Definition: HitEff.h:63
int nLostHits
Definition: HitEff.h:76
float TrajLocY
Definition: HitEff.h:72
int tquality
Definition: HitEff.h:83