17 etaMins_ =
pset.getParameter<std::vector<double>>(
"etaMins");
18 etaMaxs_ =
pset.getParameter<std::vector<double>>(
"etaMaxs");
24 for (
int i = 1;
i <= 10; ++
i) {
35 t1 =
"ALCTEtaNum_" + cn;
42 t2 =
"CLCTEtaNum_" + cn;
49 t3 =
"LCTEtaNum_" + cn;
72 for (
const auto&
t : sim_track) {
75 sim_track_selected.push_back(
t);
79 if (sim_track_selected.empty())
83 for (
const auto&
t : sim_track_selected) {
84 std::vector<bool> hitALCT(10);
85 std::vector<bool> hitCLCT(10);
86 std::vector<bool> hitLCT(10);
98 for (
int i = 0;
i < 10; ++
i) {
104 for (
auto& [
id, container] : alcts) {
107 hitALCT[chamberType - 1] =
true;
110 for (
auto& [
id, container] : clcts) {
113 hitCLCT[chamberType - 1] =
true;
116 for (
auto& [
id, container] : lcts) {
119 hitLCT[chamberType - 1] =
true;
123 for (
int i = 0;
i < 10; ++
i) {
MonitorElement * etaCLCTDenom[10]
MonitorElement * etaCLCTNum[10]
virtual void setCurrentFolder(std::string const &fullpath)
MonitorElement * etaALCTNum[10]
T const * product() const
~CSCStubEfficiencyValidation() override
edm::EDGetTokenT< edm::SimTrackContainer > simTrackInput_
MonitorElement * etaLCTNum[10]
unsigned short iChamberType() const
CSCStubEfficiencyValidation(const edm::ParameterSet &pset, edm::ConsumesCollector &&iC)
void bookHistograms(DQMStore::IBooker &)
MonitorElement * etaALCTDenom[10]
bool isSimTrackGood(const SimTrack &t) const
std::string chamberName() const
MonitorElement * etaLCTDenom[10]
void analyze(const edm::Event &, const edm::EventSetup &) override
std::vector< double > etaMins_
std::vector< double > etaMaxs_
std::vector< SimVertex > SimVertexContainer
virtual TH1 * getTH1() const
edm::EDGetTokenT< edm::SimVertexContainer > simVertexInput_
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
std::unique_ptr< CSCStubMatcher > cscStubMatcher_
std::vector< SimTrack > SimTrackContainer