Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
#include <TForwardElectronIsEMSelector.h>
◆ TForwardElectronIsEMSelector()
TForwardElectronIsEMSelector::TForwardElectronIsEMSelector |
( |
const char * |
name = "TForwardElectronIsEMSelector" | ) |
|
◆ ~TForwardElectronIsEMSelector()
TForwardElectronIsEMSelector::~TForwardElectronIsEMSelector |
( |
| ) |
|
|
default |
◆ accept()
◆ calocuts_electrons()
unsigned int TForwardElectronIsEMSelector::calocuts_electrons |
( |
float |
eta, |
|
|
float |
nvtx, |
|
|
float |
secondLambda, |
|
|
float |
lateral, |
|
|
float |
longitudinal, |
|
|
float |
fracMax, |
|
|
float |
centerLambda, |
|
|
float |
secondR, |
|
|
unsigned int |
iflag |
|
) |
| const |
Definition at line 163 of file TForwardElectronIsEMSelector.cxx.
186 int ibin_nvtx =
bins.at(0);
187 int ibin_eta =
bins.at(1);
188 int ibin_combined =
bins.at(2);
197 if (ibin_eta >= 0 && ibin_nvtx >= 0 && ibin_combined >= 0) {
213 << secondLambda <<
" > "
232 << longitudinal <<
" > "
250 << centerLambda <<
" > "
◆ checkVar()
template<typename T >
template bool TForwardElectronIsEMSelector::checkVar< int > |
( |
const std::vector< T > & |
vec, |
|
|
int |
choice |
|
) |
| const |
|
private |
Definition at line 323 of file TForwardElectronIsEMSelector.cxx.
339 unsigned int etaTRTNB = 1;
342 unsigned int combinedNB = 0;
343 unsigned int combinedTRTNB = 0;
347 combinedNB = (etaNB - 1) * (etNB - 1);
352 combinedTRTNB = etaTRTNB;
356 if (
vec.size() != 1) {
364 if (
vec.size() != etaNB) {
372 if (
vec.size() != etaTRTNB) {
381 if (
vec.size() != etNB) {
390 if (
vec.size() != combinedNB) {
399 if (
vec.size() != combinedTRTNB) {
◆ fillAccept()
asg::AcceptData TForwardElectronIsEMSelector::fillAccept |
( |
unsigned int |
isEM | ) |
const |
|
private |
◆ findNvtxEtaBin()
std::vector< int > TForwardElectronIsEMSelector::findNvtxEtaBin |
( |
float |
nvtx, |
|
|
double |
eta |
|
) |
| const |
|
private |
Definition at line 260 of file TForwardElectronIsEMSelector.cxx.
270 ibin_nvtx = ibinNVTX;
275 ibin_nvtx = ibinNVTX;
279 ibin_nvtx = ibinNVTX;
305 int ibin_combined = -1;
307 ibin_combined = ibin_nvtx * ibin_eta - 1;
308 }
else if (ibin_eta == 1) {
309 ibin_combined = 2 * (ibin_nvtx * ibin_eta - 1);
315 std::vector<int>
bins{ ibin_nvtx, ibin_eta, ibin_combined };
◆ getAcceptInfo()
◆ initialize()
StatusCode TForwardElectronIsEMSelector::initialize |
( |
| ) |
|
Initialize this class.
Definition at line 83 of file TForwardElectronIsEMSelector.cxx.
97 sc = StatusCode::FAILURE;
109 sc = StatusCode::FAILURE;
115 sc = StatusCode::FAILURE;
121 sc = StatusCode::FAILURE;
127 sc = StatusCode::FAILURE;
133 sc = StatusCode::FAILURE;
139 sc = StatusCode::FAILURE;
141 if (
sc == StatusCode::FAILURE) {
143 "Exceeded the number of allowed cuts in TForwardElectronIsEMSelector");
◆ initMessaging()
void AthMessaging::initMessaging |
( |
| ) |
const |
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
◆ msg() [1/2]
MsgStream & asg::AsgMessaging::msg |
( |
| ) |
const |
|
inherited |
The standard message stream.
- Returns
- A reference to the default message stream of this object.
Definition at line 49 of file AsgMessaging.cxx.
50 #ifndef XAOD_STANDALONE
52 #else // not XAOD_STANDALONE
54 #endif // not XAOD_STANDALONE
◆ msg() [2/2]
MsgStream & asg::AsgMessaging::msg |
( |
const MSG::Level |
lvl | ) |
const |
|
inherited |
The standard message stream.
- Parameters
-
lvl | The message level to set the stream to |
- Returns
- A reference to the default message stream, set to level "lvl"
Definition at line 57 of file AsgMessaging.cxx.
58 #ifndef XAOD_STANDALONE
60 #else // not XAOD_STANDALONE
63 #endif // not XAOD_STANDALONE
◆ msgLvl()
bool asg::AsgMessaging::msgLvl |
( |
const MSG::Level |
lvl | ) |
const |
|
inherited |
Test the output level of the object.
- Parameters
-
lvl | The message level to test against |
- Returns
- boolean Indicting if messages at given level will be printed
-
true
If messages at level "lvl" will be printed
Definition at line 41 of file AsgMessaging.cxx.
42 #ifndef XAOD_STANDALONE
43 return ::AthMessaging::msgLvl( lvl );
44 #else // not XAOD_STANDALONE
45 return m_msg.msgLevel( lvl );
46 #endif // not XAOD_STANDALONE
◆ setLevel()
void AthMessaging::setLevel |
( |
MSG::Level |
lvl | ) |
|
|
inherited |
◆ ::AsgForwardElectronIsEMSelector
◆ ATLAS_THREAD_SAFE
std::atomic_flag m_initialized AthMessaging::ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
|
mutableprivateinherited |
◆ m_acceptInfo
◆ m_cutBinEta_ForwardElectron
std::vector<float> Root::TForwardElectronIsEMSelector::m_cutBinEta_ForwardElectron |
◆ m_cutCELLMAXFRAC_ForwardElectron
std::vector<float> Root::TForwardElectronIsEMSelector::m_cutCELLMAXFRAC_ForwardElectron |
◆ m_cutCENTERLAMBDA_ForwardElectron
std::vector<float> Root::TForwardElectronIsEMSelector::m_cutCENTERLAMBDA_ForwardElectron |
◆ m_cutLATERAL_ForwardElectron
std::vector<float> Root::TForwardElectronIsEMSelector::m_cutLATERAL_ForwardElectron |
◆ m_cutLONGITUDINAL_ForwardElectron
std::vector<float> Root::TForwardElectronIsEMSelector::m_cutLONGITUDINAL_ForwardElectron |
◆ m_cutNameBinEta_ForwardElectron
const std::string Root::TForwardElectronIsEMSelector::m_cutNameBinEta_ForwardElectron |
|
private |
◆ m_cutNameCELLMAXFRAC_ForwardElectron
const std::string Root::TForwardElectronIsEMSelector::m_cutNameCELLMAXFRAC_ForwardElectron |
|
private |
◆ m_cutNameCENTERLAMBDA_ForwardElectron
const std::string Root::TForwardElectronIsEMSelector::m_cutNameCENTERLAMBDA_ForwardElectron |
|
private |
◆ m_cutNameLATERAL_ForwardElectron
const std::string Root::TForwardElectronIsEMSelector::m_cutNameLATERAL_ForwardElectron |
|
private |
◆ m_cutNameLONGITUDINAL_ForwardElectron
const std::string Root::TForwardElectronIsEMSelector::m_cutNameLONGITUDINAL_ForwardElectron |
|
private |
◆ m_cutNameSECONDLAMBDA_ForwardElectron
const std::string Root::TForwardElectronIsEMSelector::m_cutNameSECONDLAMBDA_ForwardElectron |
|
private |
◆ m_cutNameSECONDR_ForwardElectron
const std::string Root::TForwardElectronIsEMSelector::m_cutNameSECONDR_ForwardElectron |
|
private |
◆ m_cutNameVxp_ForwardElectron
const std::string Root::TForwardElectronIsEMSelector::m_cutNameVxp_ForwardElectron |
|
private |
◆ m_cutPositionBinEta_ForwardElectron
int Root::TForwardElectronIsEMSelector::m_cutPositionBinEta_ForwardElectron |
|
private |
◆ m_cutPositionCELLMAXFRAC_ForwardElectron
int Root::TForwardElectronIsEMSelector::m_cutPositionCELLMAXFRAC_ForwardElectron |
|
private |
◆ m_cutPositionCENTERLAMBDA_ForwardElectron
int Root::TForwardElectronIsEMSelector::m_cutPositionCENTERLAMBDA_ForwardElectron |
|
private |
◆ m_cutPositionLATERAL_ForwardElectron
int Root::TForwardElectronIsEMSelector::m_cutPositionLATERAL_ForwardElectron |
|
private |
◆ m_cutPositionLONGITUDINAL_ForwardElectron
int Root::TForwardElectronIsEMSelector::m_cutPositionLONGITUDINAL_ForwardElectron |
|
private |
◆ m_cutPositionSECONDLAMBDA_ForwardElectron
int Root::TForwardElectronIsEMSelector::m_cutPositionSECONDLAMBDA_ForwardElectron |
|
private |
◆ m_cutPositionSECONDR_ForwardElectron
int Root::TForwardElectronIsEMSelector::m_cutPositionSECONDR_ForwardElectron |
|
private |
◆ m_cutSECONDLAMBDA_ForwardElectron
std::vector<float> Root::TForwardElectronIsEMSelector::m_cutSECONDLAMBDA_ForwardElectron |
◆ m_cutSECONDR_ForwardElectron
std::vector<float> Root::TForwardElectronIsEMSelector::m_cutSECONDR_ForwardElectron |
◆ m_cutVxp_ForwardElectron
std::vector<float> Root::TForwardElectronIsEMSelector::m_cutVxp_ForwardElectron |
◆ m_imsg
std::atomic<IMessageSvc*> AthMessaging::m_imsg { nullptr } |
|
mutableprivateinherited |
◆ m_isEMMask
unsigned int Root::TForwardElectronIsEMSelector::m_isEMMask |
◆ m_lvl
std::atomic<MSG::Level> AthMessaging::m_lvl { MSG::NIL } |
|
mutableprivateinherited |
◆ m_msg_tls
boost::thread_specific_ptr<MsgStream> AthMessaging::m_msg_tls |
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels)
Definition at line 132 of file AthMessaging.h.
◆ m_nm
std::string AthMessaging::m_nm |
|
privateinherited |
The documentation for this class was generated from the following files:
std::vector< float > m_cutCELLMAXFRAC_ForwardElectron
cut on maxFrac
std::atomic< MSG::Level > m_lvl
Current logging level.
const std::string m_cutNameLONGITUDINAL_ForwardElectron
std::vector< float > m_cutSECONDR_ForwardElectron
cut values for cut on secondR
std::vector< float > m_cutVxp_ForwardElectron
range of NPV bins for e-ID
asg::AcceptInfo m_acceptInfo
Accept info.
@ BinEta_ForwardElectron
cluster eta range
Scalar eta() const
pseudorapidity method
@ LATERAL_ForwardElectron
lateral shape moment
int m_cutPositionLATERAL_ForwardElectron
std::vector< float > m_cutCENTERLAMBDA_ForwardElectron
cut on centerlambda
int m_cutPositionCELLMAXFRAC_ForwardElectron
int m_cutPositionLONGITUDINAL_ForwardElectron
std::vector< size_t > vec
std::atomic< IMessageSvc * > m_imsg
MessageSvc pointer.
@ LONGITUDINAL_ForwardElectron
Longitudinal shape moment.
IMessageSvc * getMessageSvc(bool quiet=false)
int m_cutPositionSECONDR_ForwardElectron
@ CELLMAXFRAC_ForwardElectron
cell max frac shape moment
::StatusCode StatusCode
StatusCode definition for legacy code.
@ CENTERLAMBDA_ForwardElectron
center lambda shape moment
std::vector< float > m_cutSECONDLAMBDA_ForwardElectron
cut on secondlambda
const std::string m_cutNameCELLMAXFRAC_ForwardElectron
int m_cutPositionCENTERLAMBDA_ForwardElectron
std::vector< float > m_cutBinEta_ForwardElectron
range of eta bins for e-ID
const std::string m_cutNameCENTERLAMBDA_ForwardElectron
const std::string m_cutNameSECONDLAMBDA_ForwardElectron
unsigned int m_isEMMask
which subset of cuts to apply
std::vector< float > m_cutLATERAL_ForwardElectron
cut on lateral
const std::string m_cutNameSECONDR_ForwardElectron
Class mimicking the AthMessaging class from the offline software.
int m_cutPositionBinEta_ForwardElectron
cluster eta range
std::string m_nm
Message source name.
int m_cutPositionSECONDLAMBDA_ForwardElectron
std::vector< int > findNvtxEtaBin(float nvtx, double eta) const
const std::string m_cutNameLATERAL_ForwardElectron
bool checkVar(const std::vector< T > &vec, int choice) const
const std::string m_cutNameBinEta_ForwardElectron
@ SECONDLAMBDA_ForwardElectron
second lambda shape moment
std::vector< float > m_cutLONGITUDINAL_ForwardElectron
cut on longitudinal
@ SECONDR_ForwardElectron
secondR shape moment
int addCut(const std::string &cutName, const std::string &cutDescription)
Add a cut; returning the cut position.