1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
#ifndef DataFormats_L1TGlobal_AXOL1TLScore_h
#define DataFormats_L1TGlobal_AXOL1TLScore_h
/**
* \class AXOL1TLScore
*
*
* Description: L1 micro Global Trigger - Extra NN score emulation information for AXOL1TL.
*
*
* \author: Melissa Quinnan - UC San Diego
*
*
*/
// system include files
#include <vector>
#include <iostream>
#include <iomanip>
// user include files
#include "FWCore/Utilities/interface/typedefs.h"
#include "DataFormats/L1Trigger/interface/L1Candidate.h"
#include "DataFormats/L1Trigger/interface/BXVector.h"
#include "DataFormats/L1Trigger/interface/L1TObjComparison.h"
// forward declarations
// namespace l1t {
class AXOL1TLScore;
typedef BXVector<AXOL1TLScore> AXOL1TLScoreBxCollection;
typedef l1t::ObjectRef<AXOL1TLScore> AXOL1TLScoreRef;
typedef l1t::ObjectRefBxCollection<AXOL1TLScore> AXOL1TLScoreRefBxCollection;
// typedef l1t::ObjectRefPair<AXOL1TLScore> AXOL1TLScoreRefPair;
// typedef l1t::ObjectRefPairBxCollection<AXOL1TLScore> AXOL1TLScoreRefPairBxCollection; //dont think pair part is needed
// class interface
class AXOL1TLScore {
public:
/// constructors
AXOL1TLScore(); //empty constructor
AXOL1TLScore(int bxInEvent);
AXOL1TLScore(int bxInEvent, float score);
/// destructor
virtual ~AXOL1TLScore();
///set/get axo score and other simple members
void setAXOScore(float score) { axoscore_ = score; }
void setbxInEventNr(int bxNr) { m_bxInEvent = bxNr; }
inline float const& getAXOScore() const { return axoscore_; }
inline const int getbxInEventNr() const { return m_bxInEvent; }
void reset();
private:
/// bunch cross in the GT event record (E,F,0,1,2)
int m_bxInEvent;
//axo score value
float axoscore_;
//store version or type of network?
// std::string nnversion;
};
//} l1t namespace
#endif /*DataFormats_L1TGlobal_AXOL1TLScore_h*/
|