Logo ROOT   6.14/05
Reference Guide
TVirtualMCSensitiveDetector.cxx
Go to the documentation of this file.
1 // @(#)root/vmc:$Id$
2 // Authors: Ivana Hrivnacova 19/04/2018
3 
4 /*************************************************************************
5  * Copyright (C) 2006, Rene Brun and Fons Rademakers. *
6  * Copyright (C) 2018, ALICE Experiment at CERN. *
7  * All rights reserved. *
8  * *
9  * For the licensing terms see $ROOTSYS/LICENSE. *
10  * For the list of contributors see $ROOTSYS/README/CREDITS. *
11  *************************************************************************/
12 
14 
15 /** \class TVirtualMCSensitiveDetector
16  \ingroup vmc
17 
18 Interface to a user defined sensitive detector.
19 */
20 
22 
23 ////////////////////////////////////////////////////////////////////////////////
24 /// Standard constructor
25 
26 TVirtualMCSensitiveDetector::TVirtualMCSensitiveDetector(const char *name, const char *title) : TNamed(name, title) {}
27 
28 ////////////////////////////////////////////////////////////////////////////////
29 /// Standard constructor
30 
32  : TNamed(name, title)
33 {
34 }
35 
36 ////////////////////////////////////////////////////////////////////////////////
37 /// Default constructor
38 
40 
41 ////////////////////////////////////////////////////////////////////////////////
42 /// Copy constructor
43 
45 {
46  /// Copy constructor
47 
48  *this = rhs;
49 }
50 
51 ////////////////////////////////////////////////////////////////////////////////
52 /// Destructor
53 
55 
56 ////////////////////////////////////////////////////////////////////////////////
57 /// Assignment operator
58 
60 {
61  // check assignment to self
62  if (this == &rhs)
63  return *this;
64 
65  // base class assignment
66  TNamed::operator=(rhs);
67 
68  return *this;
69 }
TVirtualMCSensitiveDetector & operator=(const TVirtualMCSensitiveDetector &rhs)
Assignment operator.
Basic string class.
Definition: TString.h:131
virtual ~TVirtualMCSensitiveDetector()
Destructor.
The TNamed class is the base class for all named ROOT classes.
Definition: TNamed.h:29
TNamed & operator=(const TNamed &rhs)
TNamed assignment operator.
Definition: TNamed.cxx:51
Interface to a user defined sensitive detector.
TVirtualMCSensitiveDetector()
Default constructor.
#define ClassImp(name)
Definition: Rtypes.h:359
char name[80]
Definition: TGX11.cxx:109