ATLAS Offline Software
JetEventInfo.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef JETCALIBTOOLS_JETEVENTINFO_H
6 #define JETCALIBTOOLS_JETEVENTINFO_H
7 
8 class JetEventInfo {
9 
10  public:
13  virtual ~JetEventInfo() { }
14 
15  void setRho(double rho) { m_rho = rho; }
16  void setMu(double mu) { m_mu = mu; }
17  void setNPV(double NPV) { m_npv = NPV; }
18  void setNjet(double nJet) { m_nJet = nJet; }
19  void setPVIndex(int PVindex) { m_PVindex = PVindex; }
21  void setBcidDistanceFromFront(Int_t BcidDistanceFromFront) { m_bcidDistanceFromFront = BcidDistanceFromFront; }
22  void setBcidGapBeforeTrain(Int_t BcidGapBeforeTrain) { m_bcidGapBeforeTrain = BcidGapBeforeTrain; }
23  void setBcidGapBeforeTrainMinus12(Int_t BcidGapBeforeTrainMinus12) { m_bcidGapBeforeTrainMinus12 = BcidGapBeforeTrainMinus12; }
24 
25 
26  double rho() { return m_rho; }
27  double mu() { return m_mu; }
28  double NPV() { return m_npv; }
29  int nJet() { return m_nJet; }
30  int PVIndex() { return m_PVindex; }
31  UInt_t runNumber() { return m_runNumber; }
35 
36  private:
37  //bool m_filled;
38  double m_rho;
39  double m_mu;
40  double m_npv;
41  int m_nJet;
42  int m_PVindex;
43  UInt_t m_runNumber;
47 
48 };
49 
50 #endif //> !JETCALIBTOOLS_JETEVENTINFO_H
JetEventInfo::setBcidDistanceFromFront
void setBcidDistanceFromFront(Int_t BcidDistanceFromFront)
Definition: JetEventInfo.h:21
JetEventInfo::m_nJet
int m_nJet
Definition: JetEventInfo.h:41
JetEventInfo::m_runNumber
UInt_t m_runNumber
Definition: JetEventInfo.h:43
JetEventInfo::bcidGapBeforeTrainMinus12
Int_t bcidGapBeforeTrainMinus12()
Definition: JetEventInfo.h:34
JetEventInfo::bcidGapBeforeTrain
Int_t bcidGapBeforeTrain()
Definition: JetEventInfo.h:33
JetEventInfo::PVIndex
int PVIndex()
Definition: JetEventInfo.h:30
JetEventInfo::JetEventInfo
JetEventInfo()
Definition: JetEventInfo.h:11
JetEventInfo::setRho
void setRho(double rho)
Definition: JetEventInfo.h:15
JetEventInfo::nJet
int nJet()
Definition: JetEventInfo.h:29
JetEventInfo::NPV
double NPV()
Definition: JetEventInfo.h:28
JetEventInfo::m_PVindex
int m_PVindex
Definition: JetEventInfo.h:42
JetEventInfo::setBcidGapBeforeTrain
void setBcidGapBeforeTrain(Int_t BcidGapBeforeTrain)
Definition: JetEventInfo.h:22
JetEventInfo::m_npv
double m_npv
Definition: JetEventInfo.h:40
JetEventInfo::m_bcidGapBeforeTrainMinus12
Int_t m_bcidGapBeforeTrainMinus12
Definition: JetEventInfo.h:46
JetEventInfo::setBcidGapBeforeTrainMinus12
void setBcidGapBeforeTrainMinus12(Int_t BcidGapBeforeTrainMinus12)
Definition: JetEventInfo.h:23
JetEventInfo::setNjet
void setNjet(double nJet)
Definition: JetEventInfo.h:18
JetEventInfo
Definition: JetEventInfo.h:8
JetEventInfo::mu
double mu()
Definition: JetEventInfo.h:27
JetEventInfo::~JetEventInfo
virtual ~JetEventInfo()
Definition: JetEventInfo.h:13
JetEventInfo::m_rho
double m_rho
Definition: JetEventInfo.h:38
JetEventInfo::setNPV
void setNPV(double NPV)
Definition: JetEventInfo.h:17
JetEventInfo::rho
double rho()
Definition: JetEventInfo.h:26
EventInfoWrite.RunNumber
RunNumber
Definition: EventInfoWrite.py:50
JetEventInfo::setPVIndex
void setPVIndex(int PVindex)
Definition: JetEventInfo.h:19
JetEventInfo::bcidDistanceFromFront
Int_t bcidDistanceFromFront()
Definition: JetEventInfo.h:32
JetEventInfo::m_mu
double m_mu
Definition: JetEventInfo.h:39
JetEventInfo::m_bcidDistanceFromFront
Int_t m_bcidDistanceFromFront
Definition: JetEventInfo.h:44
JetEventInfo::setRunNumber
void setRunNumber(UInt_t RunNumber)
Definition: JetEventInfo.h:20
JetEventInfo::runNumber
UInt_t runNumber()
Definition: JetEventInfo.h:31
JetEventInfo::m_bcidGapBeforeTrain
Int_t m_bcidGapBeforeTrain
Definition: JetEventInfo.h:45
JetEventInfo::setMu
void setMu(double mu)
Definition: JetEventInfo.h:16