VMC Version 2.0
Loading...
Searching...
No Matches
TVirtualMCSensitiveDetector.cxx
Go to the documentation of this file.
1// -----------------------------------------------------------------------
2// Copyright (C) 2019 CERN and copyright holders of VMC Project.
3// This software is distributed under the terms of the GNU General Public
4// License v3 (GPL Version 3), copied verbatim in the file "LICENSE".
5//
6// See https://github.com/vmc-project/vmc for full licensing information.
7// -----------------------------------------------------------------------
8
9// Authors: Ivana Hrivnacova 19/04/2018
10
11/*************************************************************************
12 * Copyright (C) 2006, Rene Brun and Fons Rademakers. *
13 * Copyright (C) 2018, ALICE Experiment at CERN. *
14 * All rights reserved. *
15 * *
16 * For the licensing terms see $ROOTSYS/LICENSE. *
17 * For the list of contributors see $ROOTSYS/README/CREDITS. *
18 *************************************************************************/
19
21
29
32
33TVirtualMCSensitiveDetector::TVirtualMCSensitiveDetector(const char *name, const char *title) : TNamed(name, title) {}
34
37
38TVirtualMCSensitiveDetector::TVirtualMCSensitiveDetector(const TString &name, const TString &title)
39 : TNamed(name, title)
40{
41}
42
45
47
50
52{
54
55 *this = rhs;
56}
57
60
62
65
67{
68 // check assignment to self
69 if (this == &rhs)
70 return *this;
71
72 // base class assignment
73 TNamed::operator=(rhs);
74
75 return *this;
76}
ClassImp(TVirtualMCSensitiveDetector)
Interface to a user defined sensitive detector.
virtual ~TVirtualMCSensitiveDetector()
Destructor.
TVirtualMCSensitiveDetector()
Default constructor.
TVirtualMCSensitiveDetector & operator=(const TVirtualMCSensitiveDetector &rhs)
Assignment operator.