CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch1/src/Alignment/OfflineValidation/interface/EopVariables.h

Go to the documentation of this file.
00001 #ifndef Alignment_OfflineValidation_EopVariables_h
00002 #define Alignment_OfflineValidation_EopVariables_h
00003 
00004 // For ROOT types with '_t':
00005 #include <Rtypes.h>
00006 
00008 struct EopVariables
00009 {
00011   EopVariables()  {this->clear();}
00012   
00014   void clear() {
00016     track_outerRadius = track_chi2 = track_normalizedChi2 = track_p = track_pt = 
00017       track_ptError = track_theta = track_eta = track_phi = track_emc1 = track_emc3 = 
00018       track_emc5 = track_hac1 = track_hac3 = track_hac5 = track_maxPNearby = 
00019       track_EnergyIn = track_EnergyOut = distofmax = 0.;
00021     track_charge = track_nHits = track_nLostHits = track_innerOk = 0;
00022 
00023   }
00025   void fillVariables(Int_t charge, Int_t innerOk, Double_t outerRadius, Int_t numberOfValidHits, 
00026                      Int_t numberOfLostHits, Double_t chi2, Double_t normalizedChi2, Double_t p, 
00027                      Double_t pt, Double_t ptError, Double_t theta, Double_t eta, Double_t phi, 
00028                      Double_t emc1, Double_t emc3, Double_t emc5, Double_t hac1, Double_t hac3, 
00029                      Double_t hac5, Double_t maxPNearby, Double_t dist, Double_t EnergyIn, 
00030                      Double_t EnergyOut) {
00031     track_charge = charge; track_nHits = numberOfValidHits; track_nLostHits = numberOfLostHits;  
00032     track_innerOk = innerOk; track_outerRadius = outerRadius; track_chi2 = chi2; 
00033     track_normalizedChi2 = normalizedChi2; track_p = p; track_pt = pt; track_ptError = ptError; 
00034     track_theta = theta; track_eta = eta; track_phi = phi; track_emc1 = emc1; track_emc3 = emc3; 
00035     track_emc5 = emc5; track_hac1 = hac1; track_hac3 = hac3; track_hac5 = hac5;
00036     track_maxPNearby = maxPNearby; track_EnergyIn = EnergyIn; track_EnergyOut = EnergyOut;
00037     distofmax = dist;
00038   }
00039   
00040   Double_t track_outerRadius, track_chi2, track_normalizedChi2, track_p, track_pt, track_ptError, 
00041     track_theta, track_eta, track_phi, track_emc1, track_emc3, track_emc5, track_hac1, track_hac3, 
00042     track_hac5, track_maxPNearby, track_EnergyIn, track_EnergyOut, distofmax;
00043   
00044   Int_t track_charge, track_nHits, track_nLostHits, track_innerOk;
00045 
00046 };
00047 
00048 #endif