Skip to content
Snippets Groups Projects
Commit bc27550a authored by John Derek Chapman's avatar John Derek Chapman
Browse files

Merge branch 'muSimEvt' into '21.3'

Fix Unused class rule warning in MuonSimEvent (ATLASSIM-4476)

See merge request !31654
parents db2047c8 44c0b4bc
16 merge requests!46457Draft: Adding the tools to run over data,!46454Draft: Adding the tools to be able to run over data,!44869Draft: Update to candidate store,!4217921.9-first_steps-InDetTrackingGeometryXML,!39162Draft: Insert BCM' support,!38765Bis78 cabling,!36893Fix size of RPC active region in BIS78 and strip material,!3645821.9: Improving material map description (ATLITKSW-127),!36293WIP pixel updates,!34993KF-input adding jXERHO to the AOD outputs,!34864LH rings in front ot HR rigs,!34763Fix L1_4jJ15.0ETA25 item definition (ATR-21261),!33996WIP: Correct MM zpositions,!3291021.3 salva s0,!31887Merge 21.3.19 into 21.9,!31654Fix Unused class rule warning in MuonSimEvent (ATLASSIM-4476)
/*
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
*/
#ifndef MUONSIMEVENT_MMSimHit_H
#define MUONSIMEVENT_MMSimHit_H 1
#define MUONSIMEVENT_MMSimHit_H
#include "GeoPrimitives/GeoPrimitives.h"
#include "GeneratorObjects/HepMcParticleLink.h"
......@@ -21,14 +21,10 @@ class MMSimHit {
MMSimHit();
// Destructor:
virtual ~MMSimHit();
virtual ~MMSimHit()=default;
MMSimHit(HitID id, double time, const Amg::Vector3D& position, const int particleEncoding, const double kineticEnergy, const Amg::Vector3D& direction, const double depositEnergy, const int trackNumber);
MMSimHit(HitID id, double time, const Amg::Vector3D& position, const int particleEncoding, const double kineticEnergy, const Amg::Vector3D& direction, const double depositEnergy, const HepMcParticleLink hmpl);
//
// member functions
//
//postStep globalTime
double globalTime() const { return (double) m_globalTime; }
......@@ -86,4 +82,4 @@ inline double MMSimHit::meanTime() const
inline float hitTime(const MMSimHit& hit)
{ return (float) hit.meanTime(); }
#endif
#endif // MUONSIMEVENT_MMSimHit_H
/*
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
*/
#ifndef MUONSIMEVENT_MUONSIMEVENTDICT_H
......@@ -9,7 +9,8 @@
#include "MuonSimEvent/MDTSimHitCollection.h"
#include "MuonSimEvent/RPCSimHitCollection.h"
#include "MuonSimEvent/TGCSimHitCollection.h"
#include "MuonSimEvent/GenericMuonSimHitCollection.h"
#include "MuonSimEvent/sTGCSimHitCollection.h"
#include "MuonSimEvent/MMSimHitCollection.h"
#include "MuonSimEvent/GenericMuonSimHitCollection.h"
#endif
package MuonSimEvent
author Daniela Rebuzzi <daniela.rebuzzi@cern.ch>
author Adele Rimoldi <adele.rimoldi@cern.ch>
use AtlasPolicy AtlasPolicy-*
use HitManagement HitManagement-* Simulation
use AtlasSealCLHEP AtlasSealCLHEP-* Database -no_auto_imports
use GeneratorObjects GeneratorObjects-* Generators
use CLIDSvc CLIDSvc-* Control
use GeoPrimitives GeoPrimitives-* DetectorDescription
use MuonIdHelpers MuonIdHelpers-* MuonSpectrometer
use Identifier Identifier-* DetectorDescription
# Must provide an explicit list of classes because we are adding a
# dict/fix class into src
library MuonSimEvent *.cxx
apply_pattern installed_library
private
use AtlasReflex AtlasReflex-* External -no_auto_imports
apply_pattern lcgdict dict=MuonSimEvent selectionfile=selection.xml headerfiles="../MuonSimEvent/MuonSimEventDict.h"
# Now build a special (hand-written) library to build a dictionary for
# GenParticle and GenVertex due to HepLorentzVector
#apply_pattern lcgdictfix libname=MuonSimEvent dictfiles="MuonSimEventDict_dict_fix.cxx"
/*
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
*/
#include "MuonSimEvent/MMSimHit.h"
......@@ -15,11 +15,6 @@ MMSimHit::MMSimHit():
{
}
/*******************************************************************************/
//virtual destructor required by Pool
MMSimHit::~MMSimHit()
{
}
/*******************************************************************************/
MMSimHit::MMSimHit(HitID id, double time,
const Amg::Vector3D& position,
const int particleEncoding,
......
This diff is collapsed.
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