Go to the documentation of this file. 1 #ifndef DataFormats_Luminosity_PixelClusterCounts_h
2 #define DataFormats_Luminosity_PixelClusterCounts_h
29 if (modIndex ==
m_ModID.size()) {
39 std::vector<int>
const& countsInEvent = pccInEvent.
counts();
40 std::vector<int>
const& modIDInEvent = pccInEvent.
modID();
41 int bxIDInEvent = pccInEvent.
bxID();
42 for (
unsigned int i = 0;
i < modIDInEvent.size();
i++) {
43 increment(modIDInEvent[
i], bxIDInEvent, countsInEvent.at(
i));
std::vector< int > const & readEvents() const
static const unsigned int numBX
std::vector< int > const & readCounts() const
void add(reco::PixelClusterCountsInEvent const &pccInEvent)
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
std::vector< int > const & readModID() const
std::vector< int > const & counts() const
std::vector< int > const & modID() const
void increment(int mD, unsigned int bxID, int count)
unsigned int const & bxID() const
void eventCounter(unsigned int bxID)
std::vector< int > m_events
std::vector< int > m_counts
std::vector< int > m_ModID