ATLAS Offline Software
JEMHits_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: JEMHits_v1.h 631127 2014-11-26 09:54:48Z gwatts $
8 #ifndef XAODTRIGL1CALO_VERSIONS_JEMHITS_V1_H
9 #define XAODTRIGL1CALO_VERSIONS_JEMHITS_V1_H
10 
11 #include "AthLinks/ElementLink.h"
13 
14 namespace xAOD {
15 
22 
23  class JEMHits_v1 : public SG::AuxElement{
24  public:
25  // Default constructor
26  JEMHits_v1();
27 
29  int crate() const;
31  void setCrate(int);
32 
34  int module() const;
36  void setModule(int);
37 
39  int peak() const;
41  void setPeak(int);
42 
44  const std::vector<unsigned int>& jetHitsVec() const;
46  void setJetHitsVec(const std::vector<unsigned int>&);
47 
49  unsigned int forward() const;
50 
52  unsigned int jetHits() const;
53 
57  inline void addJetHits(const std::vector<unsigned int>& hits) {this->setJetHitsVec(hits);}
58  inline unsigned int JetHits() const {return this->jetHits();}
59  };
60 } // namespace xAOD
61 
62 #endif // XAODTRIGL1CALO_VERSIONS_JEMHITS_V1_H
xAOD::JEMHits_v1::setModule
void setModule(int)
set module
xAOD::JEMHits_v1::setPeak
void setPeak(int)
set peak
SG::AuxElement
Base class for elements of a container that can have aux data.
Definition: AuxElement.h:446
xAOD::JEMHits_v1::addJetHits
void addJetHits(const std::vector< unsigned int > &hits)
Backwards Compatibility with Trigger/TrigT1/TrigT1CaloEvent Run1 EDM did not strictly follow camelCas...
Definition: JEMHits_v1.h:57
xAOD::JEMHits_v1::crate
int crate() const
get crate number
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::JEMHits_v1
Description of JEMHits_v1.
Definition: JEMHits_v1.h:23
xAOD::JEMHits_v1::setCrate
void setCrate(int)
set crate number
LArG4ShowerLibProcessing.hits
hits
Definition: LArG4ShowerLibProcessing.py:136
xAOD::JEMHits_v1::setJetHitsVec
void setJetHitsVec(const std::vector< unsigned int > &)
set jetHitsVec - jetHits for all time slices
xAOD::JEMHits_v1::jetHits
unsigned int jetHits() const
get jetHits for jetHitsVec[peak] - time slice that (hopefully) contains the collision
Definition: JEMHits_v1.cxx:38
xAOD::JEMHits_v1::module
int module() const
get module
xAOD::JEMHits_v1::forward
unsigned int forward() const
Is this JEMEtSums forward?
Definition: JEMHits_v1.cxx:28
xAOD::JEMHits_v1::jetHitsVec
const std::vector< unsigned int > & jetHitsVec() const
get jetHitsVec - jetHits for all time slices
xAOD::JEMHits_v1::JetHits
unsigned int JetHits() const
Definition: JEMHits_v1.h:58
xAOD::JEMHits_v1::peak
int peak() const
get peak
xAOD::JEMHits_v1::JEMHits_v1
JEMHits_v1()
Definition: JEMHits_v1.cxx:18
AuxElement.h
Base class for elements of a container that can have aux data.