CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
9 {
11  EopVariables() {this->clear();}
12 
14  void clear() {
22 
23  }
25  void fillVariables(Int_t charge, Int_t innerOk, Double_t outerRadius, Int_t numberOfValidHits,
26  Int_t numberOfLostHits, Double_t chi2, Double_t normalizedChi2, Double_t p,
27  Double_t pt, Double_t ptError, Double_t theta, Double_t eta, Double_t phi,
28  Double_t emc1, Double_t emc3, Double_t emc5, Double_t hac1, Double_t hac3,
29  Double_t hac5, Double_t maxPNearby, Double_t dist, Double_t EnergyIn,
30  Double_t EnergyOut) {
31  track_charge = charge; track_nHits = numberOfValidHits; track_nLostHits = numberOfLostHits;
32  track_innerOk = innerOk; track_outerRadius = outerRadius; track_chi2 = chi2;
33  track_normalizedChi2 = normalizedChi2; track_p = p; track_pt = pt; track_ptError = ptError;
35  track_emc5 = emc5; track_hac1 = hac1; track_hac3 = hac3; track_hac5 = hac5;
36  track_maxPNearby = maxPNearby; track_EnergyIn = EnergyIn; track_EnergyOut = EnergyOut;
37  distofmax = dist;
38  }
39 
43 
45 
46 };
47 
48 #endif
Double_t track_theta
Definition: EopVariables.h:40
Double_t track_emc5
Definition: EopVariables.h:40
container to hold data to be written into TTree
Definition: EopVariables.h:8
Double_t track_EnergyOut
Definition: EopVariables.h:40
Double_t track_hac5
Definition: EopVariables.h:40
Int_t track_nHits
Definition: EopVariables.h:44
Geom::Theta< T > theta() const
void clear()
set to empty values
Definition: EopVariables.h:14
Double_t track_maxPNearby
Definition: EopVariables.h:40
T eta() const
double charge(const std::vector< uint8_t > &Ampls)
Double_t track_phi
Definition: EopVariables.h:40
Double_t track_eta
Definition: EopVariables.h:40
Double_t track_emc1
Definition: EopVariables.h:40
Int_t track_charge
Definition: EopVariables.h:44
Int_t track_nLostHits
Definition: EopVariables.h:44
Double_t distofmax
Definition: EopVariables.h:40
Double_t track_pt
Definition: EopVariables.h:40
Double_t track_hac3
Definition: EopVariables.h:40
Double_t track_p
Definition: EopVariables.h:40
Double_t track_chi2
Definition: EopVariables.h:40
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:25
Double_t track_ptError
Definition: EopVariables.h:40
Double_t track_hac1
Definition: EopVariables.h:40
Double_t track_normalizedChi2
Definition: EopVariables.h:40
Double_t track_emc3
Definition: EopVariables.h:40
EopVariables()
constructor initialises to empty values
Definition: EopVariables.h:11
Double_t track_EnergyIn
Definition: EopVariables.h:40
Double_t track_outerRadius
Definition: EopVariables.h:40
Int_t track_innerOk
Definition: EopVariables.h:44
Definition: DDAxes.h:10