File indexing completed on 2024-07-16 02:42:43
0001 #ifndef DataFormats_L1TGlobal_AXOL1TLScore_h
0002 #define DataFormats_L1TGlobal_AXOL1TLScore_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #include <vector>
0018 #include <iostream>
0019 #include <iomanip>
0020
0021
0022 #include "FWCore/Utilities/interface/typedefs.h"
0023 #include "DataFormats/L1Trigger/interface/L1Candidate.h"
0024 #include "DataFormats/L1Trigger/interface/BXVector.h"
0025 #include "DataFormats/L1Trigger/interface/L1TObjComparison.h"
0026
0027
0028
0029
0030 class AXOL1TLScore;
0031 typedef BXVector<AXOL1TLScore> AXOL1TLScoreBxCollection;
0032
0033 typedef l1t::ObjectRef<AXOL1TLScore> AXOL1TLScoreRef;
0034 typedef l1t::ObjectRefBxCollection<AXOL1TLScore> AXOL1TLScoreRefBxCollection;
0035
0036
0037
0038
0039 class AXOL1TLScore {
0040 public:
0041
0042 AXOL1TLScore();
0043
0044 AXOL1TLScore(int bxInEvent);
0045
0046 AXOL1TLScore(int bxInEvent, float score);
0047
0048
0049 virtual ~AXOL1TLScore();
0050
0051
0052 void setAXOScore(float score) { axoscore_ = score; }
0053 void setbxInEventNr(int bxNr) { m_bxInEvent = bxNr; }
0054
0055 inline float const& getAXOScore() const { return axoscore_; }
0056 inline const int getbxInEventNr() const { return m_bxInEvent; }
0057
0058 void reset();
0059
0060 private:
0061
0062 int m_bxInEvent;
0063
0064
0065 float axoscore_;
0066
0067
0068
0069 };
0070
0071 #endif