Class Reference for E1039 Core & Analysis Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SQDimuonVector_v1.h
Go to the documentation of this file.
1 #ifndef _SQ_DIMUON_VECTOR_V1__H_
2 #define _SQ_DIMUON_VECTOR_V1__H_
3 #include "SQDimuonVector.h"
4 
6  public:
10  virtual ~SQDimuonVector_v1();
11 
12  void identify(std::ostream& os = std::cout) const;
13  void Reset();
14  int isValid() const { return 1; }
15  SQDimuonVector* Clone() const { return new SQDimuonVector_v1(*this); }
16 
17  ConstIter begin() const { return _vector.begin(); }
18  ConstIter end () const { return _vector.end (); }
19  Iter begin() { return _vector.begin(); }
20  Iter end () { return _vector.end (); }
21  bool empty() const { return _vector.empty(); }
22  size_t size () const { return _vector.size (); }
23  void clear() { Reset(); }
24 
25  const SQDimuon* at(const size_t id) const;
26  SQDimuon* at(const size_t id);
27  void push_back(const SQDimuon *dim);
28  size_t erase(const size_t id);
29 
30  protected:
32 
34 };
35 
36 #endif // _SQ_DIMUON_VECTOR_V1__H_
ClassDef(SQDimuonVector_v1, 1)
SQDimuonVector_v1 & operator=(const SQDimuonVector_v1 &obj)
size_t erase(const size_t id)
void Reset()
Clear Event.
ConstIter end() const
void push_back(const SQDimuon *dim)
void identify(std::ostream &os=std::cout) const
SQDimuonVector * Clone() const
ConstIter begin() const
const SQDimuon * at(const size_t id) const
size_t size() const
int isValid() const
isValid returns non zero if object contains vailid data
An SQ interface class to hold a list of SQDimuon objects.
std::vector< SQDimuon * >::const_iterator ConstIter
std::vector< SQDimuon * >::iterator Iter
std::vector< SQDimuon * > Vector
An SQ interface class to hold one true or reconstructed dimuon.
Definition: SQDimuon.h:8