ATLAS Offline Software
InnerDetector/InDetMonitoring/InDetGlobalMonitoring/macros/EnhancedPrimaryVertexMonitoring/TrigD3PD/ChainGroup.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: ChainGroup.h 318255 2010-08-27 11:46:34Z krasznaa $
8 #ifndef TRIGGERD3PDMAKER_CHAINGROUP_H
9 #define TRIGGERD3PDMAKER_CHAINGROUP_H
10 
11 // STL include(s):
12 #include <vector>
13 #include <string>
14 
15 // ROOT include(s):
16 #include <TNamed.h>
17 
18 // Local include(s):
19 #include "Conditions.h"
20 
21 namespace D3PD {
22 
23  // Forward declaration(s):
24  class TrigConfigSvcD3PD;
25  namespace Trig {
26  class IDataAccess;
27  class ChainGroupHandling;
28  }
29 
42  class ChainGroup : public TNamed {
43 
46 
47  protected:
49  ChainGroup( const std::vector< std::string >& triggerNames,
52 
53  public:
57  Float_t GetPrescale();
59  const std::vector< std::string >& GetListOfTriggers();
60 
61  private:
63  Bool_t Update();
65  static std::vector< std::string > ToVector( const std::string& names );
66 
69 
70  const std::vector< std::string > m_triggerNames;
71 
72  Int_t m_smk;
73  std::vector< std::string > m_existingTriggers;
74  std::vector< Int_t > m_existingIDs;
75 
76  ClassDef( ChainGroup, 0 )
77 
78  }; // class ChainGroup
79 
80 } // namespace D3PD
81 
82 #endif // TRIGGERD3PDMAKER_CHAINGROUP_H
D3PD::TrigDefs::Physics
@ Physics
"The" physics decision
Definition: InnerDetector/InDetMonitoring/InDetGlobalMonitoring/macros/EnhancedPrimaryVertexMonitoring/TrigD3PD/Conditions.h:48
D3PD::ChainGroup::ToVector
static std::vector< std::string > ToVector(const std::string &names)
Function splitting a comma separated list into a vector.
D3PD::ChainGroup::IsPassed
Bool_t IsPassed(TrigDefs::DecisionTypes type=TrigDefs::Physics)
Find out if the chain group passed the selection in the event.
D3PD::ChainGroup::m_triggerNames
const std::vector< std::string > m_triggerNames
The names given by the user.
Definition: InnerDetector/InDetMonitoring/InDetGlobalMonitoring/macros/EnhancedPrimaryVertexMonitoring/TrigD3PD/ChainGroup.h:70
D3PD::TrigDefs::DecisionTypes
DecisionTypes
Trigger decision types available from the D3PDs.
Definition: InnerDetector/InDetMonitoring/InDetGlobalMonitoring/macros/EnhancedPrimaryVertexMonitoring/TrigD3PD/Conditions.h:39
Trig
The common trigger namespace for trigger analysis tools.
Definition: CaloTowerVecMon.h:44
D3PD::ChainGroup::Update
Bool_t Update()
Update the object using the trigger configuration.
D3PD::ChainGroup::GetListOfTriggers
const std::vector< std::string > & GetListOfTriggers()
Get the list of triggers matching the selection.
D3PD::ChainGroup::m_parent
const Trig::IDataAccess & m_parent
Interface for accessing the trigger data.
Definition: InnerDetector/InDetMonitoring/InDetGlobalMonitoring/macros/EnhancedPrimaryVertexMonitoring/TrigD3PD/ChainGroup.h:67
D3PD::ChainGroup::m_existingTriggers
std::vector< std::string > m_existingTriggers
Names of the triggers.
Definition: InnerDetector/InDetMonitoring/InDetGlobalMonitoring/macros/EnhancedPrimaryVertexMonitoring/TrigD3PD/ChainGroup.h:73
D3PD::ChainGroup::m_smk
Int_t m_smk
The last SMK that was used to update the object.
Definition: InnerDetector/InDetMonitoring/InDetGlobalMonitoring/macros/EnhancedPrimaryVertexMonitoring/TrigD3PD/ChainGroup.h:72
D3PD::TrigConfigSvcD3PD
Class acting as a trigger configuration service on D3PDs.
Definition: TrigConfigSvcD3PD.h:40
Conditions.h
D3PD::Trig::IDataAccess
Interface providing access to the event-wise trigger data.
Definition: IDataAccess.h:37
D3PD
Block filler tool for noisy FEB information.
Definition: InnerDetector/InDetMonitoring/InDetGlobalMonitoring/macros/EnhancedPrimaryVertexMonitoring/TrigD3PD/ChainGroup.h:21
D3PD::ChainGroup::ChainGroup
ChainGroup(const std::vector< std::string > &triggerNames, const Trig::IDataAccess &parent, TrigConfigSvcD3PD &svc)
Constructor receiving all the needed information.
D3PD::ChainGroup::GetPrescale
Float_t GetPrescale()
Get the overall prescale of the chain group.
python.subdetectors.mmg.names
names
Definition: mmg.py:8
D3PD::ChainGroup::m_existingIDs
std::vector< Int_t > m_existingIDs
IDs of the triggers.
Definition: InnerDetector/InDetMonitoring/InDetGlobalMonitoring/macros/EnhancedPrimaryVertexMonitoring/TrigD3PD/ChainGroup.h:74
D3PD::Trig::ChainGroupHandling
Class implementing the functions that handle ChainGroup-s.
Definition: ChainGroupHandling.h:41
test_pyathena.parent
parent
Definition: test_pyathena.py:15
Handler::svc
AthROOTErrorHandlerSvc * svc
Definition: AthROOTErrorHandlerSvc.cxx:10
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
D3PD::ChainGroup::m_configSvc
TrigConfigSvcD3PD & m_configSvc
Reference to the configuration service.
Definition: InnerDetector/InDetMonitoring/InDetGlobalMonitoring/macros/EnhancedPrimaryVertexMonitoring/TrigD3PD/ChainGroup.h:68
D3PD::ChainGroup
Class implementing the chain group functionality.
Definition: InnerDetector/InDetMonitoring/InDetGlobalMonitoring/macros/EnhancedPrimaryVertexMonitoring/TrigD3PD/ChainGroup.h:42