ATLAS Offline Software
Loading...
Searching...
No Matches
TrigDecision_v1.h
Go to the documentation of this file.
1// Dear emacs, this is -*- c++ -*-
2
3/*
4 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5*/
6
7// $Id: TrigDecision_v1.h 631149 2014-11-26 12:26:18Z krasznaa $
8#ifndef XAODTRIGGER_VERSIONS_TRIGDECISION_V1_H
9#define XAODTRIGGER_VERSIONS_TRIGDECISION_V1_H
10
11// System include(s):
12extern "C" {
13# include <stdint.h>
14}
15#include <vector>
16#include <string>
17
18// EDM include(s):
20
21// TrigCompositeUtils::DecisionID
23
24namespace xAOD {
25
45
46 public:
49
52
54 uint32_t smk() const;
56 void setSMK( uint32_t value );
57
59
62
64 char bgCode() const;
66 void setBGCode( char value );
67
69 const std::vector< uint32_t >& tav() const;
71 void setTAV( const std::vector< uint32_t >& value );
72
74 const std::vector< uint32_t >& tap() const;
76 void setTAP( const std::vector< uint32_t >& value );
77
79 const std::vector< uint32_t >& tbp() const;
81 void setTBP( const std::vector< uint32_t >& value );
82
84
87
92
96 void setEFErrorBits( uint32_t value );
97
99 bool lvl2Truncated() const;
101 void setLVL2Truncated( bool value );
102
104 bool efTruncated() const;
106 void setEFTruncated( bool value );
107
109 const std::vector< uint32_t >& lvl2PassedPhysics() const;
111 void setLVL2PassedPhysics( const std::vector< uint32_t >& value );
112
114 const std::vector< uint32_t >& efPassedPhysics() const;
116 void setEFPassedPhysics( const std::vector< uint32_t >& value );
117
119 const std::vector< uint32_t >& lvl2PassedRaw() const;
121 void setLVL2PassedRaw( const std::vector< uint32_t >& value );
122
124 const std::vector< uint32_t >& efPassedRaw() const;
126 void setEFPassedRaw( const std::vector< uint32_t >& value );
127
129 const std::vector< uint32_t >& lvl2PassedThrough() const;
131 void setLVL2PassedThrough( const std::vector< uint32_t >& value );
132
134 const std::vector< uint32_t >& efPassedThrough() const;
136 void setEFPassedThrough( const std::vector< uint32_t >& value );
137
139 const std::vector< uint32_t >& lvl2Prescaled() const;
141 void setLVL2Prescaled( const std::vector< uint32_t >& value );
142
144 const std::vector< uint32_t >& efPrescaled() const;
146 void setEFPrescaled( const std::vector< uint32_t >& value );
147
149 const std::vector< uint32_t >& lvl2Resurrected() const;
151 void setLVL2Resurrected( const std::vector< uint32_t >& value );
152
154 const std::vector< uint32_t >& efResurrected() const;
156 void setEFResurrected( const std::vector< uint32_t >& value );
157
159
160 }; // class TrigDecision_v1
161
162 std::ostream& operator<<(std::ostream& s, const xAOD::TrigDecision_v1& td);
163
164} // namespace xAOD
165
166// Declare the inheritance of the type:
167#include "xAODCore/BaseInfo.h"
169
170#endif // XAODTRIGGER_VERSIONS_TRIGDECISION_V1_H
Base class for elements of a container that can have aux data.
#define SG_BASE(D, B)
Declare that class D derives from class B.
Base class for elements of a container that can have aux data.
Definition AuxElement.h:483
Interface to the raw trigger decision information of the event.
const std::vector< uint32_t > & efPrescaled() const
Get the EF prescaled bits.
void setLVL2Resurrected(const std::vector< uint32_t > &value)
Set the LVL2 resurrected bits.
void setTBP(const std::vector< uint32_t > &value)
Set the Trigger Before Prescale bits.
bool lvl2Truncated() const
Is the LVL2 result truncated?
const std::vector< uint32_t > & tav() const
Get the Trigger After Veto bits.
uint32_t smk() const
Get the Super Master Key describing this object.
const std::vector< uint32_t > & lvl2PassedPhysics() const
Get the LVL2 physics decision bits.
void setEFPassedPhysics(const std::vector< uint32_t > &value)
Set the EF physics decision bits.
void setEFTruncated(bool value)
Set whether the EF result is truncated.
const std::vector< uint32_t > & lvl2PassedRaw() const
Get the LVL2 passed-raw bits.
const std::vector< uint32_t > & efPassedThrough() const
Get the EF pass-through bits.
const std::vector< uint32_t > & lvl2PassedThrough() const
Get the LVL2 pass-through bits.
void setEFPrescaled(const std::vector< uint32_t > &value)
Set the EF prescaled bits.
void setLVL2Prescaled(const std::vector< uint32_t > &value)
Set the LVL2 prescaled bits.
void setEFPassedThrough(const std::vector< uint32_t > &value)
Set the EF pass-through bits.
void setEFResurrected(const std::vector< uint32_t > &value)
Set the EF resurrected bits.
bool efTruncated() const
Is the EF result truncated?
const std::vector< uint32_t > & lvl2Resurrected() const
Get the LVL2 resurrected bits.
const std::vector< uint32_t > & efPassedPhysics() const
Get the EF physics decision bits.
const std::vector< uint32_t > & lvl2Prescaled() const
Get the LVL2 prescaled bits.
const std::vector< uint32_t > & tap() const
Get the Trigger After Prescale bits.
void setLVL2PassedPhysics(const std::vector< uint32_t > &value)
Set the LVL2 physics decision bits.
const std::vector< uint32_t > & efPassedRaw() const
Get the EF passed-raw bits.
void setLVL2PassedRaw(const std::vector< uint32_t > &value)
Set the LVL2 passed-raw bits.
char bgCode() const
Get the bunch group code of the current event.
void setEFPassedRaw(const std::vector< uint32_t > &value)
Set the EF passed-raw bits.
const std::vector< uint32_t > & tbp() const
Get the Trigger Before Prescale bits.
const std::vector< uint32_t > & efResurrected() const
Get the EF resurrected bits.
void setSMK(uint32_t value)
Set the Super Master Key describing this object.
void setLVL2PassedThrough(const std::vector< uint32_t > &value)
Set the LVL2 pass-through bits.
void setTAP(const std::vector< uint32_t > &value)
Set the Trigger After Prescale bits.
TrigDecision_v1()
Default constructor.
void setEFErrorBits(uint32_t value)
Set a summary of all errors that happened during the EF execution.
void setTAV(const std::vector< uint32_t > &value)
Set the Trigger After Veto bits.
void setLVL2Truncated(bool value)
Set whether the LVL2 result is truncated.
uint32_t efErrorBits() const
Get a summary of all errors that happened during the EF execution.
uint32_t lvl2ErrorBits() const
Get a summary of all errors that happened during the LVL2 execution.
void setLVL2ErrorBits(uint32_t value)
Set a summary of all errors that happened during the LVL2 execution.
void setBGCode(char value)
Set the bunch group code of the current event.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
std::ostream & operator<<(std::ostream &out, const std::pair< FIRST, SECOND > &pair)
Helper print operator.
setEventNumber uint32_t