Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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
18Interface to a user defined sensitive detector.
19*/
20
22
23////////////////////////////////////////////////////////////////////////////////
24/// Standard constructor
25
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
67
68 return *this;
69}
#define ClassImp(name)
Definition Rtypes.h:364
char name[80]
Definition TGX11.cxx:110
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
Basic string class.
Definition TString.h:136
Interface to a user defined sensitive detector.
TVirtualMCSensitiveDetector()
Default constructor.
TVirtualMCSensitiveDetector & operator=(const TVirtualMCSensitiveDetector &rhs)
Assignment operator.