CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
EopVariables Struct Reference

container to hold data to be written into TTree More...

#include <EopVariables.h>

Public Member Functions

void clear ()
 set to empty values More...
 
 EopVariables ()
 constructor initialises to empty values More...
 
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 More...
 

Public Attributes

Double_t distofmax
 
Int_t track_charge
 
Double_t track_chi2
 
Double_t track_emc1
 
Double_t track_emc3
 
Double_t track_emc5
 
Double_t track_EnergyIn
 
Double_t track_EnergyOut
 
Double_t track_eta
 
Double_t track_hac1
 
Double_t track_hac3
 
Double_t track_hac5
 
Int_t track_innerOk
 
Double_t track_maxPNearby
 
Int_t track_nHits
 
Int_t track_nLostHits
 
Double_t track_normalizedChi2
 
Double_t track_outerRadius
 
Double_t track_p
 
Double_t track_phi
 
Double_t track_pt
 
Double_t track_ptError
 
Double_t track_theta
 

Detailed Description

container to hold data to be written into TTree

Definition at line 8 of file EopVariables.h.

Constructor & Destructor Documentation

◆ EopVariables()

EopVariables::EopVariables ( )
inline

constructor initialises to empty values

Definition at line 10 of file EopVariables.h.

References clear().

10 { this->clear(); }
void clear()
set to empty values
Definition: EopVariables.h:13

Member Function Documentation

◆ clear()

void EopVariables::clear ( )
inline

set to empty values

doubles

integers

Definition at line 13 of file EopVariables.h.

References distofmax, track_charge, track_chi2, track_emc1, track_emc3, track_emc5, track_EnergyIn, track_EnergyOut, track_eta, track_hac1, track_hac3, track_hac5, track_innerOk, track_maxPNearby, track_nHits, track_nLostHits, track_normalizedChi2, track_outerRadius, track_p, track_phi, track_pt, track_ptError, and track_theta.

Referenced by EopVariables().

13  {
20  }
Double_t track_theta
Definition: EopVariables.h:70
Double_t track_emc5
Definition: EopVariables.h:70
Double_t track_EnergyOut
Definition: EopVariables.h:70
Double_t track_hac5
Definition: EopVariables.h:70
Int_t track_nHits
Definition: EopVariables.h:74
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
Double_t track_hac3
Definition: EopVariables.h:70
Double_t track_p
Definition: EopVariables.h:70
Double_t track_chi2
Definition: EopVariables.h:70
Double_t track_ptError
Definition: EopVariables.h:70
Double_t track_hac1
Definition: EopVariables.h:70
Double_t track_normalizedChi2
Definition: EopVariables.h:70
Double_t track_emc3
Definition: EopVariables.h:70
Double_t track_EnergyIn
Definition: EopVariables.h:70
Double_t track_outerRadius
Definition: EopVariables.h:70
Int_t track_innerOk
Definition: EopVariables.h:74

◆ fillVariables()

void EopVariables::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 
)
inline

fill variables into tree

Definition at line 22 of file EopVariables.h.

References ALCARECOTkAlJpsiMuMu_cff::charge, nano_mu_local_reco_cff::chi2, distofmax, PVValHelper::eta, TrackCollections2monitor_cff::normalizedChi2, TrackCollections2monitor_cff::numberOfLostHits, TrackCollections2monitor_cff::numberOfValidHits, interestingEgammaIsoDetIdsSequence_cff::outerRadius, AlCaHLTBitMon_ParallelJobs::p, phi, DiDispStaMuonMonitor_cfi::pt, theta(), track_charge, track_chi2, track_emc1, track_emc3, track_emc5, track_EnergyIn, track_EnergyOut, track_eta, track_hac1, track_hac3, track_hac5, track_innerOk, track_maxPNearby, track_nHits, track_nLostHits, track_normalizedChi2, track_outerRadius, track_p, track_phi, track_pt, track_ptError, and track_theta.

Referenced by EopTreeWriter::analyze().

