Reordering includes, forward declarations from most specific to more
[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$
2a7ea2e6 5// $MpId: AliMpPadPair.h,v 1.8 2006/03/17 11:34:29 ivana Exp $
dee1d5f1 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
2a7ea2e6 17#include <TObject.h>
18
5f91c9e8 19#include "AliMpPad.h"
20
21class AliMpPadPair : public TObject
22{
23 public:
24 AliMpPadPair(const AliMpPad& pad1, const AliMpPad& pad2);
25 AliMpPadPair(const AliMpPadPair& pair);
26 AliMpPadPair();
27 virtual ~AliMpPadPair();
28
29 // operators
30 Bool_t operator == (const AliMpPadPair& right) const;
31 Bool_t operator != (const AliMpPadPair& right) const;
32 AliMpPadPair& operator = (const AliMpPadPair& right);
33
34 // methods
35 AliMpPad GetFirst() const;
36 AliMpPad GetSecond() const;
37
38 private:
39 // data members
f79c58a5 40 AliMpPad fPadFirst; // first pad
41 AliMpPad fPadSecond; // second pad
42
5f91c9e8 43
44 ClassDef(AliMpPadPair,1) //utility class for the motif type
45};
46
47// inline functions
48
f79c58a5 49inline AliMpPad AliMpPadPair::GetFirst() const { return fPadFirst; }
50inline AliMpPad AliMpPadPair::GetSecond() const { return fPadSecond; }
5f91c9e8 51
52
53#endif //ALI_MP_PAD_PAIR_H