5#ifndef TRIGTAUMONITORING_TRIGTAUINFO_H
6#define TRIGTAUMONITORING_TRIGTAUINFO_H
18 TrigTauInfo(
const std::string& trigger,
const std::map<std::string, float>& L1Phase1_thresholds);
19 TrigTauInfo(
const std::string& trigger,
const std::map<std::string, float>& L1Phase1_thresholds,
const std::map<std::string, uint64_t>& L1Phase1_threshold_patterns);
20 TrigTauInfo(
const std::string& trigger,
const std::map<int, int>& L1Phase1ThrMap_eTAU,
const std::map<int, int>& L1Phase1ThrMap_jTAU);
99 return !s.empty() && std::find_if(s.begin(), s.end(), [](
unsigned char c) {return !std::isdigit(c);}) == s.end();
104 void parseTriggerString(
const std::map<std::string, float>& L1Phase1_thresholds,
const std::map<std::string, uint64_t>& L1Phase1_threshold_patterns);
105 void parseTriggerString(
const std::map<int, int>& L1Phase1ThrMap_eTAU,
const std::map<int, int>& L1Phase1ThrMap_jTAU);
const std::string & getTriggerName() const
const std::vector< float > & getHLTMuonThresholds() const
const std::vector< std::string > & getHLTTauTypes() const
const std::vector< float > & getHLTJetThresholds() const
const std::string getL1TauIsolation() const
const std::vector< float > & getHLTMETThresholds() const
float getHLTTauThreshold() const
std::vector< std::string > m_tauL1Iso
bool hasHLTMETLeg() const
std::vector< float > m_HLTMuonThr
std::vector< float > m_HLTGammaThr
float getHLTGammaThreshold() const
const std::vector< float > & getHLTElecThresholds() const
std::vector< std::string > m_L1Items
std::vector< std::string > m_HLTBoostedDitauName
bool isHLTBoostedDiTau() const
const std::vector< std::string > & getL1TauIsolations() const
std::vector< float > m_HLTElecThr
std::vector< std::string > m_tauL1Type
float getHLTMETThreshold() const
const std::vector< float > & getL1TauThresholds() const
float getL1TauThreshold() const
bool isHLTSingleTau() const
float getHLTElecThreshold() const
std::vector< std::string > m_tauL1Items
const std::vector< std::string > & getL1TauTypes() const
std::vector< std::string > m_HLTTauTypes
bool is_number(const std::string &s)
const std::string getHLTTauID() const
const std::vector< float > & getHLTGammaThresholds() const
void parseTriggerString(bool remove_L1_phase1_thresholds=true)
const std::vector< int64_t > & getL1TauThresholdPatterns() const
const std::vector< float > & getHLTTauThresholds() const
const std::string & getTriggerL1Name() const
const std::vector< std::string > & getHLTBoostedDitauName() const
const std::string getL1TauItem() const
bool areAnyL1TauIsolated() const
std::vector< std::string > m_HLTTauIDs
float getHLTJetThreshold() const
std::vector< int64_t > m_tauL1ThresholdPattern
const std::string getL1TauType() const
const std::vector< std::string > & getTriggerL1Items() const
std::vector< float > m_tauL1Thr
const std::vector< std::string > & getHLTTauIDs() const
int64_t getL1TauThresholdPattern() const
std::vector< float > m_HLTJetThr
bool hasHLTElectronLeg() const
bool isTauStreamer() const
float getHLTMuonThreshold() const
const std::vector< std::string > & getL1TauItems() const
bool hasHLTMuonLeg() const
bool isL1TauIsolated(const size_t idx=0) const
std::vector< float > m_HLTMETThr
bool hasHLTJetLeg() const
std::vector< float > m_HLTThr
const std::string getHLTTauType() const
bool hasHLTGammaLeg() const