0. General code clean-up, including messages, and the like.
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpPadPair.h
CommitLineData
dee1d5f1 1/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
3
5f91c9e8 4// $Id$
dee1d5f1 5// $MpId: AliMpPadPair.h,v 1.7 2005/08/26 15:43:36 ivana Exp $
6
7/// \ingroup basic
8/// \class AliMpPadPair
9/// \brief Wrap up for std::pair<AliMpPad, AliMpPad>
10/// to avoid problems with CINT.
11///
12/// Authors: David Guez, Ivana Hrivnacova; IPN Orsay
5f91c9e8 13
14#ifndef ALI_MP_PAD_PAIR_H
15#define ALI_MP_PAD_PAIR_H
16
5f91c9e8 17#include "AliMpPad.h"
18
19class AliMpPadPair : public TObject
20{
21 public:
22 AliMpPadPair(const AliMpPad& pad1, const AliMpPad& pad2);
23 AliMpPadPair(const AliMpPadPair& pair);
24 AliMpPadPair();
25 virtual ~AliMpPadPair();
26
27 // operators
28 Bool_t operator == (const AliMpPadPair& right) const;
29 Bool_t operator != (const AliMpPadPair& right) const;
30 AliMpPadPair& operator = (const AliMpPadPair& right);
31
32 // methods
33 AliMpPad GetFirst() const;
34 AliMpPad GetSecond() const;
35
36 private:
37 // data members
f79c58a5 38 AliMpPad fPadFirst; // first pad
39 AliMpPad fPadSecond; // second pad
40
5f91c9e8 41
42 ClassDef(AliMpPadPair,1) //utility class for the motif type
43};
44
45// inline functions
46
f79c58a5 47inline AliMpPad AliMpPadPair::GetFirst() const { return fPadFirst; }
48inline AliMpPad AliMpPadPair::GetSecond() const { return fPadSecond; }
5f91c9e8 49
50
51#endif //ALI_MP_PAD_PAIR_H