16 m_histocluslenangle(),
28 : m_2dhistos(iConfig.getUntrackedParameter<bool>(
"wanted2DHistos",
false)),
32 m_histocluslenangle(),
44 std::vector<edm::ParameterSet> wantedsubds(iConfig.
getParameter<std::vector<edm::ParameterSet> >(
"wantedSubDets"));
46 std::cout <<
"selections found: " << wantedsubds.size() << std::endl;
48 for (std::vector<edm::ParameterSet>::iterator ps = wantedsubds.begin(); ps != wantedsubds.end(); ++ps) {
58 for (
unsigned int isel = 0; isel <
m_detsels.size(); ++isel) {
63 m_tsosy.push_back(subdir.
make<TH1F>(name.c_str(), title.c_str(), 200, -20., 20.));
66 m_tsosx.push_back(subdir.
make<TH1F>(name.c_str(), title.c_str(), 200, -20., 20.));
70 m_tsosxy.push_back(subdir.
make<TH2F>(name.c_str(), title.c_str(), 200, -20., 20., 200, -20., 20.));
75 m_tsosprojx.push_back(subdir.
make<TH1F>(name.c_str(), title.c_str(), 400, -2., 2.));
78 m_tsosprojy.push_back(subdir.
make<TH1F>(name.c_str(), title.c_str(), 400, -2., 2.));
82 m_ttrhy.push_back(subdir.
make<TH1F>(name.c_str(), title.c_str(), 200, -20., 20.));
85 m_ttrhx.push_back(subdir.
make<TH1F>(name.c_str(), title.c_str(), 200, -20., 20.));
89 m_ttrhxy.push_back(subdir.
make<TH2F>(name.c_str(), title.c_str(), 200, -20., 20., 200, -20., 20.));
94 m_tsosdy.push_back(subdir.
make<TH1F>(name.c_str(), title.c_str(), 200, -5., 5.));
97 m_tsosdx.push_back(subdir.
make<TH1F>(name.c_str(), title.c_str(), 200, -0.1, 0.1));
101 m_tsosdxdy.push_back(subdir.
make<TH2F>(name.c_str(), title.c_str(), 200, -0.1, 0.1, 200, -5., 5.));
105 title =
"Cluster Length vs Track Angle " +
m_seltitles[isel];
112 if (hit ==
nullptr || !hit->isValid())
121 m_ttrhy[
i]->Fill(hit->localPosition().y());
122 m_ttrhx[
i]->Fill(hit->localPosition().x());
124 m_ttrhxy[
i]->Fill(hit->localPosition().x(), hit->localPosition().y());
std::vector< std::string > m_selnames
std::vector< TH1F * > m_tsosprojy
std::vector< TH1F * > m_tsosdx
std::vector< TH2F * > m_tsosdxdy
LocalVector localDirection() const
LocalPoint localPosition() const
void fill(const TrajectoryStateOnSurface &tsos, TransientTrackingRecHit::ConstRecHitPointer hit) const
std::vector< TH1F * > m_tsosdy
std::vector< TH1F * > m_tsosprojx
std::vector< TH1F * > m_tsosy
std::vector< std::string > m_seltitles
std::shared_ptr< TrackingRecHit const > ConstRecHitPointer
T * make(const Args &...args) const
make new ROOT object
std::vector< TH1F * > m_tsosx
std::vector< TH1F * > m_ttrhx
TFileDirectory mkdir(const std::string &dir, const std::string &descr="")
create a new subdirectory
std::vector< DetIdSelector > m_detsels
std::vector< TH2F * > m_tsosxy
T getParameter(std::string const &) const
bool isSelected(const std::vector< L1HPSPFTauQualityCut > &qualityCuts, const l1t::PFCandidate &pfCand, float_t primaryVertexZ)
std::vector< TH2F * > m_histocluslenangle
std::vector< TH2F * > m_ttrhxy
std::vector< TH1F * > m_ttrhy