|
ATLAS Offline Software
|
#include <SkimmingToolEXOT14.h>
|
| SkimmingToolEXOT14 (const std::string &t, const std::string &n, const IInterface *p) |
| Constructor with parameters. More...
|
|
| ~SkimmingToolEXOT14 () |
| Destructor. More...
|
|
virtual StatusCode | initialize () override |
|
virtual StatusCode | finalize () override |
|
virtual bool | eventPassesFilter () const override |
| Check that the current event passes this filter. 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 | sysInitialize () override |
| Perform system initialization for an algorithm. 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 |
|
- Author
- jsaxo.nosp@m.n@ce.nosp@m.rn.ch (adapted from Susumu Oda)
Definition at line 45 of file SkimmingToolEXOT14.h.
◆ LeadingJets_t
◆ StoreGateSvc_t
◆ SkimmingToolEXOT14()
DerivationFramework::SkimmingToolEXOT14::SkimmingToolEXOT14 |
( |
const std::string & |
t, |
|
|
const std::string & |
n, |
|
|
const IInterface * |
p |
|
) |
| |
Constructor with parameters.
Definition at line 23 of file SkimmingToolEXOT14.cxx.
40 declareInterface<DerivationFramework::ISkimmingTool>(
this);
◆ ~SkimmingToolEXOT14()
DerivationFramework::SkimmingToolEXOT14::~SkimmingToolEXOT14 |
( |
| ) |
|
◆ 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()
◆ eventPassesFilter()
bool DerivationFramework::SkimmingToolEXOT14::eventPassesFilter |
( |
| ) |
const |
|
overridevirtual |
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ 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
◆ finalize()
StatusCode DerivationFramework::SkimmingToolEXOT14::finalize |
( |
| ) |
|
|
overridevirtual |
◆ initialize()
StatusCode DerivationFramework::SkimmingToolEXOT14::initialize |
( |
| ) |
|
|
overridevirtual |
Definition at line 77 of file SkimmingToolEXOT14.cxx.
85 return StatusCode::FAILURE;
94 m_JESTool.setTypeAndName(
"JetCalibrationTool/m_JESTool");
100 return StatusCode::SUCCESS;
◆ 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.
◆ interfaceID()
static const InterfaceID& DerivationFramework::ISkimmingTool::interfaceID |
( |
| ) |
|
|
inlinestaticinherited |
AlgTool interface methods.
Definition at line 32 of file ISkimmingTool.h.
32 {
return IID_ISkimmingTool; }
◆ 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()
◆ SubcutDijetMass()
bool DerivationFramework::SkimmingToolEXOT14::SubcutDijetMass |
( |
const LeadingJets_t & |
jets | ) |
const |
|
private |
◆ SubcutGoodRunList()
bool DerivationFramework::SkimmingToolEXOT14::SubcutGoodRunList |
( |
| ) |
const |
|
private |
◆ SubcutJetDEta()
bool DerivationFramework::SkimmingToolEXOT14::SubcutJetDEta |
( |
const LeadingJets_t & |
jets | ) |
const |
|
private |
◆ SubcutJetDPhi()
bool DerivationFramework::SkimmingToolEXOT14::SubcutJetDPhi |
( |
const LeadingJets_t & |
jets | ) |
const |
|
private |
◆ SubcutJetPts()
bool DerivationFramework::SkimmingToolEXOT14::SubcutJetPts |
( |
const LeadingJets_t & |
jets | ) |
const |
|
private |
◆ SubcutLArError()
bool DerivationFramework::SkimmingToolEXOT14::SubcutLArError |
( |
| ) |
const |
|
private |
◆ SubcutPreselect()
Definition at line 205 of file SkimmingToolEXOT14.cxx.
216 TLorentzVector j1TLV, j2TLV;
219 while(jet_itr != jet_end) {
227 if(
m_JESTool->applyCalibration(calibJets).isFailure())
230 jet_itr = calibJets.
begin();
231 jet_end = calibJets.
end();
232 while(jet_itr != jet_end) {
234 if (abs((*jet_itr)->eta()) >
m_maxEta)
continue;
236 if ((*jet_itr)->pt() > j1TLV.Pt()) {
239 j1TLV.SetPtEtaPhiE((*jet_itr)->pt(), (*jet_itr)->eta(), (*jet_itr)->phi(), (*jet_itr)->e());
241 }
else if ((*jet_itr)->pt() > j2TLV.Pt()) {
243 j2TLV.SetPtEtaPhiE((*jet_itr)->pt(), (*jet_itr)->eta(), (*jet_itr)->phi(), (*jet_itr)->e());
◆ SubcutTrigger()
bool DerivationFramework::SkimmingToolEXOT14::SubcutTrigger |
( |
| ) |
const |
|
private |
Definition at line 181 of file SkimmingToolEXOT14.cxx.
186 bool passTrigger =
false;
191 acc(*eventInfo) = thisTrig;
193 passTrigger |= thisTrig;
◆ sysInitialize()
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ TriggerVarName()
std::string DerivationFramework::SkimmingToolEXOT14::TriggerVarName |
( |
std::string |
s | ) |
const |
|
private |
◆ updateVHKA()
◆ m_defaultTrigger
std::string DerivationFramework::SkimmingToolEXOT14::m_defaultTrigger |
|
private |
◆ m_detStore
◆ m_dijetMass
double DerivationFramework::SkimmingToolEXOT14::m_dijetMass |
|
private |
◆ m_etaSeparation
double DerivationFramework::SkimmingToolEXOT14::m_etaSeparation |
|
private |
◆ m_evtStore
◆ m_goodRunList
std::string DerivationFramework::SkimmingToolEXOT14::m_goodRunList |
|
private |
◆ m_JESTool
◆ m_jetDPhi
double DerivationFramework::SkimmingToolEXOT14::m_jetDPhi |
|
private |
◆ m_jetSGKey
std::string DerivationFramework::SkimmingToolEXOT14::m_jetSGKey |
|
private |
◆ m_leadingJetPt
double DerivationFramework::SkimmingToolEXOT14::m_leadingJetPt |
|
private |
◆ m_maxEta
double DerivationFramework::SkimmingToolEXOT14::m_maxEta |
|
private |
◆ m_minJetPt
double DerivationFramework::SkimmingToolEXOT14::m_minJetPt |
|
private |
◆ m_n_pass
std::atomic<unsigned int> DerivationFramework::SkimmingToolEXOT14::m_n_pass |
|
mutableprivate |
◆ m_n_passDiJetMass
std::atomic<unsigned int> DerivationFramework::SkimmingToolEXOT14::m_n_passDiJetMass |
|
mutableprivate |
◆ m_n_passGRL
std::atomic<unsigned int> DerivationFramework::SkimmingToolEXOT14::m_n_passGRL |
|
mutableprivate |
◆ m_n_passJetPts
std::atomic<unsigned int> DerivationFramework::SkimmingToolEXOT14::m_n_passJetPts |
|
mutableprivate |
◆ m_n_passJetsDEta
std::atomic<unsigned int> DerivationFramework::SkimmingToolEXOT14::m_n_passJetsDEta |
|
mutableprivate |
◆ m_n_passJetsDPhi
std::atomic<unsigned int> DerivationFramework::SkimmingToolEXOT14::m_n_passJetsDPhi |
|
mutableprivate |
◆ m_n_passLArError
std::atomic<unsigned int> DerivationFramework::SkimmingToolEXOT14::m_n_passLArError |
|
mutableprivate |
◆ m_n_passPreselect
std::atomic<unsigned int> DerivationFramework::SkimmingToolEXOT14::m_n_passPreselect |
|
mutableprivate |
◆ m_n_passTrigger
std::atomic<unsigned int> DerivationFramework::SkimmingToolEXOT14::m_n_passTrigger |
|
mutableprivate |
◆ m_n_tot
std::atomic<unsigned int> DerivationFramework::SkimmingToolEXOT14::m_n_tot |
|
mutableprivate |
◆ m_reqDiJetMass
bool DerivationFramework::SkimmingToolEXOT14::m_reqDiJetMass |
|
private |
◆ m_reqGRL
bool DerivationFramework::SkimmingToolEXOT14::m_reqGRL |
|
private |
◆ m_reqJetPts
bool DerivationFramework::SkimmingToolEXOT14::m_reqJetPts |
|
private |
◆ m_reqJetsDEta
bool DerivationFramework::SkimmingToolEXOT14::m_reqJetsDEta |
|
private |
◆ m_reqJetsDPhi
bool DerivationFramework::SkimmingToolEXOT14::m_reqJetsDPhi |
|
private |
◆ m_reqLArError
bool DerivationFramework::SkimmingToolEXOT14::m_reqLArError |
|
private |
◆ m_reqPreselection
bool DerivationFramework::SkimmingToolEXOT14::m_reqPreselection |
|
private |
◆ m_reqTrigger
bool DerivationFramework::SkimmingToolEXOT14::m_reqTrigger |
|
private |
◆ m_subleadingJetPt
double DerivationFramework::SkimmingToolEXOT14::m_subleadingJetPt |
|
private |
◆ m_trigDecisionTool
◆ m_triggers
std::vector<std::string> DerivationFramework::SkimmingToolEXOT14::m_triggers |
|
private |
◆ m_varHandleArraysDeclared
◆ m_vhka
◆ s_MZ
const double DerivationFramework::SkimmingToolEXOT14::s_MZ |
|
staticprivate |
The documentation for this class was generated from the following files:
def retrieve(aClass, aKey=None)
std::string replace(std::string s, const std::string &s2, const std::string &s3)
Const iterator class for DataVector/DataList.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
#define ATH_MSG_VERBOSE(x)
@ IS_SIMULATION
true: simulation, false: data
@ LAr
The LAr calorimeter.
virtual void setOwner(IDataHandleHolder *o)=0
@ Error
The sub-detector issued an error.
void setJetP4(const JetFourMom_t &p4)
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Temporary container used until we have I/O for AuxStoreInternal.
#define CHECK(...)
Evaluate an expression and check for errors.
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > JetFourMom_t
Base 4 Momentum type for Jet.
value_type push_back(value_type pElem)
Add an element to the end of the collection.
Class describing the basic event information.
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
#define ATH_MSG_WARNING(x)
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Jet_v1 Jet
Definition of the current "jet version".
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.