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