 |
ATLAS Offline Software
|
Go to the documentation of this file.
24 return StatusCode::SUCCESS;
48 if( cont.
size()<2)
return 0;
54 double dPhi = fabs(
j1->phi() -
j2->phi() );
55 if(
dPhi > 2*3.14159)
dPhi -= 2*3.14159;
58 if (
j1->pt() > 0.) histFrac =
j2->pt()/
j1->pt();
virtual StatusCode initialize()
Dummy implementation of the initialisation function.
virtual int buildHistos()
ToolHandleArray< HistoDefinitionTool > m_histoDef
def TH2F(name, title, nxbins, bins_par2, bins_par3, bins_par4, bins_par5=None, bins_par6=None, path='', **kwargs)
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
bool dEta(const xAOD::TauJet &tau, const xAOD::TauTrack &track, float &out)
virtual int fillHistosFromContainer(const xAOD::JetContainer &cont, float weight)
#define CHECK(...)
Evaluate an expression and check for errors.
LeadingJetsRelations(const std::string &t)
bool dPhi(const xAOD::TauJet &tau, const xAOD::TauTrack &track, float &out)
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)
size_type size() const noexcept
Returns the number of elements in the collection.