Skip to content
Snippets Groups Projects
Commit ea442d10 authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

Merge branch 'assign.TrigTopoEvent-20240103' into 'main'

TrigTopoEvent+TrigInDetEvent+TrigCaloEvent: Avoid warnings about implicitly-declared assignment.

See merge request !68016
parents a0c54284 4fae1ccc
No related branches found
No related tags found
1 merge request!68016TrigTopoEvent+TrigInDetEvent+TrigCaloEvent: Avoid warnings about implicitly-declared assignment.
Showing
with 14 additions and 119 deletions
/*
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
*/
#ifndef TRIGCALOCLUSTER_H
......@@ -46,8 +46,6 @@ public:
~TrigCaloCluster ();
/** Copy Pointer Constructor */
TrigCaloCluster ( const TrigCaloCluster* trigcalocluster );
/** Copy Reference Constructor */
TrigCaloCluster ( const TrigCaloCluster& trigcalocluster );
/** Prints out cluster variables to std::cout */
void print ( void ) const;
......
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
*/
#ifndef TRIGEMCLUSTER_H
......@@ -41,6 +41,8 @@ public:
/** Copy Reference Constructor */
TrigEMCluster ( const TrigEMCluster& trigemcluster ) ;
TrigEMCluster& operator= ( const TrigEMCluster& trigemcluster ) = delete;
/** Prints out cluster variables to std::cout */
void print ( void ) const;
/** Prints out cluster variables to MsgStream */
......
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
*/
#ifndef TRIGTAUCLUSTER_H
......@@ -43,8 +43,6 @@ public:
~TrigTauCluster();
/** Copy Pointer Constructor */
TrigTauCluster(const TrigTauCluster* trigemcluster) ;
/** Copy Reference Constructor */
TrigTauCluster(const TrigTauCluster& trigemcluster) ;
// Print out variables for Debug
/** Prints out cluster variables to std::cout */
......
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
*/
#ifndef TRIGTAUCLUSTERDETAILS_H
......@@ -36,8 +36,6 @@ public:
~TrigTauClusterDetails ();
/** Copy Pointer Constructor */
TrigTauClusterDetails ( const TrigTauClusterDetails* trigemcluster ) ;
/** Copy Reference Constructor */
TrigTauClusterDetails ( const TrigTauClusterDetails& trigemcluster ) ;
// Print out variables for Debug
/** Prints out cluster variables to std::cout */
......
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
*/
......@@ -51,17 +51,6 @@ TrigCaloCluster::TrigCaloCluster( const TrigCaloCluster* tcc ) :
setRawEnergy((CaloSampling::CaloSample)i
,tcc->rawEnergy((CaloSampling::CaloSample)i) );
}
TrigCaloCluster::TrigCaloCluster( const TrigCaloCluster& tcc ) :
m_rawEnergy ( tcc.rawEnergy() ), m_rawEt ( tcc.rawEt() ),
m_rawEta ( tcc.rawEta() ), m_rawPhi ( tcc.rawPhi() ),
m_roiWord ( tcc.RoIword() ),
m_numberUsedCells ( tcc.nCells() ),
m_quality ( tcc.quality() )
{
for ( int i = 0 ; i < MAXSIZE ; i++ )
setRawEnergy((CaloSampling::CaloSample)i
,tcc.rawEnergy((CaloSampling::CaloSample)i) );
}
// Simple debug method
void
......
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
*/
......@@ -111,34 +111,6 @@ TrigTauCluster::TrigTauCluster(const TrigTauCluster* ttc) : TrigCaloCluster((Tri
}
}
TrigTauCluster::TrigTauCluster(const TrigTauCluster& ttc) : TrigCaloCluster((TrigCaloCluster&)ttc),
m_EMenergy(ttc.EMenergy()),
m_HADenergy(ttc.HADenergy()),
m_eCalib(ttc.eCalib()),
m_EMRadius2(ttc.EMRadius2()),
m_CaloRadius(ttc.CaloRadius()),
m_IsoFrac(ttc.IsoFrac()),
m_numStripCells(ttc.numStripCells()),
m_numTotCells(ttc.numTotCells()),
m_stripWidth(ttc.stripWidth()),
m_stripWidthOffline(ttc.stripWidthOffline()),
m_EMRadius3S(ttc.EMRadius3S()),
m_CoreFrac(ttc.CoreFrac()),
m_EMFrac(ttc.EMFrac()),
m_HadRadius(ttc.HadRadius()),
m_valid(false)
{
//set ElementLink to cluster
if(m_clusterDetails.isValid())
{
m_clusterDetails.toIndexedElement(ttc.m_clusterDetails.getStorableObjectRef(), ttc.m_clusterDetails.index());
}
else
{
m_clusterDetails.reset();
}
}
// Simple debug method using MsgStream
void TrigTauCluster::print(void) const
{
......
/*
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
*/
/*******************************************************
......@@ -60,27 +60,6 @@ TrigTauClusterDetails::TrigTauClusterDetails( const TrigTauClusterDetails* ttc )
}
}
TrigTauClusterDetails::TrigTauClusterDetails( const TrigTauClusterDetails& ttc )
{
for (int i = 0; i< NUMEMSAMP ; i++) {
m_EMRadius[i] = ttc.EMRadius(i);
m_EMenergyWidth[i] = ttc.EMenergyWidth(i);
m_EMenergyWide[i] = ttc.EMenergyWide(i);
m_EMenergyMedium[i] = ttc.EMenergyMedium(i);
m_EMenergyNarrow[i] = ttc.EMenergyNarrow(i);
}
for (int i = 0; i< NUMHADSAMP ; i++) {
m_HADRadius[i] = ttc.HADRadius(i);
m_HADenergyWidth[i] = ttc.HADenergyWidth(i);
m_HADenergyWide[i] = ttc.HADenergyWide(i);
m_HADenergyMedium[i] = ttc.HADenergyMedium(i);
m_HADenergyNarrow[i] = ttc.HADenergyNarrow(i);
}
}
// Simple debug method using MsgStream
void
TrigTauClusterDetails::print ( void ) const {
......
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
*/
#ifndef TRIGTAUTRACKSINFO_H
......@@ -29,10 +29,8 @@ class TrigTauTracksInfo : public P4PtEtaPhiM, public NavigableTerminalNode ,
public:
/** Constructor */
TrigTauTracksInfo();
/** Copy Constructor */
TrigTauTracksInfo(const TrigTauTracksInfo & te);
/** Descrtuctor */
/** Destructor */
~TrigTauTracksInfo();
/** getters */
......
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
*/
......@@ -37,31 +37,6 @@ TrigTauTracksInfo::TrigTauTracksInfo() :
}
TrigTauTracksInfo::TrigTauTracksInfo(const TrigTauTracksInfo & te) :
I4Momentum(te),
P4PtEtaPhiMBase(te),
INavigable(te),
IAthenaBarCode(te),
INavigable4Momentum(te),
P4PtEtaPhiM(te),
NavigableTerminalNode(te)
{
m_roiID = te.m_roiID;
m_nCoreTracks = te.m_nCoreTracks ;
m_nSlowTracks = te.m_nSlowTracks ;
m_nIsoTracks = te.m_nIsoTracks ;
m_charge = te.m_charge ;
m_leadingTrackPt = te.m_leadingTrackPt ;
m_scalarPtSumCore = te.m_scalarPtSumCore ;
m_scalarPtSumIso = te.m_scalarPtSumIso ;
m_ptBalance = te.m_ptBalance ;
m_3fastest.setPt( te.threeFastestTracks().pt());
m_3fastest.setEta( te.threeFastestTracks().eta());
m_3fastest.setPhi( te.threeFastestTracks().phi());
m_3fastest.setM( te.threeFastestTracks().m());
}
TrigTauTracksInfo::~TrigTauTracksInfo(){}
......
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
*/
/**************************************************************************
......@@ -53,7 +53,6 @@ class ElectronMuonTopoInfo {
public:
ElectronMuonTopoInfo();
ElectronMuonTopoInfo(int roiWord, float deltaPhi=-1., float deltaR = -1., float invMass = -1., bool el_valid = false, bool oppositeCharge = 0, unsigned short vertexState =0);
ElectronMuonTopoInfo(const ElectronMuonTopoInfo& emuTopoInfo);
~ElectronMuonTopoInfo();
......
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
*/
/**************************************************************************
......@@ -46,19 +46,6 @@ ElectronMuonTopoInfo::ElectronMuonTopoInfo(int roiWord, float deltaPhi, float de
{}
ElectronMuonTopoInfo::ElectronMuonTopoInfo(const ElectronMuonTopoInfo& emuTopoInfo)
{
if(this != &emuTopoInfo){
m_roiWord = emuTopoInfo.m_roiWord;
m_DeltaPhi = emuTopoInfo.m_DeltaPhi;
m_DeltaR = emuTopoInfo.m_DeltaR;
m_InvMass = emuTopoInfo.m_InvMass;
m_electronValid = emuTopoInfo.m_electronValid;
m_oppositeCharge = emuTopoInfo.m_oppositeCharge;
m_vertexState = emuTopoInfo.m_vertexState;
}
}
// destructor
ElectronMuonTopoInfo::~ElectronMuonTopoInfo() {}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment