Go to the documentation of this file.
20 const auto& stubConfig =
pset.getParameterSet(
"cscALCT");
30 etaMins_ =
pset.getParameter<std::vector<double>>(
"etaMins");
31 etaMaxs_ =
pset.getParameter<std::vector<double>>(
"etaMaxs");
39 for (
int i = 1;
i <= 10; ++
i) {
51 t1 =
"ALCTEtaNum_" + cn;
52 t2 =
"CLCTEtaNum_" + cn;
53 t3 =
"LCTEtaNum_" + cn;
94 for (
const auto&
t : sim_track) {
97 sim_track_selected.push_back(
t);
101 if (sim_track_selected.empty())
105 for (
const auto&
t : sim_track_selected) {
106 std::vector<bool> hitALCT(10);
107 std::vector<bool> hitCLCT(10);
108 std::vector<bool> hitLCT(10);
120 for (
int i = 0;
i < 10; ++
i) {
126 for (
auto& [
id, container] : alcts) {
129 hitALCT[chamberType - 1] =
true;
132 for (
auto& [
id, container] : clcts) {
135 hitCLCT[chamberType - 1] =
true;
138 for (
auto& [
id, container] : lcts) {
141 hitLCT[chamberType - 1] =
true;
145 for (
int i = 0;
i < 10; ++
i) {
MonitorElement * etaLCTDenom[10]
T const * product() const
MonitorElement * etaLCTNum[10]
edm::EDGetTokenT< edm::SimTrackContainer > simTrackInput_
virtual void setCurrentFolder(std::string const &fullpath)
std::shared_ptr< CSCStubMatcher > cscStubMatcher_
unsigned short iChamberType() const
MonitorElement * etaCLCTDenom[10]
void bookHistograms(DQMStore::IBooker &)
CSCStubEfficiencyValidation(const edm::ParameterSet &pset, edm::ConsumesCollector &&iC)
void analyze(const edm::Event &, const edm::EventSetup &) override
std::vector< double > etaMins_
edm::EDGetTokenT< CSCALCTDigiCollection > alcts_Token_
edm::EDGetTokenT< CSCCLCTDigiCollection > clcts_Token_
MonitorElement * etaCLCTNum[10]
edm::EDGetTokenT< edm::SimVertexContainer > simVertexInput_
Log< level::Error, false > LogError
bool isSimTrackGood(const SimTrack &t)
~CSCStubEfficiencyValidation() override
std::vector< double > etaMaxs_
std::vector< SimTrack > SimTrackContainer
std::string chamberName() const
Abs< T >::type abs(const T &t)
MonitorElement * etaALCTDenom[10]
std::vector< SimVertex > SimVertexContainer
edm::EDGetTokenT< CSCCorrelatedLCTDigiCollection > lcts_Token_
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
MonitorElement * etaALCTNum[10]