49 enum VariableType {
HFtowers = 0,
HFtowersPlus = 1,
HFtowersMinus = 2,
HFtowersTrunc = 3,
HFtowersPlusTrunc = 4,
HFtowersMinusTrunc = 5,
HFhits = 6,
PixelHits = 7,
PixelTracks = 8,
Tracks = 9,
EB = 10,
EE = 11,
ZDChitsPlus = 12,
ZDChitsMinus = 13,
Missing = 14};
112 "Supported variables are: \n" +
"HFtowers HFtowersPlus HFtowersMinus HFtowersTrunc HFtowersPlusTrunc HFtowersMinusTrunc HFhits PixelHits PixelTracks Tracks EB EE" +
"\n";
116 if(iConfig.
exists(
"nonDefaultGlauberModel")){
162 throw cms::Exception(
"CentralityBinProducer",
"Centrality variable not recognized.");
T getParameter(std::string const &) const
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
std::vector< CBin > m_table
bool getByToken(EDGetToken token, Handle< PROD > &result) const
double EtHFtowerSumMinus() const
bool exists(std::string const ¶meterName) const
checks if a parameter exists
CentralityBinProducer(const edm::ParameterSet &)
double EtHFtruncatedPlus() const
edm::ESHandle< CentralityTable > inputDB_
double zdcSumMinus() const
#define DEFINE_FWK_MODULE(type)
std::string centralityVariable_
std::string centralityLabel_
double EtHFtowerSumPlus() const
void beginRun(edm::Run const &run, const edm::EventSetup &iSetup) override
edm::Handle< reco::Centrality > chandle_
bin
set the eta bin as selection string.
double EtHFtruncatedMinus() const
double multiplicityPixel() const
double EtHFtowerSum() const
void produce(edm::Event &, const edm::EventSetup &) override
~CentralityBinProducer() override
std::string centralityMC_
double EtHFhitSum() const
double EtHFtruncated() const
edm::EDGetTokenT< reco::Centrality > tag_
double NpixelTracks() const
double zdcSumPlus() const