ATLAS Offline Software
CMMJetHits_v1.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // $Id: CMMJetHits_v1.h 631127 2014-11-26 09:54:48Z gwatts $
8 #ifndef XAODTRIGL1CALO_VERSIONS_CMMJETHITS_V1_H
9 #define XAODTRIGL1CALO_VERSIONS_CMMJETHITS_V1_H
10 
11 #include "AthLinks/ElementLink.h"
13 
14 namespace xAOD {
15 
22 
23  class CMMJetHits_v1 : public SG::AuxElement{
24  public:
25  // Default constructor
26  CMMJetHits_v1();
27 
29  int crate() const;
31  void setCrate(int);
32 
34  int dataID() const;
36  void setDataID(int);
37 
39  int peak() const;
41  void setPeak(int);
42 
44  const std::vector<unsigned int>& hitsVec() const;
46  void setHitsVec(const std::vector<unsigned int>&);
47 
49  const std::vector<int>& errorVec() const;
51  void setErrorVec(const std::vector<int>&);
52 
54  void addHits(const std::vector<unsigned int>& hits,const std::vector<int>& error);
55 
57  unsigned int hits() const;
58 
60  int error() const;
61 
65  inline unsigned int Hits() const {return this->hits();}
66  inline int Error() const {return this->error();}
67  };
68 } // namespace xAOD
69 
70 #endif // XAODTRIGL1CALO_VERSIONS_CMMJETHITS_V1_H
xAOD::CMMJetHits_v1::setDataID
void setDataID(int)
set dataID
xAOD::CMMJetHits_v1::hits
unsigned int hits() const
get hits for hitsVec[peak] - time slice that (hopefully) contains the collision
Definition: CMMJetHits_v1.cxx:36
xAOD::CMMJetHits_v1::dataID
int dataID() const
get dataID
xAOD::CMMJetHits_v1
Description of CMMJetHits_v1.
Definition: CMMJetHits_v1.h:23
xAOD::CMMJetHits_v1::error
int error() const
get error for errorVec[peak] - time slice that (hopefully) contains the collision
Definition: CMMJetHits_v1.cxx:41
xAOD::CMMJetHits_v1::setCrate
void setCrate(int)
set crate number
SG::AuxElement
Base class for elements of a container that can have aux data.
Definition: AuxElement.h:483
xAOD::CMMJetHits_v1::setPeak
void setPeak(int)
set peak
xAOD::CMMJetHits_v1::Hits
unsigned int Hits() const
Backwards Compatibility with Trigger/TrigT1/TrigT1CaloEvent Run1 EDM did not strictly follow camelCas...
Definition: CMMJetHits_v1.h:65
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::CMMJetHits_v1::setErrorVec
void setErrorVec(const std::vector< int > &)
set errorVec - errors for all time slices
xAOD::CMMJetHits_v1::Error
int Error() const
Definition: CMMJetHits_v1.h:66
xAOD::CMMJetHits_v1::setHitsVec
void setHitsVec(const std::vector< unsigned int > &)
set hitsVec - hits for all time slices
xAOD::CMMJetHits_v1::errorVec
const std::vector< int > & errorVec() const
get errorVec - errors for all time slices
xAOD::CMMJetHits_v1::hitsVec
const std::vector< unsigned int > & hitsVec() const
get hitsVec - hits for all time slices
xAOD::CMMJetHits_v1::peak
int peak() const
get peak
xAOD::CMMJetHits_v1::crate
int crate() const
get crate number
error
Definition: IImpactPoint3dEstimator.h:70
xAOD::CMMJetHits_v1::CMMJetHits_v1
CMMJetHits_v1()
Definition: CMMJetHits_v1.cxx:18
AuxElement.h
Base class for elements of a container that can have aux data.
xAOD::CMMJetHits_v1::addHits
void addHits(const std::vector< unsigned int > &hits, const std::vector< int > &error)
add hits. Internally calls setHitsVec(hits);setErrorVec(error);
Definition: CMMJetHits_v1.cxx:29