Line data Source code
1 : /**************************************************************************
2 : * Copyright(c) 2004-2006, ALICE Experiment at CERN, All rights reserved. *
3 : * *
4 : * Author: The ALICE Off-line Project. *
5 : * Contributors are mentioned in the code where appropriate. *
6 : * *
7 : * Permission to use, copy, modify and distribute this software and its *
8 : * documentation strictly for non-commercial purposes is hereby granted *
9 : * without fee, provided that the above copyright notice appears in all *
10 : * copies and that both the copyright notice and this permission notice *
11 : * appear in the supporting documentation. The authors make no claims *
12 : * about the suitability of this software for any purpose. It is *
13 : * provided "as is" without express or implied warranty. *
14 : **************************************************************************/
15 :
16 : #include <TObjArray.h>
17 : #include "AliITSTransientDigit.h"
18 :
19 : ///////////////////////////////////////////////////////////////////
20 : // //
21 : // Class used internally by AliITSsimulationSDD
22 : // for SDD digitisation
23 : // It is not currently used any longer
24 : // The methods in ALiITSsimulationSDD using it are currently commented out
25 : // //
26 : ///////////////////////////////////////////////////////////////////
27 :
28 118 : ClassImp(AliITSTransientDigit)
29 :
30 : //______________________________________________________________________
31 : AliITSTransientDigit::AliITSTransientDigit(Float_t phys,const Int_t *digits):
32 0 : AliITSdigitSDD(phys,digits),
33 0 : fTrackList(0) {
34 : // Creates a digit object in a list of digits to be updated
35 :
36 0 : fTrackList = new TObjArray;
37 0 : }
38 : //__________________________________________________________________________
39 : AliITSTransientDigit::AliITSTransientDigit(const AliITSTransientDigit &source):
40 0 : AliITSdigitSDD(source),
41 0 : fTrackList(source.fTrackList){
42 : // Copy Constructor
43 0 : }
44 : //_________________________________________________________________________
45 : AliITSTransientDigit& AliITSTransientDigit::operator=(
46 : const AliITSTransientDigit &source) {
47 : // Assignment operator
48 0 : this->~AliITSTransientDigit();
49 0 : new(this) AliITSTransientDigit(source);
50 0 : return *this;
51 :
52 0 : }
53 : //______________________________________________________________________
54 : void AliITSTransientDigit::Print(ostream *os){
55 : //Standard output format for this class
56 :
57 0 : AliITSdigitSDD::Print(os);
58 0 : }
59 : //______________________________________________________________________
60 : void AliITSTransientDigit::Read(istream *os){
61 : //Standard input for this class
62 :
63 0 : AliITSdigitSDD::Read(os);
64 0 : }
65 : //______________________________________________________________________
66 : ostream &operator<<(ostream &os,AliITSTransientDigit &source){
67 : // Standard output streaming function.
68 :
69 0 : source.Print(&os);
70 0 : return os;
71 : }
72 : //______________________________________________________________________
73 : istream &operator>>(istream &os,AliITSTransientDigit &source){
74 : // Standard output streaming function.
75 :
76 0 : source.Read(&os);
77 0 : return os;
78 : }
|