Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-08-12 22:39:58

0001 #ifndef Alignment_OfflineValidation_EopElecVariables_h
0002 #define Alignment_OfflineValidation_EopElecVariables_h
0003 
0004 // For ROOT types with '_t':
0005 #include <Rtypes.h>
0006 
0007 // container to hold data to be written into TTree
0008 struct EopElecVariables {
0009   /// constructor initialises to empty values
0010   EopElecVariables() { clear(); }
0011   ~EopElecVariables() = default;
0012   /// set to empty values
0013   void clear() {
0014     /// doubles
0015     outerRadius = chi2 = normalizedChi2 = p = pt = ptError = theta = eta = phi = SC_energy = HcalEnergyIn01 =
0016         HcalEnergyIn02 = HcalEnergyIn03 = HcalEnergyIn04 = HcalEnergyIn05 = SC_etaWidth = SC_phiWidth = fbrem = SC_eta =
0017             SC_phi = pIn = pOut = etaIn = phiIn = etaOut = phiOut = px = py = pz = dRto1stSC = dRto2ndSC = 0.;
0018     /// integers
0019     charge = nHits = nLostHits = SC_nBasicClus = SC_algoID = RunNumber = EvtNumber = 0;
0020     /// booleans
0021     innerOk = isEcalDriven = isTrackerDriven = SC_isBarrel = SC_isEndcap = false;
0022 
0023     MaxPtIn01 = 0.;
0024     SumPtIn01 = 0.;
0025     NoTrackIn0015 = true;
0026     MaxPtIn02 = 0.;
0027     SumPtIn02 = 0.;
0028     NoTrackIn0020 = true;
0029     MaxPtIn03 = 0.;
0030     SumPtIn03 = 0.;
0031     NoTrackIn0025 = true;
0032     MaxPtIn04 = 0.;
0033     SumPtIn04 = 0.;
0034     NoTrackIn0030 = true;
0035     MaxPtIn05 = 0.;
0036     SumPtIn05 = 0.;
0037     NoTrackIn0035 = true;
0038     NoTrackIn0040 = true;
0039 
0040     px_rejected_track = 0.;
0041     py_rejected_track = 0.;
0042     pz_rejected_track = 0.;
0043     p_rejected_track = 0.;
0044   }
0045 
0046   Int_t charge;
0047   Int_t nHits;
0048   Int_t nLostHits;
0049   Bool_t innerOk;
0050   Double_t outerRadius;
0051   Double_t chi2;
0052   Double_t normalizedChi2;
0053   Double_t px_rejected_track;
0054   Double_t py_rejected_track;
0055   Double_t pz_rejected_track;
0056   Double_t p_rejected_track;
0057   Double_t px;
0058   Double_t py;
0059   Double_t pz;
0060   Double_t p;
0061   Double_t pIn;
0062   Double_t etaIn;
0063   Double_t phiIn;
0064   Double_t pOut;
0065   Double_t etaOut;
0066   Double_t phiOut;
0067   Double_t pt;
0068   Double_t ptError;
0069   Double_t theta;
0070   Double_t eta;
0071   Double_t phi;
0072   Double_t fbrem;
0073   Double_t MaxPtIn01;
0074   Double_t SumPtIn01;
0075   Bool_t NoTrackIn0015;
0076   Double_t MaxPtIn02;
0077   Double_t SumPtIn02;
0078   Bool_t NoTrackIn0020;
0079   Double_t MaxPtIn03;
0080   Double_t SumPtIn03;
0081   Bool_t NoTrackIn0025;
0082   Double_t MaxPtIn04;
0083   Double_t SumPtIn04;
0084   Bool_t NoTrackIn0030;
0085   Double_t MaxPtIn05;
0086   Double_t SumPtIn05;
0087   Bool_t NoTrackIn0035;
0088   Double_t NoTrackIn0040;
0089   Int_t SC_algoID;
0090   Double_t SC_energy;
0091   Int_t SC_nBasicClus;
0092   Double_t SC_etaWidth;
0093   Double_t SC_phiWidth;
0094   Double_t SC_eta;
0095   Double_t SC_phi;
0096   Bool_t SC_isBarrel;
0097   Bool_t SC_isEndcap;
0098   Double_t dRto1stSC;
0099   Double_t dRto2ndSC;
0100   Double_t HcalEnergyIn01;
0101   Double_t HcalEnergyIn02;
0102   Double_t HcalEnergyIn03;
0103   Double_t HcalEnergyIn04;
0104   Double_t HcalEnergyIn05;
0105   Bool_t isEcalDriven;
0106   Bool_t isTrackerDriven;
0107   Int_t RunNumber;
0108   Int_t EvtNumber;
0109 };
0110 
0111 #endif