![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
7 #define CHAINPART_VARSEP "|"
8 #define CHAINPART_VARDEF ":"
9 #define CHAINPART_INDEX(cp,v) ((cp).find(v) +strlen(v))
10 #define CHAINPART_LENGTH(cp,v) ((cp).substr((cp).find(v) +strlen(v)).find(CHAINPART_VARSEP))
11 #define CHAINPART_VARIABLE(cp,v) (cp).substr(CHAINPART_INDEX((cp), (std::string(CHAINPART_VARSEP) + v + CHAINPART_VARDEF).c_str()), \
12 CHAINPART_LENGTH((cp), (std::string(CHAINPART_VARSEP) + v + CHAINPART_VARDEF).c_str()))
18 const std::vector< std::string >& definition)
27 if (definition.size() == 0) {
32 if (definition.size() == 1) {
33 ATH_MSG_ERROR(
"Couldn't parse chain definition: " << definition[0] );
41 std::size_t n_def_size = definition.size();
47 m_jvt.reserve(n_def_size);
51 for(
size_t chainPart_idx = 1; chainPart_idx < definition.size(); chainPart_idx++) {
53 std::string chainPart = definition[chainPart_idx];
72 if(jetpresel ==
"el") {
76 auto presel_separator = jetpresel.find(
"XX");
77 while(presel_separator != std::string::npos) {
78 m_jet_presel.push_back(jetpresel.substr(0, presel_separator));
79 jetpresel = jetpresel.substr(presel_separator + 2);
80 presel_separator = jetpresel.find(
"XX");
const std::vector< double > & jet_eta_min() const
void parseChainDefinition(const std::vector< std::string > &definition)
std::vector< std::string > m_tagger
The common trigger namespace for trigger analysis tools.
std::vector< std::string > m_jet_presel
etaRange
Filling Eta range.
const std::vector< int > & jet_multiplicity() const
const std::vector< bool > & is_PFlow() const
std::vector< double > m_jet_pt
#define CHAINPART_VARIABLE(cp, v)
std::vector< bool > m_is_PFlow
const std::string & name() const
Name.
const std::string & dijetmass() const
const std::vector< double > & jvt() const
Class to provide easy MsgStream access and capabilities.
const std::vector< double > & jet_pt() const
const std::vector< std::string > & tagger() const
const std::vector< std::string > & chainPartName() const
std::vector< std::string > m_chainPartName
std::string m_l1_requirement
TrigBtagEmulationChain(const std::string &name, const std::vector< std::string > &definition)
Constructors and Destructor.
std::vector< double > m_jvt
double e2(const xAOD::CaloCluster &cluster)
return the uncorrected cluster energy in 2nd sampling
std::vector< int > m_jet_multiplicity
const std::vector< double > & jet_eta_max() const
std::vector< double > m_jet_eta_max
std::vector< double > m_jet_eta_min