|
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) {
135 if(dr2 < dr2min) { dr2min = dr2; itmin =
it ;}
137 if (itmin == listJets.end())
break;
140 listJets.erase(itmin);
142 double dr = sqrt(dr2min);
143 double refPt = refjet->pt() *
toGeV;
145 if (fabs(refjet->eta()) > 2.1 )
continue;
156 if (m_FCalET < 2.7 && m_FCalET > 1.75 ){
161 if (m_FCalET < 1.75 && m_FCalET > 0.65 ){
177 double relDiff = -999.;
178 if (refPt > 0.) relDiff = (
matched->pt()*
toGeV - refPt )/refPt;
195 if (m_FCalET < 2.7 && m_FCalET > 1.75 ){
201 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
double deltaR2(double rapidity1, double phi1, double rapidity2, double phi2)
from bare rapidity,phi
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
def TProfile(*args, **kwargs)
::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...
def TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
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.