ATLAS Offline Software
Loading...
Searching...
No Matches
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
14namespace xAOD {
15
22
24 public:
25 // Default constructor
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
Base class for elements of a container that can have aux data.
Base class for elements of a container that can have aux data.
Definition AuxElement.h:483
int peak() const
get peak
void setCrate(int)
set crate number
void setPeak(int)
set peak
const std::vector< unsigned int > & hitsVec() const
get hitsVec - hits for all time slices
unsigned int hits() const
get hits for hitsVec[peak] - time slice that (hopefully) contains the collision
unsigned int Hits() const
Backwards Compatibility with Trigger/TrigT1/TrigT1CaloEvent Run1 EDM did not strictly follow camelCas...
int error() const
get error for errorVec[peak] - time slice that (hopefully) contains the collision
const std::vector< int > & errorVec() const
get errorVec - errors for all time slices
void setErrorVec(const std::vector< int > &)
set errorVec - errors for all time slices
int dataID() const
get dataID
void addHits(const std::vector< unsigned int > &hits, const std::vector< int > &error)
add hits. Internally calls setHitsVec(hits);setErrorVec(error);
void setDataID(int)
set dataID
void setHitsVec(const std::vector< unsigned int > &)
set hitsVec - hits for all time slices
int crate() const
get crate number
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.