forked from root-project/root
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TVirtualMCSensitiveDetector.cxx
69 lines (49 loc) · 2.23 KB
/
TVirtualMCSensitiveDetector.cxx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
// @(#)root/vmc:$Id$
// Authors: Ivana Hrivnacova 19/04/2018
/*************************************************************************
* Copyright (C) 2006, Rene Brun and Fons Rademakers. *
* Copyright (C) 2018, ALICE Experiment at CERN. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#include "TVirtualMCSensitiveDetector.h"
/** \class TVirtualMCSensitiveDetector
\ingroup vmc
Interface to a user defined sensitive detector.
*/
ClassImp(TVirtualMCSensitiveDetector);
////////////////////////////////////////////////////////////////////////////////
/// Standard constructor
TVirtualMCSensitiveDetector::TVirtualMCSensitiveDetector(const char *name, const char *title) : TNamed(name, title) {}
////////////////////////////////////////////////////////////////////////////////
/// Standard constructor
TVirtualMCSensitiveDetector::TVirtualMCSensitiveDetector(const TString &name, const TString &title)
: TNamed(name, title)
{
}
////////////////////////////////////////////////////////////////////////////////
/// Default constructor
TVirtualMCSensitiveDetector::TVirtualMCSensitiveDetector() : TNamed() {}
////////////////////////////////////////////////////////////////////////////////
/// Copy constructor
TVirtualMCSensitiveDetector::TVirtualMCSensitiveDetector(const TVirtualMCSensitiveDetector &rhs) : TNamed(rhs)
{
/// Copy constructor
*this = rhs;
}
////////////////////////////////////////////////////////////////////////////////
/// Destructor
TVirtualMCSensitiveDetector::~TVirtualMCSensitiveDetector() {}
////////////////////////////////////////////////////////////////////////////////
/// Assignment operator
TVirtualMCSensitiveDetector &TVirtualMCSensitiveDetector::operator=(const TVirtualMCSensitiveDetector &rhs)
{
// check assignment to self
if (this == &rhs)
return *this;
// base class assignment
TNamed::operator=(rhs);
return *this;
}