1 /**************************************************************************
2 * Copyright(c) 1998-1999, 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 **************************************************************************/
18 #include "AliMUONLocalTrigger.h"
20 ClassImp(AliMUONLocalTrigger);
21 //----------------------------------------------------------------------
22 AliMUONLocalTrigger::AliMUONLocalTrigger()
34 //----------------------------------------------------------------------
35 AliMUONLocalTrigger::AliMUONLocalTrigger(const AliMUONLocalTrigger& theMUONLocalTrig)
36 : TObject(theMUONLocalTrig)
38 // copy constructor (useful for TClonesArray)
39 fLoCircuit = theMUONLocalTrig.fLoCircuit;
40 fLoStripX = theMUONLocalTrig.fLoStripX;
41 fLoDev = theMUONLocalTrig.fLoDev;
42 fLoStripY = theMUONLocalTrig.fLoStripY;
43 fLoLpt = theMUONLocalTrig.fLoLpt;
44 fLoHpt = theMUONLocalTrig.fLoHpt;
45 fLoApt = theMUONLocalTrig.fLoApt;
47 //----------------------------------------------------------------------
48 AliMUONLocalTrigger& AliMUONLocalTrigger::operator=(const AliMUONLocalTrigger& theMUONLocalTrig)
50 // equal operator (useful for non-pointer member in TClonesArray)
51 if (this == &theMUONLocalTrig)
54 // base class assignement
55 TObject::operator=(theMUONLocalTrig);
57 fLoCircuit = theMUONLocalTrig.fLoCircuit;
58 fLoStripX = theMUONLocalTrig.fLoStripX;
59 fLoDev = theMUONLocalTrig.fLoDev;
60 fLoStripY = theMUONLocalTrig.fLoStripY;
61 fLoLpt = theMUONLocalTrig.fLoLpt;
62 fLoHpt = theMUONLocalTrig.fLoHpt;
63 fLoApt = theMUONLocalTrig.fLoApt;
68 //----------------------------------------------------------------------
69 AliMUONLocalTrigger::AliMUONLocalTrigger(Int_t *localtr)
71 // add a local trigger object
72 fLoCircuit = localtr[0];
73 fLoStripX = localtr[1];
75 fLoStripY = localtr[3];