![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
17 #define toTeV 1/1000000.
31 return StatusCode::SUCCESS;
111 if(
summary.compare(
"FCal")==0){
124 std::list<const xAOD::Jet*> listJets(cont.
begin(), cont.
end());
126 for (
const xAOD::Jet* refjet : *refContainer ){
127 double dr2min = 500000;
129 if (listJets.empty() )
break;
133 for( ;
it != listJets.end(); ++
it) {
134 double dr2 = jet::JetDistances::deltaR2(*(*
it),*refjet);
135 if(dr2 < dr2min) { dr2min = dr2; itmin =
it ;}
139 listJets.erase(itmin);
141 double dr = sqrt(dr2min);
142 double refPt = refjet->pt() *
toGeV;
144 if (fabs(refjet->eta()) > 2.1 )
continue;
155 if (m_FCalET < 2.7 && m_FCalET > 1.75 ){
160 if (m_FCalET < 1.75 && m_FCalET > 0.65 ){
176 double relDiff = -999.;
177 if (refPt > 0.) relDiff = (
matched->pt()*
toGeV - refPt )/refPt;
194 if (m_FCalET < 2.7 && m_FCalET > 1.75 ){
200 if (m_FCalET < 1.75 && m_FCalET > 0.65 ){
def retrieve(aClass, aKey=None)
JetConstituentVector::iterator iterator
virtual int buildHistos()
TProfile * m_etres_eta_20_40
HIEfficiencyResponseHistos(const std::string &t)
float m_FCalET
Centrality.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
TProfile * m_etres_eta_hpt_10_20
TProfile * m_etres_pt_60_100
TProfile * m_etres_eta_10_20
TProfile * m_etres_eta_60_100
Helper class to provide constant type-safe access to aux data.
TProfile * m_etres_pt_0_10
TProfile * m_etres_eta_hpt
TProfile * m_etres_pt_20_40
Interface class for the HI reconstruction EDM.
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
TProfile * m_etres_eta_0_10
::StatusCode StatusCode
StatusCode definition for legacy code.
std::string m_refContainerName
TProfile * m_etres_eta_hpt_0_10
TProfile * m_etres_pt_2Dphi
#define CHECK(...)
Evaluate an expression and check for errors.
TProfile * m_etres_pt_hpt_2Dphi
ToolHandleArray< HistoDefinitionTool > m_histoDef
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
virtual StatusCode initialize()
Dummy implementation of the initialisation function.
TProfile * m_etres_eta_hpt_60_100
TProfile * m_etres_eta_hpt_20_40
T * bookHisto(T *h, Interval_t ityp=useToolInterval)
register the histo h in this group (if h!=NULL). The histo name is changed if m_prefixedHistoName==tr...
Helper class to provide constant type-safe access to aux data.
TProfile * m_etres_pt_hpt_RP
TProfile * m_etres_pt_10_20
const xAOD::HIEventShapeContainer * m_eventShape
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
const_reference_type withDefault(const ELT &e, const T &deflt) const
Fetch the variable for one element, as a const reference, with a default.
virtual int fillHistosFromContainer(const xAOD::JetContainer &cont, float weight)
std::string m_container_key
HI.