44  {
48  track_innerOk = innerOk;
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  }
Double_t track_theta
Definition: EopVariables.h:70
Double_t track_emc5
Definition: EopVariables.h:70
Double_t track_EnergyOut
Definition: EopVariables.h:70
Double_t track_hac5
Definition: EopVariables.h:70
Int_t track_nHits
Definition: EopVariables.h:74
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
Double_t track_hac3
Definition: EopVariables.h:70
Double_t track_p
Definition: EopVariables.h:70
Double_t track_chi2
Definition: EopVariables.h:70
Double_t track_ptError
Definition: EopVariables.h:70
Double_t track_hac1
Definition: EopVariables.h:70
Double_t track_normalizedChi2
Definition: EopVariables.h:70
Double_t track_emc3
Definition: EopVariables.h:70
Double_t track_EnergyIn
Definition: EopVariables.h:70
Geom::Theta< T > theta() const
Double_t track_outerRadius
Definition: EopVariables.h:70
Int_t track_innerOk
Definition: EopVariables.h:74

Member Data Documentation

◆ distofmax

Double_t EopVariables::distofmax

Definition at line 70 of file EopVariables.h.

Referenced by clear(), and fillVariables().

◆ track_charge

Int_t EopVariables::track_charge

Definition at line 74 of file EopVariables.h.

Referenced by clear(), and fillVariables().

◆ track_chi2

Double_t EopVariables::track_chi2

Definition at line 70 of file EopVariables.h.

Referenced by clear(), and fillVariables().

◆ track_emc1

Double_t EopVariables::track_emc1

Definition at line 70 of file EopVariables.h.

Referenced by clear(), and fillVariables().

◆ track_emc3

Double_t EopVariables::track_emc3

Definition at line 70 of file EopVariables.h.

Referenced by clear(), and fillVariables().

◆ track_emc5

Double_t EopVariables::track_emc5

Definition at line 70 of file EopVariables.h.

Referenced by clear(), and fillVariables().

◆ track_EnergyIn

Double_t EopVariables::track_EnergyIn

Definition at line 70 of file EopVariables.h.

Referenced by clear(), and fillVariables().

◆ track_EnergyOut

Double_t EopVariables::track_EnergyOut

Definition at line 70 of file EopVariables.h.

Referenced by clear(), and fillVariables().

◆ track_eta

Double_t EopVariables::track_eta

Definition at line 70 of file EopVariables.h.

Referenced by clear(), and fillVariables().

◆ track_hac1

Double_t EopVariables::track_hac1

Definition at line 70 of file EopVariables.h.

Referenced by clear(), and fillVariables().

◆ track_hac3

Double_t EopVariables::track_hac3

Definition at line 70 of file EopVariables.h.

Referenced by clear(), and fillVariables().

◆ track_hac5

Double_t EopVariables::track_hac5

Definition at line 70 of file EopVariables.h.

Referenced by clear(), and fillVariables().

◆ track_innerOk

Int_t EopVariables::track_innerOk

Definition at line 74 of file EopVariables.h.

Referenced by clear(), and fillVariables().

◆ track_maxPNearby

Double_t EopVariables::track_maxPNearby

Definition at line 70 of file EopVariables.h.

Referenced by clear(), and fillVariables().

◆ track_nHits

Int_t EopVariables::track_nHits

Definition at line 74 of file EopVariables.h.

Referenced by clear(), and fillVariables().

◆ track_nLostHits

Int_t EopVariables::track_nLostHits

Definition at line 74 of file EopVariables.h.

Referenced by clear(), and fillVariables().

◆ track_normalizedChi2

Double_t EopVariables::track_normalizedChi2

Definition at line 70 of file EopVariables.h.

Referenced by clear(), and fillVariables().

◆ track_outerRadius

Double_t EopVariables::track_outerRadius

Definition at line 70 of file EopVariables.h.

Referenced by clear(), and fillVariables().

◆ track_p

Double_t EopVariables::track_p

Definition at line 70 of file EopVariables.h.

Referenced by clear(), and fillVariables().

◆ track_phi

Double_t EopVariables::track_phi

Definition at line 70 of file EopVariables.h.

Referenced by clear(), and fillVariables().

◆ track_pt

Double_t EopVariables::track_pt

Definition at line 70 of file EopVariables.h.

Referenced by clear(), and fillVariables().

◆ track_ptError

Double_t EopVariables::track_ptError

Definition at line 70 of file EopVariables.h.

Referenced by clear(), and fillVariables().

◆ track_theta

Double_t EopVariables::track_theta

Definition at line 70 of file EopVariables.h.

Referenced by clear(), and fillVariables().