|
ATLAS Offline Software
|
#include <TrigDecisionChecker.h>
|
| TrigDecisionChecker (const std::string &name, ISvcLocator *pSvcLocator) |
| std Gaudi Algorithm constructor More...
|
|
| ~TrigDecisionChecker () |
| std deconstructor More...
|
|
StatusCode | initialize () |
| std Gaudi initialize method More...
|
|
StatusCode | execute () |
| std Gaudi execute method -> use TrigDecisionTool to 'look' at the trigger data More...
|
|
StatusCode | finalize () |
| std Gaudi finalize method More...
|
|
virtual StatusCode | sysInitialize () override |
| Override sysInitialize. More...
|
|
virtual const DataObjIDColl & | extraOutputDeps () const override |
| Return the list of extra output dependencies. More...
|
|
ServiceHandle< StoreGateSvc > & | evtStore () |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | evtStore () const |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | detStore () const |
| The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
virtual StatusCode | sysStart () override |
| Handle START transition. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. More...
|
|
Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T > &t) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc="none") |
| Declare a new Gaudi property. More...
|
|
void | updateVHKA (Gaudi::Details::PropertyBase &) |
|
MsgStream & | msg () const |
|
MsgStream & | msg (const MSG::Level lvl) const |
|
bool | msgLvl (const MSG::Level lvl) const |
|
|
Gaudi::Property< bool > | m_eventDecisionPrintout {this, "WriteEventDecision", true} |
|
Gaudi::Property< std::string > | m_printoutFileName { this, "WriteOutFilename", "", "when set the stat is saved in this file"} |
|
std::map< std::string, int > | m_L1Summary |
|
std::vector< std::string > | m_summary |
|
std::vector< int > | m_summaryPass |
|
std::vector< int > | m_summaryPassRaw |
|
std::vector< int > | m_summaryPassPhys |
|
std::vector< int > | m_summaryChainPass |
|
std::vector< int > | m_summaryChainPassRaw |
|
std::vector< int > | m_summaryChainPassPhys |
|
std::vector< int > | m_summaryChainPT |
|
std::vector< int > | m_summaryChainPS |
|
bool | m_first_event |
|
Gaudi::Property< int > | m_monitoringBlockSize { this, "MonitoringBlock", 100} |
|
std::vector< int > | m_countEvent |
|
std::vector< int > | m_runCountSigs |
|
std::vector< std::vector< int > * > | m_countSigs |
|
Gaudi::Property< std::vector< std::string > > | m_countSigNames { this, "MonitoredChains", {} } |
|
int | m_eventNumber = 0 |
|
float | m_muSum = 0 |
|
ToolHandle< Trig::TrigDecisionTool > | m_trigDec {this, "TrigDecisionTool", "Trig::TrigDecisionTool/TrigDecisionTool"} |
| interface to use the trigger data: TriggerTool More...
|
|
Gaudi::Property< std::vector< std::string > > | m_muonItems { this, "MuonItems", {} } |
| Muon triggers to test output for. More...
|
|
Gaudi::Property< std::vector< std::string > > | m_bjetItems { this, "BjetItems", {} } |
|
Gaudi::Property< std::vector< std::string > > | m_bphysItems { this, "BphysicsItems", {} } |
|
Gaudi::Property< std::vector< std::string > > | m_electronItems { this, "ElectronItems", {} } |
| Bphysics chains to test. More...
|
|
Gaudi::Property< std::vector< std::string > > | m_photonItems { this, "PhotonItems", {} } |
|
Gaudi::Property< std::vector< std::string > > | m_TauItems { this, "TauItems", {} } |
|
Gaudi::Property< std::vector< std::string > > | m_minBiasItems { this, "MinBiasItems", {} } |
|
Gaudi::Property< std::vector< std::string > > | m_jetItems { this, "JetItems", {} } |
|
Gaudi::Property< std::vector< std::string > > | m_metItems { this, "MetItems", {} } |
|
std::vector< float > | m_chainPrescales |
|
std::vector< float > | m_chainPrescalesCalculated |
|
std::vector< float > | m_chain_passthrough |
|
std::vector< float > | m_chain_passthrough_calculated |
|
std::vector< int > | m_lower_chain_accept |
|
std::map< std::string, std::string > | m_lowerChainMap |
|
std::string | m_eventInfoName |
|
Gaudi::Property< bool > | m_checkBits { this, "CheckTrigPassBits", false, "TrigPassBits retrieval from TDT"} |
|
DataObjIDColl | m_extendedExtraObjects |
|
StoreGateSvc_t | m_evtStore |
| Pointer to StoreGate (event store by default) More...
|
|
StoreGateSvc_t | m_detStore |
| Pointer to StoreGate (detector store by default) More...
|
|
std::vector< SG::VarHandleKeyArray * > | m_vhka |
|
bool | m_varHandleArraysDeclared |
|
◆ StoreGateSvc_t
◆ TrigDecisionChecker()
TrigDecisionChecker::TrigDecisionChecker |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
pSvcLocator |
|
) |
| |
◆ ~TrigDecisionChecker()
TrigDecisionChecker::~TrigDecisionChecker |
( |
| ) |
|
◆ checkBjetEDM()
StatusCode TrigDecisionChecker::checkBjetEDM |
( |
const std::string & |
trigItem | ) |
|
|
private |
Definition at line 644 of file TrigDecisionChecker.cxx.
646 ATH_MSG_INFO(
"REGTEST ==========START of bjet EDM/Navigation check for chain " << trigItem <<
" ===========");
654 const std::vector< Trig::Combination >& bjetCombs = fc.
getCombinations();
655 ATH_MSG_INFO(
"REGTEST - RETRIEVED " << bjetCombs.size() <<
" COMBINATIONS FOR " << trigItem);
658 std::vector< Trig::Combination >::const_iterator bjetComb;
659 for( bjetComb = bjetCombs.begin(); bjetComb != bjetCombs.end(); ++bjetComb ) {
662 ATH_MSG_INFO(
"REGTEST - ------------ NEW COMBINATION ------------");
665 const std::vector< Trig::Feature<xAOD::VertexContainer> > onlinepvs_histo = comb.
get<
xAOD::VertexContainer>(
"EFHistoPrmVtx");
666 ATH_MSG_INFO(
"REGTEST - RETRIEVED PV (HISTO) - size: " << onlinepvs_histo.size());
667 if(onlinepvs_histo.size()) {
670 if(onlinepv_histo->
size()) {
671 ATH_MSG_INFO(
"REGTEST - - z[0]: " << (*(onlinepv_histo))[0]->
z());
676 const std::vector< Trig::Feature<xAOD::VertexContainer> > onlinepvs_id = comb.
get<
xAOD::VertexContainer>(
"xPrimVx");
677 ATH_MSG_INFO(
"REGTEST - RETRIEVED PV (IDTRK) - size: " << onlinepvs_id.size());
678 if(onlinepvs_id.size()) {
681 if(onlinepv_id->
size()) {
682 ATH_MSG_INFO(
"REGTEST - - z[0]: " << (*(onlinepv_id))[0]->
z());
687 const std::vector< Trig::Feature<xAOD::JetContainer> > onlinejets_efbjet = comb.
get<
xAOD::JetContainer>(
"TrigJetRec");
688 ATH_MSG_INFO(
"REGTEST - RETRIEVED JETS (EFBJET) - size: " << onlinejets_efbjet.size());
689 if(onlinejets_efbjet.size()) {
692 for(
const auto* jet_efbjet : *onlinejet_efbjet) {
694 ATH_MSG_INFO(
"REGTEST - - eta/phi: " << jet_efbjet->eta() <<
" / " << jet_efbjet->phi());
699 const std::vector< Trig::Feature<xAOD::JetContainer> > onlinejets_split = comb.
get<
xAOD::JetContainer>(
"SplitJet");
700 ATH_MSG_INFO(
"REGTEST - RETRIEVED JETS (SPLIT) - size: " << onlinejets_split.size());
701 if(onlinejets_split.size()) {
704 for(
const auto* jet_split : *onlinejet_split) {
706 ATH_MSG_INFO(
"REGTEST - - eta/phi: " << jet_split->eta() <<
" / " << jet_split->phi());
711 const std::vector< Trig::Feature<xAOD::JetContainer> > onlinejets_super = comb.
get<
xAOD::JetContainer>(
"SuperRoi");
712 ATH_MSG_INFO(
"REGTEST - RETRIEVED JETS (SUPER) - size: " << onlinejets_super.size());
713 if(onlinejets_super.size()) {
716 for(
const auto* jet_super : *onlinejet_super) {
718 ATH_MSG_INFO(
"REGTEST - - eta/phi: " << jet_super->eta() <<
" / " << jet_super->phi());
723 const std::vector< Trig::Feature<xAOD::TrackParticleContainer> > onlinetracks_prmvtx = comb.
get<
xAOD::TrackParticleContainer>(
"InDetTrigTrackingxAODCnv_BjetPrmVtx_FTF");
724 ATH_MSG_INFO(
"REGTEST - RETRIEVED TRACKS (BJETPRMVTX_FTF) - size: " << onlinetracks_prmvtx.size());
725 if(onlinetracks_prmvtx.size()) {
728 for(
const auto* trk : *onlinetrack_prmvtx) {
730 uint8_t nInn=0, nNext=0, nPix=0, nSCT=0;
735 ATH_MSG_INFO(
"REGTEST - - inn/next/pix/sct: " << (
int)nInn <<
" / " << (
int)nNext <<
" / " << (
int)nPix <<
" / " << (
int)nSCT);
740 const std::vector< Trig::Feature<xAOD::TrackParticleContainer> > onlinetracks_bjetftf = comb.
get<
xAOD::TrackParticleContainer>(
"InDetTrigTrackingxAODCnv_Bjet_FTF");
741 ATH_MSG_INFO(
"REGTEST - RETRIEVED TRACKS (BJET_FTF) - size: " << onlinetracks_bjetftf.size());
742 if(onlinetracks_bjetftf.size()) {
745 for(
const auto* trk : *onlinetrack_bjetftf) {
747 uint8_t nInn=0, nNext=0, nPix=0, nSCT=0;
752 ATH_MSG_INFO(
"REGTEST - - inn/next/pix/sct: " << (
int)nInn <<
" / " << (
int)nNext <<
" / " << (
int)nPix <<
" / " << (
int)nSCT);
757 const std::vector< Trig::Feature<xAOD::TrackParticleContainer> > onlinetracks_bjetprec = comb.
get<
xAOD::TrackParticleContainer>(
"InDetTrigTrackingxAODCnv_Bjet_IDTrig");
758 ATH_MSG_INFO(
"REGTEST - RETRIEVED TRACKS (BJET_IDTRIG) - size: " << onlinetracks_bjetprec.size());
759 if(onlinetracks_bjetprec.size()) {
762 for(
const auto* trk : *onlinetrack_bjetprec) {
764 uint8_t nInn=0, nNext=0, nPix=0, nSCT=0;
769 ATH_MSG_INFO(
"REGTEST - - inn/next/pix/sct: " << (
int)nInn <<
" / " << (
int)nNext <<
" / " << (
int)nPix <<
" / " << (
int)nSCT);
775 ATH_MSG_INFO(
"REGTEST - RETRIEVED BJETS - size: " << onlinebjets.size());
776 if(onlinebjets.size()) {
779 for(
const auto*
bjet : *onlinebjet) {
781 double wIP2D, wIP3D, wSV1, wCOMB, wMV1;
782 bjet->loglikelihoodratio(
"IP2D", wIP2D);
783 bjet->loglikelihoodratio(
"IP3D", wIP3D);
784 bjet->loglikelihoodratio(
"SV1", wSV1);
786 wMV1 =
bjet->MV1_discriminant();
787 ATH_MSG_INFO(
"REGTEST - - IP2D/IP3D/SV1/IP3D+SV1/MV1: " << wIP2D <<
" / " << wIP3D <<
" / " << wSV1 <<
" / " << wCOMB <<
" / " << wMV1);
793 msg(MSG::INFO) <<
"REGTEST ==========END of bjet EDM/Navigation check for chain " << trigItem <<
" ===========" <<
endmsg;
795 return StatusCode::SUCCESS;
◆ checkBphysEDM()
StatusCode TrigDecisionChecker::checkBphysEDM |
( |
const std::string & |
trigItem | ) |
|
|
private |
Bphysics EDM checker.
Definition at line 887 of file TrigDecisionChecker.cxx.
889 msg(MSG::INFO) <<
"REGTEST ==========START of Bphysics EDM/Navigation check for chain " << trigItem <<
" ===========" <<
endmsg;
896 ATH_MSG_INFO(
"Size of vector< Trig::Feature<xAOD::TrigBphysContainer> > = " << fc_bphys.size());
898 for(
const auto& cont_bphys : fc_bphys ) {
899 ATH_MSG_INFO(
"REGTEST Got Bphysics container, size = " << cont_bphys.cptr()->size());
900 for (
auto bphys: *(cont_bphys.cptr()) ) {
901 ATH_MSG_INFO(
"REGTEST Bphysics Item mass, fitmass, secVx, nTP: "
902 << bphys->mass()*0.001 <<
" , " << bphys->fitmass() * 0.001 <<
" , "
903 << bphys->secondaryDecay() <<
" , " << bphys->nTrackParticles()
916 ATH_MSG_INFO(
"REGTEST ==========END of Bphysics EDM/Navigation check for chain " << trigItem <<
" ===========");
918 return StatusCode::SUCCESS;
◆ checkEDM()
template<class T >
StatusCode TrigDecisionChecker::checkEDM |
( |
const std::string & |
trigItem | ) |
|
|
private |
Definition at line 578 of file TrigDecisionChecker.cxx.
581 const auto fc =
m_trigDec->features(trigItem,TrigDefs::alsoDeactivateTEs);
582 const auto vec = fc.get<
T>();
584 std::string
label=
"";
585 for(
const auto& feat:vecbits){
586 const auto *xbits=feat.cptr();
588 const auto *cont=(
m_trigDec->ancestor<
T>(feat.te())).cptr();
591 <<
" size " << cont->size());
593 if(cont->size()!=xbits->size()) {
598 for(
const auto &
ptr:*cont){
599 if(xbits->isPassing(
ptr,cont))
603 <<
" size " << cont->size() <<
" xbits " << xbits->size() <<
" selected " << npassed);
609 for(
const auto& feat:
vec){
610 const auto *cont=feat.cptr();
626 const size_t bitlen = ( (cont->size() - 1)/32 ) + 1;
629 <<
" bits " << bits->
size() <<
" Expect vector of bits " << bitlen);
632 for(
const auto &
ptr:*cont){
637 <<
" size " << cont->size() <<
" xbits " << xbits->
size() <<
" selected " << npassed);
641 return StatusCode::SUCCESS;
◆ checkElectronEDM()
StatusCode TrigDecisionChecker::checkElectronEDM |
( |
const std::string & |
trigItem | ) |
|
|
private |
Definition at line 926 of file TrigDecisionChecker.cxx.
927 msg(MSG::INFO) <<
"REGTEST ==========START of Electron EDM/Navigation check for chain " << trigItem <<
" ===========" <<
endmsg;
933 ATH_MSG_INFO(
"Size of vector< Trig::Feature<xAOD::ElectronContainer> > = " << vec_el.size());
934 float val_float=-99.;
935 for(
const auto& elfeat : vec_el){
936 ATH_MSG_INFO(
"REGTEST: Got electron container, size = " << elfeat.cptr()->size());
939 for(
const auto eg : *elCont){
945 ATH_MSG_INFO(
" REGTEST: problems with egamma pointer" );
946 return StatusCode::SUCCESS;
949 if (
eg->caloCluster()) {
950 ATH_MSG_INFO(
" REGTEST: egamma cluster transverse energy: " <<
eg->caloCluster()->et() );
951 ATH_MSG_INFO(
" REGTEST: egamma cluster eta: " <<
eg->caloCluster()->eta() );
952 ATH_MSG_INFO(
" REGTEST: egamma cluster phi: " <<
eg->caloCluster()->phi() );
953 double tmpeta = -999.;
954 double tmpphi = -999.;
957 ATH_MSG_INFO(
" REGTEST: egamma cluster calo-frame coords. etaCalo = " << tmpeta);
958 ATH_MSG_INFO(
" REGTEST: egamma cluster calo-frame coords. phiCalo = " << tmpphi);
960 ATH_MSG_INFO(
" REGTEST: problems with egamma cluster pointer" );
963 if(
eg->trackParticle()){
965 ATH_MSG_INFO(
" REGTEST: charge= " <<
eg->trackParticle()->charge());
966 ATH_MSG_INFO(
" REGTEST: E/p= " <<
eg->caloCluster()->et() /
eg->trackParticle()->pt() );
968 ATH_MSG_INFO(
" REGTEST: Delta eta 1st sampling= " << val_float);
970 ATH_MSG_INFO(
" REGTEST: Delta phi 2nd sampling= " << val_float);
972 ATH_MSG_INFO(
" REGTEST: no electron eg->trackParticle() pointer");
977 msg(MSG::INFO) <<
"REGTEST ==========END of Electron EDM/Navigation check ===========" <<
endmsg;
978 return StatusCode::SUCCESS;
◆ checkJetEDM()
StatusCode TrigDecisionChecker::checkJetEDM |
( |
const std::string & |
trigItem | ) |
|
|
private |
Definition at line 1141 of file TrigDecisionChecker.cxx.
1144 ATH_MSG_INFO(
"REGTEST =====For chain " << trigItem <<
"=====");
1150 ATH_MSG_INFO(
"Size of vector< Trig::Feature<xAOD::JetContainer> > = " << vec_jet.size());
1151 for(
const auto& jetfeat : vec_jet){
1154 int jetContsize = jetCont->
size();
1155 ATH_MSG_INFO(
"REGTEST Got jet container, size: " << jetContsize);
1158 for(
const auto thisjet : *jetCont){
1173 ATH_MSG_INFO(
"REGTEST algorithm (kt: 0, cam: 1, antikt: 2, ...): " << thisjet->getAlgorithmType() );
1174 ATH_MSG_INFO(
"REGTEST size parameter: " << thisjet->getSizeParameter() );
1175 ATH_MSG_INFO(
"REGTEST input (LCTopo: 0, EMTopo: 1, ...): " << thisjet->getInputType() );
1176 ATH_MSG_INFO(
"REGTEST constituents signal state (uncalibrated: 0, calibrated: 1): " << thisjet->getConstituentsSignalState() );
1177 ATH_MSG_INFO(
"REGTEST number of constituents: " << thisjet->numConstituents() );
1181 return StatusCode::FAILURE;
1184 if (jetContsize ==
i)
ATH_MSG_INFO(
"REGTEST size of jet container == number of displayed jets: " << (jetContsize ==
i) );
1190 return StatusCode::SUCCESS;
◆ checkMetEDM()
StatusCode TrigDecisionChecker::checkMetEDM |
( |
const std::string & |
trigItem | ) |
|
|
private |
Definition at line 1193 of file TrigDecisionChecker.cxx.
1196 ATH_MSG_INFO(
"REGTEST =====For chain " << trigItem <<
"=====");
1202 ATH_MSG_INFO(
"Size of vector< Trig::Feature<xAOD::TrigMissingETContainer> > = " << vec_met.size());
1203 for(
const auto& metfeat : vec_met){
1221 return StatusCode::FAILURE;
1227 return StatusCode::SUCCESS;
◆ checkMinBiasEDM()
StatusCode TrigDecisionChecker::checkMinBiasEDM |
( |
const std::string & |
trigItem | ) |
|
|
private |
Definition at line 1024 of file TrigDecisionChecker.cxx.
1025 msg(MSG::INFO) <<
"REGTEST ==========START of MinBias EDM/Navigation check for chain " << trigItem <<
" ===========" <<
endmsg;
1036 msg(MSG::INFO) <<
"REGTEST ==========END of MinBias EDM/Navigation check ===========" <<
endmsg;
1037 return StatusCode::SUCCESS;
◆ checkMuonEDM()
StatusCode TrigDecisionChecker::checkMuonEDM |
( |
const std::string & |
trigItem | ) |
|
|
private |
Definition at line 798 of file TrigDecisionChecker.cxx.
800 msg(MSG::INFO) <<
"REGTEST ==========START of muon EDM/Navigation check for chain " << trigItem <<
" ===========" <<
endmsg;
807 ATH_MSG_INFO(
"Size of vector< Trig::Feature<xAOD::MuonContainer> > = " << vec_muons.size());
809 for(
const auto& mufeat : vec_muons ) {
810 ATH_MSG_INFO(
"REGTEST Got muon container, size = " << mufeat.cptr()->size());
811 for(
auto muItr : *(mufeat.cptr())) {
812 ATH_MSG_INFO(
"REGTEST MuonFeature with pt, eta, phi = " << muItr->pt() <<
", " << muItr->eta() <<
", " << muItr->phi());
817 ATH_MSG_INFO(
"Size of vector< Trig::Feature<xAOD::L2CombinedMuonContainer> > = " << vec_L2CBmuons.size());
819 for(
const auto& l2cbmufeat : vec_L2CBmuons) {
820 ATH_MSG_INFO(
"REGTEST Got muon container, size = " << l2cbmufeat.cptr()->size());
821 for(
auto l2cbmuItr : *(l2cbmufeat.cptr())) {
822 ATH_MSG_INFO(
"REGTEST MuonFeature with pt, eta, phi = " << l2cbmuItr->pt() <<
", " << l2cbmuItr->eta() <<
", " << l2cbmuItr->phi());
827 ATH_MSG_INFO(
"Size of vector< Trig::Feature<xAOD::L2StandAloneMuonContainer> > = " << vec_L2SAmuons.size());
829 for(
const auto& l2samufeat : vec_L2SAmuons) {
830 ATH_MSG_INFO(
"REGTEST Got muon container, size = " << l2samufeat.cptr()->size());
831 for(
auto l2samuItr : *(l2samufeat.cptr())) {
832 ATH_MSG_INFO(
"REGTEST MuonFeature with pt, eta, phi = " << l2samuItr->pt() <<
", " << l2samuItr->eta() <<
", " << l2samuItr->phi());
836 msg(MSG::INFO) <<
"REGTEST ==========END of muon EDM/Navigation check for chain " << trigItem <<
" ===========" <<
endmsg;
838 return StatusCode::SUCCESS;
◆ checkPhotonEDM()
StatusCode TrigDecisionChecker::checkPhotonEDM |
( |
const std::string & |
trigItem | ) |
|
|
private |
Definition at line 981 of file TrigDecisionChecker.cxx.
982 msg(MSG::INFO) <<
"REGTEST ==========START of Photon EDM/Navigation check for chain " << trigItem <<
" ===========" <<
endmsg;
988 ATH_MSG_INFO(
"Size of vector< Trig::Feature<xAOD::PhotonContainer> > = " << vec_ph.size());
990 for(
const auto& phfeat : vec_ph){
991 ATH_MSG_INFO(
"REGTEST: Got photon container, size = " << phfeat.cptr()->size());
994 for(
const auto eg : *phCont){
1000 ATH_MSG_INFO(
" REGTEST: problems with egamma pointer" );
1001 return StatusCode::SUCCESS;
1004 if (
eg->caloCluster()) {
1005 ATH_MSG_INFO(
" REGTEST: egamma cluster transverse energy: " <<
eg->caloCluster()->et() );
1006 ATH_MSG_INFO(
" REGTEST: egamma cluster eta: " <<
eg->caloCluster()->eta() );
1007 ATH_MSG_INFO(
" REGTEST: egamma cluster phi: " <<
eg->caloCluster()->phi() );
1008 double tmpeta = -999.;
1009 double tmpphi = -999.;
1012 ATH_MSG_INFO(
" REGTEST: egamma cluster calo-frame coords. etaCalo = " << tmpeta);
1013 ATH_MSG_INFO(
" REGTEST: egamma cluster calo-frame coords. phiCalo = " << tmpphi);
1015 ATH_MSG_INFO(
" REGTEST: problems with egamma cluster pointer" );
1020 msg(MSG::INFO) <<
"REGTEST ==========END of Photon EDM/Navigation check ===========" <<
endmsg;
1021 return StatusCode::SUCCESS;
◆ checkTauEDM()
StatusCode TrigDecisionChecker::checkTauEDM |
( |
const std::string & |
trigItem | ) |
|
|
private |
Definition at line 841 of file TrigDecisionChecker.cxx.
842 msg(MSG::INFO)<<
"REGTEST ==========START of tau EDM/Navigation check for chain " << trigItem<<
"===========" <<
endmsg;
845 ATH_MSG_INFO(
"Size of vector< Trig::Feature<xAOD::TauJetContainer> > = " << vec_tauHLTClust.size());
846 for(
const auto& cont_tau : vec_tauHLTClust) {
847 ATH_MSG_INFO(
"REGTEST Got Tau container, size = " << cont_tau.cptr()->size());
849 for(
auto tauItr : *(cont_tau.cptr())) {
851 msg(MSG::INFO) <<
"REGTEST "<<
" HLT tau number of tracks: "<<tauItr->nTracks()<<
endmsg;
852 msg(MSG::INFO) <<
"REGTEST "<<
" HLT tau pt : "<<tauItr->pt()<<
endmsg;
853 msg(MSG::INFO) <<
"REGTEST "<<
" HLT tau phi : "<<tauItr->phi()<<
endmsg;
854 msg(MSG::INFO) <<
"REGTEST "<<
" HLT tau eta : "<<tauItr->eta()<<
endmsg;
855 if( !tauItr->jetLink().isValid() ) {
857 return StatusCode::SUCCESS;
860 const xAOD::Jet* pJetSeed = *(tauItr->jetLink());
863 for (
int clusCount = 0; clusItr != clusItrE; ++clusItr, ++clusCount) {
864 ATH_MSG_INFO(
"REGTEST Tau Cluster " << clusCount <<
" pt = " << (*clusItr)->pt()<<
" eta = " << (*clusItr)->eta()<<
" phi = " << (*clusItr)->phi() );
866 for (
unsigned int trackNum = 0; trackNum < tauItr->nTracks(); ++trackNum) {
871 return StatusCode::SUCCESS;
875 ATH_MSG_INFO(
"REGTEST Tau linked track " << trackNum <<
" pt = " << linkTrack->
pt()<<
" eta = " << linkTrack->
eta() <<
" phi = " << linkTrack->
phi() );
881 msg(MSG::INFO) <<
"REGTEST ==========END of Tau EDM/Navigation check ===========" <<
endmsg;
882 return StatusCode::SUCCESS;
◆ checkTrigSpacePointCounts()
Definition at line 1040 of file TrigDecisionChecker.cxx.
1043 ATH_MSG_INFO(
"Size of vector< Trig::Feature<xAOD::TrigSpacePointCounts> > = " << vec_sp.size());
1048 for(
const auto& spfeat : vec_sp){
1065 ATH_MSG_INFO(
" REGTEST: problems with TrigSpacePointCounts pointer" );
◆ checkTrigT2MBTSBits()
Definition at line 1071 of file TrigDecisionChecker.cxx.
1074 ATH_MSG_INFO(
"Size of vector< Trig::Feature<xAOD::TrigT2MbtsBits> > = " << vec_mbts.size());
1079 for(
const auto& mbtsfeat : vec_mbts){
1085 ATH_MSG_INFO(
" REGTEST: problems with TrigT2MBTSBits pointer" );
◆ checkTrigTrackCounts()
Definition at line 1111 of file TrigDecisionChecker.cxx.
1114 ATH_MSG_INFO(
"Size of vector< Trig::Feature<xAOD::TrigTrackCounts> > = " << vec_t.size());
1119 for(
const auto& tfeat : vec_t){
1135 ATH_MSG_INFO(
" REGTEST: problems with TrigTrackCounts pointer" );
◆ checkTrigVertexCounts()
Definition at line 1091 of file TrigDecisionChecker.cxx.
1094 ATH_MSG_INFO(
"Size of vector< Trig::Feature<xAOD::TrigVertexCounts> > = " << vec_v.size());
1096 auto funu = [](
const std::vector<uint>&
vec){
uint sum = 0;
for (
const auto &
i:
vec)
sum +=
i;
return sum;};
1097 auto funf = [](
const std::vector<float>&
vec){
float sum = 0.;
for (
const auto &
i:
vec)
sum +=
i;
return sum;};
1099 for(
const auto& vfeat : vec_v){
1105 ATH_MSG_INFO(
" REGTEST: problems with TrigVertexCounts pointer" );
◆ declareGaudiProperty() [1/4]
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
175 hndl.documentation());
◆ declareGaudiProperty() [2/4]
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
161 hndl.documentation());
◆ declareGaudiProperty() [3/4]
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
189 hndl.documentation());
◆ declareGaudiProperty() [4/4]
◆ declareProperty() [1/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleBase
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 245 of file AthCommonDataStore.h.
250 this->declare(hndl.
vhKey());
251 hndl.
vhKey().setOwner(
this);
253 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [2/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
229 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [3/6]
◆ declareProperty() [4/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey
. It just forwards to the base class version of declareProperty
.
Definition at line 333 of file AthCommonDataStore.h.
338 return PBASE::declareProperty(
name, property,
doc);
◆ declareProperty() [5/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This dispatches to either the generic declareProperty
or the one for VarHandle/Key/KeyArray.
Definition at line 352 of file AthCommonDataStore.h.
◆ declareProperty() [6/6]
◆ detStore()
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ execute()
StatusCode TrigDecisionChecker::execute |
( |
| ) |
|
std Gaudi execute method -> use TrigDecisionTool to 'look' at the trigger data
Definition at line 248 of file TrigDecisionChecker.cxx.
261 if (
sc.isFailure() || !eventInfo )
264 sc = StatusCode::SUCCESS;
275 msg(MSG::INFO) <<
"mu value " <<
mu <<
" average mu value " << muave <<
" event number " <<
m_eventNumber <<
endmsg;
283 if (
sc.isFailure() ) {
284 msg(MSG::ERROR) <<
"Could not finish checkTauEDM test for chain " <<tauItem <<
endmsg;
288 if(checkEDM<xAOD::TauJetContainer>(tauItem).isFailure())
289 ATH_MSG_ERROR(
"Could not finish checkTauJetEDM test for chain " << tauItem);
295 if (
sc.isFailure() ) {
296 msg(MSG::ERROR) <<
"Could not finish checkMuonEDM test for chain " << muonItem <<
endmsg;
300 if(checkEDM<xAOD::MuonContainer>(muonItem).isFailure())
301 ATH_MSG_ERROR(
"Could not finish checkMuonEDM test for chain " << muonItem);
302 if(checkEDM<xAOD::L2CombinedMuonContainer>(muonItem).isFailure())
303 ATH_MSG_ERROR(
"Could not finish checkMuonEDM test for chain " << muonItem);
304 if(checkEDM<xAOD::L2StandAloneMuonContainer>(muonItem).isFailure())
305 ATH_MSG_ERROR(
"Could not finish checkMuonEDM test for chain " << muonItem);
311 if (
sc.isFailure() ) {
312 msg(MSG::ERROR) <<
"Could not finish checkBjetEDM test for chain " << bjetItem <<
endmsg;
316 if(checkEDM<xAOD::BTaggingContainer>(bjetItem).isFailure())
317 ATH_MSG_ERROR(
"Could not finish checkBjetEDM test for chain " << bjetItem);
323 if (
sc.isFailure() ) {
324 msg(MSG::ERROR) <<
"Could not finish checkBphysEDM test for chain " << bphysItem <<
endmsg;
328 if(checkEDM<xAOD::TrigBphysContainer>(bphysItem).isFailure())
329 ATH_MSG_ERROR(
"Could not finish checkJetEDM test for chain " << bphysItem);
336 if (
sc.isFailure() ) {
337 msg(MSG::ERROR) <<
"Could not finish checkElectronEDM test for chain " << electronItem <<
endmsg;
340 if(checkEDM<xAOD::ElectronContainer>(electronItem).isFailure())
341 ATH_MSG_ERROR(
"Could not finish checkElectronEDM test for chain " << electronItem);
342 if(checkEDM<xAOD::CaloClusterContainer>(electronItem).isFailure())
343 ATH_MSG_ERROR(
"Could not finish checkElectronEDM test for chain " << electronItem);
344 if(checkEDM<xAOD::TrigElectronContainer>(electronItem).isFailure())
345 ATH_MSG_ERROR(
"Could not finish checkElectronEDM test for chain " << electronItem);
351 if (
sc.isFailure() ) {
352 ATH_MSG_ERROR(
"Could not finish checkPhotonEDM test for chain " << photonItem);
355 if(checkEDM<xAOD::PhotonContainer>(photonItem).isFailure())
356 ATH_MSG_ERROR(
"Could not finish checkPhotonEDM test for chain " << photonItem);
357 if(checkEDM<xAOD::CaloClusterContainer>(photonItem).isFailure())
358 ATH_MSG_ERROR(
"Could not finish checkPhotonEDM test for chain " << photonItem);
364 if (
sc.isFailure() ) {
365 msg(MSG::ERROR) <<
"Could not finish checkMinBiasEDM test for chain " << minBiasItem <<
endmsg;
370 ATH_MSG_INFO(
"REGTEST ==========START of Jet EDM/Navigation check===========");
373 if (
sc.isFailure() ) {
374 ATH_MSG_INFO(
"REGTEST Could not finish checkJetEDM test for chain " << jetItem);
378 if(checkEDM<xAOD::JetContainer>(jetItem).isFailure())
379 ATH_MSG_ERROR(
"Could not finish checkJetEDM test for chain " << jetItem);
382 ATH_MSG_INFO(
"REGTEST ==========END of Jet EDM/Navigation check===========");
384 ATH_MSG_INFO(
"REGTEST ==========START of Met EDM/Navigation check===========");
387 if (
sc.isFailure() ) {
388 ATH_MSG_INFO(
"REGTEST Could not finish checkMetEDM test for chain " << metItem);
392 ATH_MSG_INFO(
"REGTEST =========END of Met EDM/Navigation check============");
395 msg(MSG::INFO) <<
"TrigDecisionChecker::execute" <<
endmsg;
405 std::vector<std::string> allItems =
m_trigDec->getListOfTriggers(
"L1_.*");
406 if (!allItems.empty()) {
409 for (std::vector<std::string>::const_iterator itemIt = allItems.begin();
410 itemIt != allItems.end(); ++itemIt) {
414 if (!aItem)
continue;
415 if (aItem->
name()==
"")
continue;
420 std::string item_name = aItem->
name();
438 std::vector<std::string> confChains =
m_trigDec->getListOfTriggers(
"L2_.*, EF_.*, HLT_.*");
439 msg(MSG::INFO) <<
"Configuring for " << confChains.size() <<
" HLT chain counters" <<
endmsg;
459 std::map<std::string,float> t_pt_map;
460 std::map<std::string,float> t_ps_map;
464 std::string
name = *chIter;
466 t_pt_map[
name] =
ch->pass_through();
467 t_ps_map[
name] =
ch->prescale();
470 <<
"; prescale=" <<
ch->prescale()
471 <<
"; passthrough=" <<
ch->pass_through()
472 <<
"; lower chain=" <<
ch->lower_chain_name());
483 if (psIt!=t_ps_map.end()) ps = (*psIt).second;
488 if (ptIt!=t_pt_map.end())
pt = (*ptIt).second;
505 if (
m_trigDec->isPassed(
name, TrigDefs::allowResurrectedDecision | TrigDefs::requireDecision) ) {
540 if ( !
m_trigDec->getListOfTriggers((*lcIt).second).empty() &&
m_trigDec->isPassed((*lcIt).second) ) {
546 msg(MSG::INFO) <<
"chain " <<
name <<
" = "
574 return StatusCode::SUCCESS;
◆ extraDeps_update_handler()
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
◆ extraOutputDeps()
const DataObjIDColl & AthAlgorithm::extraOutputDeps |
( |
| ) |
const |
|
overridevirtualinherited |
Return the list of extra output dependencies.
This list is extended to include symlinks implied by inheritance relations.
Definition at line 50 of file AthAlgorithm.cxx.
57 return Algorithm::extraOutputDeps();
◆ finalize()
StatusCode TrigDecisionChecker::finalize |
( |
| ) |
|
std Gaudi finalize method
m_lower_chain_accept[i]
m_lower_chain_accept[i]
Definition at line 137 of file TrigDecisionChecker.cxx.
141 msg(MSG::INFO) <<
"==========================================================" <<
endmsg;
142 msg(MSG::INFO) <<
"TrigDecisionTool summary:" <<
endmsg;
143 msg(MSG::INFO) <<
"==========================================================" <<
endmsg;
147 for ( itL1=
m_L1Summary.begin(); itL1!=itL1End; ++itL1 ) {
148 msg(MSG::INFO) <<
"REGTEST item " << (*itL1).first <<
" accepted events=" << (*itL1).second <<
endmsg;
159 ATH_MSG_INFO(
"TrigDecisionTool tests: monitored chain efficiency");
160 ATH_MSG_INFO(
"==================================================");
161 msg(MSG::INFO) <<
"REGTEST Nr.events: ";
176 ATH_MSG_INFO(
"TrigDecisionTool tests: chain prescale/passthrough ");
177 ATH_MSG_INFO(
"==================================================");
179 msg(MSG::INFO) <<
"REGTEST Chain (passed raw) PS(conf) PS(counts) PT(conf) PT(counts) (Lower chain)";
190 <<
" (lower chain passed no events)" <<
endmsg;
198 ATH_MSG_INFO(
"==================================================");
211 printoutFile << std::setiosflags(std::ios::left) << std::setw(25) <<
"* L1 item"
212 << std::setw(15) <<
" #Passed " << std::endl;
215 printoutFile << std::setiosflags(std::ios::left) << (*l1).first
216 << std::setw(10) << (*l1).second << std::endl;
219 printoutFile << std::setiosflags(std::ios::left) << std::setw(25) <<
"* Chain name"
220 << std::setw(15) <<
" #Passed Raw "
221 << std::setw(15) <<
" #passed "
222 << std::setw(15) <<
" #Physics Passed "<< std::endl;
224 printoutFile << std::setiosflags(std::ios::left) << std::setw(25) <<
m_summary[
i]
234 printoutFile.close();
238 ATH_MSG_INFO(
"==================================================");
245 return StatusCode::SUCCESS;
◆ initialize()
StatusCode TrigDecisionChecker::initialize |
( |
| ) |
|
◆ inputHandles()
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ msg() [1/2]
◆ msg() [2/2]
◆ msgLvl()
◆ outputHandles()
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ renounce()
◆ renounceArray()
◆ sysInitialize()
StatusCode AthAlgorithm::sysInitialize |
( |
| ) |
|
|
overridevirtualinherited |
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ updateVHKA()
◆ m_bjetItems
Gaudi::Property<std::vector<std::string> > TrigDecisionChecker::m_bjetItems { this, "BjetItems", {} } |
|
private |
◆ m_bphysItems
Gaudi::Property<std::vector<std::string> > TrigDecisionChecker::m_bphysItems { this, "BphysicsItems", {} } |
|
private |
◆ m_chain_passthrough
std::vector<float> TrigDecisionChecker::m_chain_passthrough |
|
private |
◆ m_chain_passthrough_calculated
std::vector<float> TrigDecisionChecker::m_chain_passthrough_calculated |
|
private |
◆ m_chainPrescales
std::vector<float> TrigDecisionChecker::m_chainPrescales |
|
private |
◆ m_chainPrescalesCalculated
std::vector<float> TrigDecisionChecker::m_chainPrescalesCalculated |
|
private |
◆ m_checkBits
Gaudi::Property<bool> TrigDecisionChecker::m_checkBits { this, "CheckTrigPassBits", false, "TrigPassBits retrieval from TDT"} |
|
private |
◆ m_countEvent
std::vector<int> TrigDecisionChecker::m_countEvent |
|
private |
◆ m_countSigNames
Gaudi::Property<std::vector<std::string> > TrigDecisionChecker::m_countSigNames { this, "MonitoredChains", {} } |
|
private |
◆ m_countSigs
std::vector<std::vector<int>* > TrigDecisionChecker::m_countSigs |
|
private |
◆ m_detStore
◆ m_electronItems
Gaudi::Property<std::vector<std::string> > TrigDecisionChecker::m_electronItems { this, "ElectronItems", {} } |
|
private |
◆ m_eventDecisionPrintout
Gaudi::Property<bool> TrigDecisionChecker::m_eventDecisionPrintout {this, "WriteEventDecision", true} |
|
private |
◆ m_eventInfoName
std::string TrigDecisionChecker::m_eventInfoName |
|
private |
◆ m_eventNumber
int TrigDecisionChecker::m_eventNumber = 0 |
|
private |
◆ m_evtStore
◆ m_extendedExtraObjects
DataObjIDColl AthAlgorithm::m_extendedExtraObjects |
|
privateinherited |
◆ m_first_event
bool TrigDecisionChecker::m_first_event |
|
private |
◆ m_jetItems
Gaudi::Property<std::vector<std::string> > TrigDecisionChecker::m_jetItems { this, "JetItems", {} } |
|
private |
◆ m_L1Summary
std::map<std::string,int> TrigDecisionChecker::m_L1Summary |
|
private |
◆ m_lower_chain_accept
std::vector<int> TrigDecisionChecker::m_lower_chain_accept |
|
private |
◆ m_lowerChainMap
std::map<std::string,std::string> TrigDecisionChecker::m_lowerChainMap |
|
private |
◆ m_metItems
Gaudi::Property<std::vector<std::string> > TrigDecisionChecker::m_metItems { this, "MetItems", {} } |
|
private |
◆ m_minBiasItems
Gaudi::Property<std::vector<std::string> > TrigDecisionChecker::m_minBiasItems { this, "MinBiasItems", {} } |
|
private |
◆ m_monitoringBlockSize
Gaudi::Property<int> TrigDecisionChecker::m_monitoringBlockSize { this, "MonitoringBlock", 100} |
|
private |
◆ m_muonItems
Gaudi::Property<std::vector<std::string> > TrigDecisionChecker::m_muonItems { this, "MuonItems", {} } |
|
private |
◆ m_muSum
float TrigDecisionChecker::m_muSum = 0 |
|
private |
◆ m_photonItems
Gaudi::Property<std::vector<std::string> > TrigDecisionChecker::m_photonItems { this, "PhotonItems", {} } |
|
private |
◆ m_printoutFileName
Gaudi::Property<std::string> TrigDecisionChecker::m_printoutFileName { this, "WriteOutFilename", "", "when set the stat is saved in this file"} |
|
private |
◆ m_runCountSigs
std::vector<int> TrigDecisionChecker::m_runCountSigs |
|
private |
◆ m_summary
std::vector<std::string> TrigDecisionChecker::m_summary |
|
private |
◆ m_summaryChainPass
std::vector<int> TrigDecisionChecker::m_summaryChainPass |
|
private |
◆ m_summaryChainPassPhys
std::vector<int> TrigDecisionChecker::m_summaryChainPassPhys |
|
private |
◆ m_summaryChainPassRaw
std::vector<int> TrigDecisionChecker::m_summaryChainPassRaw |
|
private |
◆ m_summaryChainPS
std::vector<int> TrigDecisionChecker::m_summaryChainPS |
|
private |
◆ m_summaryChainPT
std::vector<int> TrigDecisionChecker::m_summaryChainPT |
|
private |
◆ m_summaryPass
std::vector<int> TrigDecisionChecker::m_summaryPass |
|
private |
◆ m_summaryPassPhys
std::vector<int> TrigDecisionChecker::m_summaryPassPhys |
|
private |
◆ m_summaryPassRaw
std::vector<int> TrigDecisionChecker::m_summaryPassRaw |
|
private |
◆ m_TauItems
Gaudi::Property<std::vector<std::string> > TrigDecisionChecker::m_TauItems { this, "TauItems", {} } |
|
private |
◆ m_trigDec
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
JetConstituentVector::iterator iterator
unsigned int pixelClusSizeBins() const
virtual double pt() const override final
The transverse momentum ( ) of the particle.
const std::vector< float > & contentsPixelClusEndcapC() const
getters
float sumEt() const
Get the sum of the ET of the missing energy.
AthConfigFlags bjet(AthConfigFlags flags, str instanceName, str recoMode)
unsigned int sctSpBarrel() const
unsigned int pixelClusTotBins() const
Gaudi::Property< std::vector< std::string > > m_jetItems
bool isPassing(const OBJ *obj, const CONT *container) const
Check if an element of a container is passing/failing.
std::vector< float > m_chain_passthrough
void checkTrigSpacePointCounts(const Trig::FeatureContainer &fc)
const std::vector< float > & vtxTrkPtSqSum() const
std::vector< int > m_countEvent
void checkTrigT2MBTSBits(const Trig::FeatureContainer &fc)
unsigned int ptBins() const
Gaudi::Property< int > m_monitoringBlockSize
uint64_t eventNumber() const
The current event's event number.
Gaudi::Property< bool > m_eventDecisionPrintout
StatusCode checkMetEDM(const std::string &trigItem)
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
std::vector< float > m_chain_passthrough_calculated
virtual double eta() const override final
The pseudorapidity ( ) of the particle.
StatusCode checkMinBiasEDM(const std::string &trigItem)
iterator end() const
iterator after the last constituent
StatusCode checkElectronEDM(const std::string &trigItem)
std::vector< std::vector< int > * > m_countSigs
unsigned int z0Bins() const
unsigned int size() const
gets size of the bits array
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
unsigned int etaBins() const
std::vector< SG::VarHandleKeyArray * > m_vhka
float ex() const
Get the x component of the missing energy.
unsigned int sctSpEndcapA() const
const std::vector< unsigned int > & vtxNtrks() const
getters
@ numberOfPixelHits
these are the pixel hits, including the b-layer [unit8_t].
std::vector< int > m_summaryPassRaw
std::vector< int > m_summaryChainPassRaw
std::vector< size_t > vec
bool isPrescaled() const
is chain prescaled ?
#define ATH_MSG_VERBOSE(x)
HLT chain configuration information.
std::vector< float > m_chainPrescalesCalculated
JetConstituentVector getConstituents() const
Return a vector of consituents. The object behaves like vector<const IParticle*>. See JetConstituentV...
Gaudi::Property< std::vector< std::string > > m_bphysItems
Gaudi::Property< bool > m_checkBits
uint32_t runNumber() const
The current event's run number.
Gaudi::Property< std::vector< std::string > > m_electronItems
Bphysics chains to test.
virtual void setOwner(IDataHandleHolder *o)=0
StatusCode checkBjetEDM(const std::string &trigItem)
Gaudi::Property< std::vector< std::string > > m_minBiasItems
typename vecDetail::vec_typedef< T, N >::type vec
Define a nice alias for the vectorized type.
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
StatusCode checkJetEDM(const std::string &trigItem)
iterator begin() const
iterator on the first constituent
StatusCode checkMuonEDM(const std::string &trigItem)
std::vector< int > m_summaryChainPT
std::map< std::string, std::string > m_lowerChainMap
virtual StatusCode sysInitialize() override
Override sysInitialize.
std::vector< int > m_summaryPass
const std::vector< float > & contentsPixelClusEndcapA() const
static bool getLabel(unsigned int id, std::string &label)
find name from ID in the map m_IdToLabel
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
std::vector< int > m_summaryPassPhys
::StatusCode StatusCode
StatusCode definition for legacy code.
std::vector< int > m_summaryChainPS
std::vector< std::string > m_summary
uint32_t size() const
The size of the target container.
Type describing which elements in a container passed a trigger chain.
Default, invalid implementation of ClassID_traits.
float pixelClusSizeMin() const
std::vector< int > m_runCountSigs
const T * front() const
Access the first element in the collection as an rvalue.
std::vector< int > m_lower_chain_accept
StatusCode checkBphysEDM(const std::string &trigItem)
Bphysics EDM checker.
StatusCode checkPhotonEDM(const std::string &trigItem)
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
void checkTrigTrackCounts(const Trig::FeatureContainer &fc)
float sumE() const
Get the sum of the E of the missing energy.
uint32_t lumiBlock() const
The current event's luminosity block number.
const std::vector< float > & z0_pt() const
getters
std::vector< float > m_chainPrescales
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
std::vector< int > m_summaryChainPassPhys
float averageInteractionsPerCrossing() const
Average interactions per crossing for all BCIDs - for out-of-time pile-up.
StatusCode checkTauEDM(const std::string &trigItem)
@ numberOfNextToInnermostPixelLayerHits
these are the hits in the 1st pixel barrel layer
void checkTrigVertexCounts(const Trig::FeatureContainer &fc)
Gaudi::Property< std::vector< std::string > > m_bjetItems
const std::vector< Trig::Feature< T > > get(const std::string &label="", unsigned int condition=TrigDefs::Physics, const std::string &teName="") const
returns flattened vector of Features of given type This method is in fact sullied by 3 arguments.
Gaudi::Property< std::vector< std::string > > m_TauItems
@ deltaPhi2
difference between the cluster phi (second sampling) and the phi of the track extrapolated to the sec...
@ PHICALOFRAME
Phi in the calo frame (for egamma)
Class describing the basic event information.
std::string m_eventInfoName
DataObjIDColl m_extendedExtraObjects
unsigned int sctSpEndcapC() const
std::vector< Trig::Feature< T > > get(const std::string &label="", unsigned int condition=TrigDefs::Physics, const std::string &teName="") const
Method used to get objects.
void sort(typename std::reverse_iterator< DataModel_detail::iterator< DVL > > beg, typename std::reverse_iterator< DataModel_detail::iterator< DVL > > end, const Compare &comp)
Specialization of sort for DataVector/List.
#define ATH_MSG_WARNING(x)
Class holding the Missing ET trigger fex results.
Gaudi::Property< std::vector< std::string > > m_countSigNames
float ey() const
Get the y component of the missing energy.
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Gaudi::Property< std::vector< std::string > > m_metItems
Gaudi::Property< std::vector< std::string > > m_muonItems
Muon triggers to test output for.
float pixelClusTotMin() const
@ numberOfSCTHits
number of hits in SCT [unit8_t].
float ez() const
Get the z component of the missing energy.
AthAlgorithm()
Default constructor:
Gaudi::Property< std::string > m_printoutFileName
unsigned int hashId() const
const std::vector< Trig::Combination > & getCombinations() const
gives back reference to combinations collected through append
unsigned int getNumberOfComponents() const
Get the number of components.
Class describing a TrackParticle.
float pixelClusSizeMax() const
const Trk::Track * track() const
Returns a pointer (which can be NULL) to the Trk::Track which was used to make this TrackParticle.
Gaudi::Property< std::vector< std::string > > m_photonItems
@ deltaEta1
difference between the cluster eta (first sampling) and the eta of the track extrapolated to the firs...
ToolHandle< Trig::TrigDecisionTool > m_trigDec
interface to use the trigger data: TriggerTool
const std::vector< float > & triggerTimes() const
Return the relative times of the triggers.
@ ETACALOFRAME
Eta in the calo frame (for egamma)
std::vector< int > m_summaryChainPass
float pixelClusTotMax() const
size_type size() const noexcept
Returns the number of elements in the collection.
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
const std::string & name() const
const std::vector< float > & triggerEnergies() const
Return the trigger energies of each counter.
bool chainPassedRaw() const
const std::vector< float > & eta_phi() const
std::map< std::string, int > m_L1Summary
bool isPassedThrough() const
is chain passed through ?
virtual double phi() const override final
The azimuthal angle ( ) of the particle (has range to .)
const std::vector< float > & contentsPixelClusBarrel() const
@ numberOfInnermostPixelLayerHits
these are the hits in the 0th pixel barrel layer
float actualInteractionsPerCrossing() const
Average interactions per crossing for the current BCID - for in-time pile-up.