1 /**************************************************************************
2 * Copyright(c) 2004-2006, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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 **************************************************************************/
16 #include <TObjArray.h>
17 #include "AliITSTransientDigit.h"
19 ///////////////////////////////////////////////////////////////////
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
26 ///////////////////////////////////////////////////////////////////
28 ClassImp(AliITSTransientDigit)
30 //______________________________________________________________________
31 AliITSTransientDigit::AliITSTransientDigit(Float_t phys,const Int_t *digits):
32 AliITSdigitSDD(phys,digits),
34 // Creates a digit object in a list of digits to be updated
36 fTrackList = new TObjArray;
38 //__________________________________________________________________________
39 AliITSTransientDigit::AliITSTransientDigit(const AliITSTransientDigit &source):
40 AliITSdigitSDD(source),
41 fTrackList(source.fTrackList){
44 //_________________________________________________________________________
45 AliITSTransientDigit& AliITSTransientDigit::operator=(
46 const AliITSTransientDigit &source) {
47 // Assignment operator
48 this->~AliITSTransientDigit();
49 new(this) AliITSTransientDigit(source);
53 //______________________________________________________________________
54 void AliITSTransientDigit::Print(ostream *os){
55 //Standard output format for this class
57 AliITSdigitSDD::Print(os);
59 //______________________________________________________________________
60 void AliITSTransientDigit::Read(istream *os){
61 //Standard input for this class
63 AliITSdigitSDD::Read(os);
65 //______________________________________________________________________
66 ostream &operator<<(ostream &os,AliITSTransientDigit &source){
67 // Standard output streaming function.
72 //______________________________________________________________________
73 istream &operator>>(istream &os,AliITSTransientDigit &source){
74 // Standard output streaming function.