CSCPedestals

Item

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
#ifndef CSCPedestals_h
#define CSCPedestals_h

#include "CondFormats/Serialization/interface/Serializable.h"

#include "DataFormats/MuonDetId/interface/CSCDetId.h"
#include <vector>
#include <map>

class CSCPedestals {
public:
  CSCPedestals();
  ~CSCPedestals();

  struct Item {
    float ped;
    float rms;

    COND_SERIALIZABLE;
  };

  const Item& item(const CSCDetId& cscId, int strip) const;

  typedef std::map<int, std::vector<Item> > PedestalMap;
  PedestalMap pedestals;

  COND_SERIALIZABLE;
};

#endif