CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
EopVariables.h
Go to the documentation of this file.
1 #ifndef Alignment_OfflineValidation_EopVariables_h
2 #define Alignment_OfflineValidation_EopVariables_h
3 
4 // For ROOT types with '_t':
5 #include <Rtypes.h>
6 
8 struct EopVariables {
10  EopVariables() { this->clear(); }
11 
13  void clear() {
20  }
22  void fillVariables(Int_t charge,
23  Int_t innerOk,
24  Double_t outerRadius,
25  Int_t numberOfValidHits,
26  Int_t numberOfLostHits,
27  Double_t chi2,
28  Double_t normalizedChi2,
29  Double_t p,
30  Double_t pt,
31  Double_t ptError,
32  Double_t theta,
33  Double_t eta,
34  Double_t phi,
35  Double_t emc1,
36  Double_t emc3,
37  Double_t emc5,
38  Double_t hac1,
39  Double_t hac3,
40  Double_t hac5,
41  Double_t maxPNearby,
42  Double_t dist,
43  Double_t EnergyIn,
44  Double_t EnergyOut) {
48  track_innerOk = innerOk;
49  track_outerRadius = outerRadius;
50  track_chi2 = chi2;
52  track_p = p;
53  track_pt = pt;
54  track_ptError = ptError;
56  track_eta = eta;
57  track_phi = phi;
58  track_emc1 = emc1;
59  track_emc3 = emc3;
60  track_emc5 = emc5;
61  track_hac1 = hac1;
62  track_hac3 = hac3;
63  track_hac5 = hac5;
64  track_maxPNearby = maxPNearby;
65  track_EnergyIn = EnergyIn;
66  track_EnergyOut = EnergyOut;
67  distofmax = dist;
68  }
69 
73 
75 };
76 
77 #endif
Double_t track_theta
Definition: EopVariables.h:70
Double_t track_emc5
Definition: EopVariables.h:70
container to hold data to be written into TTree
Definition: EopVariables.h:8
Double_t track_EnergyOut
Definition: EopVariables.h:70
Double_t track_hac5
Definition: EopVariables.h:70
Int_t track_nHits
Definition: EopVariables.h:74
Geom::Theta< T > theta() const
void clear()
set to empty values
Definition: EopVariables.h:13
Double_t track_maxPNearby
Definition: EopVariables.h:70
Double_t track_phi
Definition: EopVariables.h:70
Double_t track_eta
Definition: EopVariables.h:70
Double_t track_emc1
Definition: EopVariables.h:70
Int_t track_charge
Definition: EopVariables.h:74
Int_t track_nLostHits
Definition: EopVariables.h:74
Double_t distofmax
Definition: EopVariables.h:70
Double_t track_pt
Definition: EopVariables.h:70
tuple normalizedChi2
Double_t track_hac3
Definition: EopVariables.h:70
Double_t track_p
Definition: EopVariables.h:70
Double_t track_chi2
Definition: EopVariables.h:70
void fillVariables(Int_t charge, Int_t innerOk, Double_t outerRadius, Int_t numberOfValidHits, Int_t numberOfLostHits, Double_t chi2, Double_t normalizedChi2, Double_t p, Double_t pt, Double_t ptError, Double_t theta, Double_t eta, Double_t phi, Double_t emc1, Double_t emc3, Double_t emc5, Double_t hac1, Double_t hac3, Double_t hac5, Double_t maxPNearby, Double_t dist, Double_t EnergyIn, Double_t EnergyOut)
fill variables into tree
Definition: EopVariables.h:22
Double_t track_ptError
Definition: EopVariables.h:70
tuple numberOfLostHits
Double_t track_hac1
Definition: EopVariables.h:70
tuple numberOfValidHits
Double_t track_normalizedChi2
Definition: EopVariables.h:70
Double_t track_emc3
Definition: EopVariables.h:70
EopVariables()
constructor initialises to empty values
Definition: EopVariables.h:10
Double_t track_EnergyIn
Definition: EopVariables.h:70
Double_t track_outerRadius
Definition: EopVariables.h:70
Int_t track_innerOk
Definition: EopVariables.h:74