ATLAS Offline Software
LArOFCBinP.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef LARRAWCONDITIONS_LAROFCBINP
6 #define LARRAWCONDITIONS_LAROFCBINP
7 
8 class LArOFCBinP {
9  public:
11  LArOFCBinP(int b) : m_bin(b) {}
12  bool isEmpty() const {return (m_bin==ERRORCODE);};
13  int m_bin;
14  enum {ERRORCODE=-999};
15 };
16 
17 #endif
LArOFCBinP
Definition: LArOFCBinP.h:8
LArOFCBinP::LArOFCBinP
LArOFCBinP()
Definition: LArOFCBinP.h:10
LArOFCBinP::m_bin
int m_bin
Definition: LArOFCBinP.h:12
LArOFCBinP::LArOFCBinP
LArOFCBinP(int b)
Definition: LArOFCBinP.h:11
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
LArOFCBinP::ERRORCODE
@ ERRORCODE
Definition: LArOFCBinP.h:14
LArOFCBinP::isEmpty
bool isEmpty() const
Definition: LArOFCBinP.h:12