CMS 3D CMS Logo

List of all members | Public Member Functions | Static Private Member Functions | Private Attributes
L1RCTTestAnalyzer Class Reference

#include <L1RCTTestAnalyzer.h>

Inheritance diagram for L1RCTTestAnalyzer:
edm::EDAnalyzer edm::EDConsumerBase

Public Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
 L1RCTTestAnalyzer (const edm::ParameterSet &)
 
 ~L1RCTTestAnalyzer () override
 
- Public Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
SerialTaskQueueglobalLuminosityBlocksQueue ()
 
SerialTaskQueueglobalRunsQueue ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
 ~EDAnalyzer () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::array< std::vector< ModuleDescription const * > *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Static Private Member Functions

static bool compareEmCands (const L1CaloEmCand &cand1, const L1CaloEmCand &cand2)
 

Private Attributes

edm::InputTag ecalDigisLabel
 
std::vector< int > emIeta
 
std::vector< int > emIphi
 
std::vector< int > emIso
 
std::vector< int > emRank
 
TTree * emTree
 
TH1F * h_ecalTimeSample
 
TH1F * h_emCandTimeSample
 
TH1F * h_emIeta
 
TH1F * h_emIphi
 
TH1F * h_emIso
 
TH2F * h_emIsoInIetaIphi
 
TH2F * h_emNonIsoInIetaIphi
 
TH1F * h_emRank
 
TH2F * h_emRankInIetaIphi
 
TH1F * h_emRankOutOfTime
 
TH1F * h_hcalTimeSample
 
TH2F * h_regionFGInIetaIphi
 
TH1F * h_regionIeta
 
TH1F * h_regionIphi
 
TH1F * h_regionMip
 
TH1F * h_regionSum
 
TH2F * h_regionSumInIetaIphi
 
TH1F * h_towerMip
 
edm::InputTag hcalDigisLabel
 
std::string m_HepMCProduct
 
edm::InputTag rctDigisLabel
 
bool showEmCands
 
bool showRegionSums
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
static bool wantsGlobalLuminosityBlocks ()
 
static bool wantsGlobalRuns ()
 
static bool wantsInputProcessBlocks ()
 
static bool wantsProcessBlocks ()
 
static bool wantsStreamLuminosityBlocks ()
 
static bool wantsStreamRuns ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< B > consumes (edm::InputTag tag) noexcept
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes () noexcept
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag) noexcept
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 

Detailed Description

src/L1RCTTestAnalyzer/src/L1RCTTestAnalyzer.cc

Description: <one line="" class="" summary>="">

Implementation: <Notes on="" implementation>="">

Definition at line 53 of file L1RCTTestAnalyzer.h.

Constructor & Destructor Documentation

◆ L1RCTTestAnalyzer()

L1RCTTestAnalyzer::L1RCTTestAnalyzer ( const edm::ParameterSet iConfig)
explicit

Definition at line 27 of file L1RCTTestAnalyzer.cc.

28  : showEmCands(iConfig.getUntrackedParameter<bool>("showEmCands")),
29  showRegionSums(iConfig.getUntrackedParameter<bool>("showRegionSums")),
30  ecalDigisLabel(iConfig.getParameter<edm::InputTag>("ecalDigisLabel")),
31  hcalDigisLabel(iConfig.getParameter<edm::InputTag>("hcalDigisLabel")),
32  rctDigisLabel(iConfig.getParameter<edm::InputTag>("rctDigisLabel")) {
33  // now do what ever initialization is needed
34 
36 
37  emTree = fs->make<TTree>("emTree", "L1 RCT EM tree");
38  // emTree->Branch("emRank",emRank,"emRank/I");
39  // emTree->Branch("emIeta",emIeta,"emIeta/I");
40  // emTree->Branch("emIphi",emIphi,"emIphi/I");
41  // emTree->Branch("emIso" ,emIso ,"emIso/I");
42  emTree->Branch("emRank", &emRank);
43  emTree->Branch("emIeta", &emIeta);
44  emTree->Branch("emIphi", &emIphi);
45  emTree->Branch("emIso", &emIso);
46 
47  h_emRank = fs->make<TH1F>("emRank", "emRank", 64, 0., 64.);
48  h_emRankOutOfTime = fs->make<TH1F>("emRankOutOfTime", "emRankOutOfTime", 64, 0., 64.);
49  h_emIeta = fs->make<TH1F>("emIeta", "emIeta", 22, 0., 22.);
50  h_emIphi = fs->make<TH1F>("emIphi", "emIphi", 18, 0., 18.);
51  h_emIso = fs->make<TH1F>("emIso", "emIso", 2, 0., 2.);
52  h_emRankInIetaIphi = fs->make<TH2F>("emRank2D", "emRank2D", 22, 0., 22., 18, 0., 18.);
53  h_emIsoInIetaIphi = fs->make<TH2F>("emIso2D", "emIso2D", 22, 0., 22., 18, 0., 18.);
54  h_emNonIsoInIetaIphi = fs->make<TH2F>("emNonIso2D", "emNonIso2D", 22, 0., 22., 18, 0., 18.);
55  h_emCandTimeSample = fs->make<TH1F>("emCandTimeSample", "emCandTimeSample", 5, -2., 2.);
56 
57  h_regionSum = fs->make<TH1F>("regionSum", "regionSum", 100, 0., 100.);
58  h_regionIeta = fs->make<TH1F>("regionIeta", "regionIeta", 22, 0., 22.);
59  h_regionIphi = fs->make<TH1F>("regionIphi", "regionIphi", 18, 0., 18.);
60  h_regionMip = fs->make<TH1F>("regionMip", "regionMipBit", 2, 0., 2.);
61  h_regionSumInIetaIphi = fs->make<TH2F>("regionSum2D", "regionSum2D", 22, 0., 22., 18, 0., 18.);
62  h_regionFGInIetaIphi = fs->make<TH2F>("regionFG2D", "regionFG2D", 22, 0., 22., 18, 0., 18.);
63 
64  h_towerMip = fs->make<TH1F>("towerMip", "towerMipBit", 2, 0., 2.);
65 
66  h_ecalTimeSample = fs->make<TH1F>("ecalTimeSample", "ecalTimeSample", 10, 0., 10.);
67  h_hcalTimeSample = fs->make<TH1F>("hcalTimeSample", "hcalTimeSample", 10, 0., 10.);
68 
69  // get names of modules, producing object collections
70 }

References emIeta, emIphi, emIso, emRank, emTree, h_ecalTimeSample, h_emCandTimeSample, h_emIeta, h_emIphi, h_emIso, h_emIsoInIetaIphi, h_emNonIsoInIetaIphi, h_emRank, h_emRankInIetaIphi, h_emRankOutOfTime, h_hcalTimeSample, h_regionFGInIetaIphi, h_regionIeta, h_regionIphi, h_regionMip, h_regionSum, h_regionSumInIetaIphi, h_towerMip, and TFileService::make().

◆ ~L1RCTTestAnalyzer()

L1RCTTestAnalyzer::~L1RCTTestAnalyzer ( )
override

Definition at line 72 of file L1RCTTestAnalyzer.cc.

72  {
73  // do anything here that needs to be done at destruction time
74  // (e.g. close files, deallocate resources etc.)
75 }

Member Function Documentation

◆ analyze()

void L1RCTTestAnalyzer::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
overridevirtual

Implements edm::EDAnalyzer.

Definition at line 82 of file L1RCTTestAnalyzer.cc.

82  {
83  using namespace edm;
84 #ifdef THIS_IS_AN_EVENT_EXAMPLE
86  iEvent.getByLabel("example", pIn);
87 #endif
88 
89 #ifdef THIS_IS_AN_EVENTSETUP_EXAMPLE
90  ESHandle<SetupData> pSetup;
91  iSetup.get<SetupRecord>().get(pSetup);
92 #endif
93 
94  // as in L1GctTestAnalyzer.cc
95  Handle<L1CaloEmCollection> rctEmCands;
99 
100  L1CaloEmCollection::const_iterator em;
101  L1CaloRegionCollection::const_iterator rgn;
104 
105  iEvent.getByLabel(rctDigisLabel, rctEmCands);
106  iEvent.getByLabel(rctDigisLabel, rctRegions);
107  iEvent.getByLabel(ecalDigisLabel, ecalColl);
108  iEvent.getByLabel(hcalDigisLabel, hcalColl);
109 
110  // for sorting later
111  L1CaloEmCollection *myL1EmColl = new L1CaloEmCollection;
112 
113  for (ecal = ecalColl->begin(); ecal != ecalColl->end(); ecal++) {
114  for (unsigned short sample = 0; sample < (*ecal).size(); sample++) {
115  h_ecalTimeSample->Fill(sample);
116  }
117  }
118 
119  for (hcal = hcalColl->begin(); hcal != hcalColl->end(); hcal++) {
120  h_towerMip->Fill((*hcal).SOI_fineGrain());
121  for (unsigned short sample = 0; sample < (*hcal).size(); sample++) {
122  h_hcalTimeSample->Fill(sample);
123  }
124  }
125 
126  if (showEmCands) {
127  // std::cout << std::endl << "L1 RCT EmCand objects" << std::endl;
128  }
129  for (em = rctEmCands->begin(); em != rctEmCands->end(); em++) {
130  // std::cout << "(Analyzer)\n" << (*em) << std::endl;
131 
132  L1CaloEmCand *myL1EmCand = new L1CaloEmCand(*em);
133  (*myL1EmColl).push_back(*myL1EmCand);
134  delete myL1EmCand;
135 
136  h_emCandTimeSample->Fill((*em).bx());
137  if ((*em).bx() == 0) {
138  unsigned short n_emcands = 0;
139  // std::cout << std::endl << "rank: " << (*em).rank() ;
140 
141  if ((*em).rank() > 0) {
142  h_emRank->Fill((*em).rank());
143  h_emIeta->Fill((*em).regionId().ieta());
144  h_emIphi->Fill((*em).regionId().iphi());
145  h_emIso->Fill((*em).isolated());
146  h_emRankInIetaIphi->Fill((*em).regionId().ieta(), (*em).regionId().iphi(), (*em).rank());
147  if ((*em).isolated()) {
148  h_emIsoInIetaIphi->Fill((*em).regionId().ieta(), (*em).regionId().iphi());
149  } else {
150  h_emNonIsoInIetaIphi->Fill((*em).regionId().ieta(), (*em).regionId().iphi());
151  }
152  }
153 
154  if (showEmCands) {
155  if ((*em).rank() > 0) {
156  // std::cout << std::endl << "rank: " << (*em).rank();
157  unsigned short rgnPhi = 999;
158  unsigned short rgn = (unsigned short)(*em).rctRegion();
159  unsigned short card = (unsigned short)(*em).rctCard();
160  unsigned short crate = (unsigned short)(*em).rctCrate();
161 
162  if (card == 6) {
163  rgnPhi = rgn;
164  } else if (card < 6) {
165  rgnPhi = (card % 2);
166  } else {
167  std::cout << "rgnPhi not assigned (still " << rgnPhi << ") -- Weird card number! " << card;
168  }
169 
170  // unsigned short phi_bin = ((crate % 9) * 2) + rgnPhi;
171  short eta_bin = (card / 2) * 2 + 1;
172  if (card < 6) {
173  eta_bin = eta_bin + rgn;
174  }
175  if (crate < 9) {
176  eta_bin = -eta_bin;
177  }
178  n_emcands++;
179 
180  // std::cout << /* "rank: " << (*em).rank() << */ "
181  // eta_bin: " << eta_bin << " phi_bin: " << phi_bin << ". crate: "
182  // << crate << " card: " << card << " region: " << rgn << ".
183  // isolated: " << (*em).isolated();
184  }
185  }
186  } else {
187  h_emRankOutOfTime->Fill((*em).rank());
188  }
189  }
190  if (showEmCands) {
191  // std::cout << std::endl;
192  }
193 
194  // next: SORT THESE GUYS so they're entered into the tree highest first
195  // std::sort(rctEmCands->begin(),rctEmCands->end(),compareEmCands);
196  // for (em=rctEmCands->begin(); em!=rctEmCands->end(); em++)
197  std::sort(myL1EmColl->begin(), myL1EmColl->end(), compareEmCands);
198  std::reverse(myL1EmColl->begin(), myL1EmColl->end()); // whoops!
199  for (em = myL1EmColl->begin(); em != myL1EmColl->end(); em++) {
200  emRank.push_back((*em).rank());
201  emIeta.push_back((*em).regionId().ieta());
202  emIphi.push_back((*em).regionId().iphi());
203  emIso.push_back((*em).isolated());
204  }
205  emTree->Fill();
206 
207  if (showRegionSums) {
208  std::cout << "Regions" << std::endl;
209  }
210  for (rgn = rctRegions->begin(); rgn != rctRegions->end(); rgn++) {
211  if ((*rgn).bx() == 0) {
212  if (showRegionSums && (*rgn).et() > 0) {
213  std::cout << /* "(Analyzer)\n" << */ (*rgn) << std::endl;
214  }
215  if ((*rgn).et() > 0) {
216  h_regionSum->Fill((*rgn).et());
217  h_regionIeta->Fill((*rgn).gctEta());
218  h_regionIphi->Fill((*rgn).gctPhi());
219  h_regionSumInIetaIphi->Fill((*rgn).gctEta(), (*rgn).gctPhi(), (*rgn).et());
220  h_regionFGInIetaIphi->Fill((*rgn).gctEta(), (*rgn).gctPhi(), (*rgn).fineGrain());
221  }
222  h_regionMip->Fill((*rgn).mip());
223  }
224  }
225  if (showRegionSums) {
226  std::cout << std::endl;
227  }
228 
229  emRank.clear();
230  emIeta.clear();
231  emIphi.clear();
232  emIso.clear();
233 
234  delete myL1EmColl;
235 }

References edm::SortedCollection< T, SORT >::begin(), compareEmCands(), gather_cfg::cout, bsc_activity_cfg::ecal, ecalDigisLabel, emIeta, emIphi, emIso, emRank, emTree, edm::SortedCollection< T, SORT >::end(), edm::EventSetup::get(), get, h_ecalTimeSample, h_emCandTimeSample, h_emIeta, h_emIphi, h_emIso, h_emIsoInIetaIphi, h_emNonIsoInIetaIphi, h_emRank, h_emRankInIetaIphi, h_emRankOutOfTime, h_hcalTimeSample, h_regionFGInIetaIphi, h_regionIeta, h_regionIphi, h_regionMip, h_regionSum, h_regionSumInIetaIphi, h_towerMip, hltEgammaHLTExtra_cfi::hcal, hcalDigisLabel, iEvent, rctDigisLabel, groupFilesInBlocks::reverse, simplePhotonAnalyzer_cfi::sample, showEmCands, showRegionSums, and jetUpdater_cfi::sort.

◆ compareEmCands()

bool L1RCTTestAnalyzer::compareEmCands ( const L1CaloEmCand cand1,
const L1CaloEmCand cand2 
)
staticprivate

Definition at line 237 of file L1RCTTestAnalyzer.cc.

237  {
238  return (cand1.rank() < cand2.rank());
239 }

References L1CaloEmCand::rank().

Referenced by analyze().

Member Data Documentation

◆ ecalDigisLabel

edm::InputTag L1RCTTestAnalyzer::ecalDigisLabel
private

Definition at line 67 of file L1RCTTestAnalyzer.h.

Referenced by analyze().

◆ emIeta

std::vector<int> L1RCTTestAnalyzer::emIeta
private

Definition at line 77 of file L1RCTTestAnalyzer.h.

Referenced by analyze(), and L1RCTTestAnalyzer().

◆ emIphi

std::vector<int> L1RCTTestAnalyzer::emIphi
private

Definition at line 78 of file L1RCTTestAnalyzer.h.

Referenced by analyze(), and L1RCTTestAnalyzer().

◆ emIso

std::vector<int> L1RCTTestAnalyzer::emIso
private

Definition at line 79 of file L1RCTTestAnalyzer.h.

Referenced by analyze(), and L1RCTTestAnalyzer().

◆ emRank

std::vector<int> L1RCTTestAnalyzer::emRank
private

Definition at line 76 of file L1RCTTestAnalyzer.h.

Referenced by analyze(), and L1RCTTestAnalyzer().

◆ emTree

TTree* L1RCTTestAnalyzer::emTree
private

Definition at line 71 of file L1RCTTestAnalyzer.h.

Referenced by analyze(), and L1RCTTestAnalyzer().

◆ h_ecalTimeSample

TH1F* L1RCTTestAnalyzer::h_ecalTimeSample
private

Definition at line 103 of file L1RCTTestAnalyzer.h.

Referenced by analyze(), and L1RCTTestAnalyzer().

◆ h_emCandTimeSample

TH1F* L1RCTTestAnalyzer::h_emCandTimeSample
private

Definition at line 90 of file L1RCTTestAnalyzer.h.

Referenced by analyze(), and L1RCTTestAnalyzer().

◆ h_emIeta

TH1F* L1RCTTestAnalyzer::h_emIeta
private

Definition at line 83 of file L1RCTTestAnalyzer.h.

Referenced by analyze(), and L1RCTTestAnalyzer().

◆ h_emIphi

TH1F* L1RCTTestAnalyzer::h_emIphi
private

Definition at line 84 of file L1RCTTestAnalyzer.h.

Referenced by analyze(), and L1RCTTestAnalyzer().

◆ h_emIso

TH1F* L1RCTTestAnalyzer::h_emIso
private

Definition at line 85 of file L1RCTTestAnalyzer.h.

Referenced by analyze(), and L1RCTTestAnalyzer().

◆ h_emIsoInIetaIphi

TH2F* L1RCTTestAnalyzer::h_emIsoInIetaIphi
private

Definition at line 88 of file L1RCTTestAnalyzer.h.

Referenced by analyze(), and L1RCTTestAnalyzer().

◆ h_emNonIsoInIetaIphi

TH2F* L1RCTTestAnalyzer::h_emNonIsoInIetaIphi
private

Definition at line 89 of file L1RCTTestAnalyzer.h.

Referenced by analyze(), and L1RCTTestAnalyzer().

◆ h_emRank

TH1F* L1RCTTestAnalyzer::h_emRank
private

Definition at line 81 of file L1RCTTestAnalyzer.h.

Referenced by analyze(), and L1RCTTestAnalyzer().

◆ h_emRankInIetaIphi

TH2F* L1RCTTestAnalyzer::h_emRankInIetaIphi
private

Definition at line 86 of file L1RCTTestAnalyzer.h.

Referenced by analyze(), and L1RCTTestAnalyzer().

◆ h_emRankOutOfTime

TH1F* L1RCTTestAnalyzer::h_emRankOutOfTime
private

Definition at line 82 of file L1RCTTestAnalyzer.h.

Referenced by analyze(), and L1RCTTestAnalyzer().

◆ h_hcalTimeSample

TH1F* L1RCTTestAnalyzer::h_hcalTimeSample
private

Definition at line 104 of file L1RCTTestAnalyzer.h.

Referenced by analyze(), and L1RCTTestAnalyzer().

◆ h_regionFGInIetaIphi

TH2F* L1RCTTestAnalyzer::h_regionFGInIetaIphi
private

Definition at line 99 of file L1RCTTestAnalyzer.h.

Referenced by analyze(), and L1RCTTestAnalyzer().

◆ h_regionIeta

TH1F* L1RCTTestAnalyzer::h_regionIeta
private

Definition at line 93 of file L1RCTTestAnalyzer.h.

Referenced by analyze(), and L1RCTTestAnalyzer().

◆ h_regionIphi

TH1F* L1RCTTestAnalyzer::h_regionIphi
private

Definition at line 94 of file L1RCTTestAnalyzer.h.

Referenced by analyze(), and L1RCTTestAnalyzer().

◆ h_regionMip

TH1F* L1RCTTestAnalyzer::h_regionMip
private

Definition at line 95 of file L1RCTTestAnalyzer.h.

Referenced by analyze(), and L1RCTTestAnalyzer().

◆ h_regionSum

TH1F* L1RCTTestAnalyzer::h_regionSum
private

Definition at line 92 of file L1RCTTestAnalyzer.h.

Referenced by analyze(), and L1RCTTestAnalyzer().

◆ h_regionSumInIetaIphi

TH2F* L1RCTTestAnalyzer::h_regionSumInIetaIphi
private

Definition at line 96 of file L1RCTTestAnalyzer.h.

Referenced by analyze(), and L1RCTTestAnalyzer().

◆ h_towerMip

TH1F* L1RCTTestAnalyzer::h_towerMip
private

Definition at line 101 of file L1RCTTestAnalyzer.h.

Referenced by analyze(), and L1RCTTestAnalyzer().

◆ hcalDigisLabel

edm::InputTag L1RCTTestAnalyzer::hcalDigisLabel
private

Definition at line 68 of file L1RCTTestAnalyzer.h.

Referenced by analyze().

◆ m_HepMCProduct

std::string L1RCTTestAnalyzer::m_HepMCProduct
private

Definition at line 64 of file L1RCTTestAnalyzer.h.

◆ rctDigisLabel

edm::InputTag L1RCTTestAnalyzer::rctDigisLabel
private

Definition at line 69 of file L1RCTTestAnalyzer.h.

Referenced by analyze().

◆ showEmCands

bool L1RCTTestAnalyzer::showEmCands
private

Definition at line 65 of file L1RCTTestAnalyzer.h.

Referenced by analyze().

◆ showRegionSums

bool L1RCTTestAnalyzer::showRegionSums
private

Definition at line 66 of file L1RCTTestAnalyzer.h.

Referenced by analyze().

L1RCTTestAnalyzer::h_hcalTimeSample
TH1F * h_hcalTimeSample
Definition: L1RCTTestAnalyzer.h:104
edm::SortedCollection::const_iterator
std::vector< T >::const_iterator const_iterator
Definition: SortedCollection.h:80
simplePhotonAnalyzer_cfi.sample
sample
Definition: simplePhotonAnalyzer_cfi.py:12
L1RCTTestAnalyzer::h_ecalTimeSample
TH1F * h_ecalTimeSample
Definition: L1RCTTestAnalyzer.h:103
L1RCTTestAnalyzer::h_emIphi
TH1F * h_emIphi
Definition: L1RCTTestAnalyzer.h:84
L1RCTTestAnalyzer::h_emIso
TH1F * h_emIso
Definition: L1RCTTestAnalyzer.h:85
hcal
Definition: ConfigurationDatabase.cc:13
edm
HLT enums.
Definition: AlignableModifier.h:19
gather_cfg.cout
cout
Definition: gather_cfg.py:144
L1RCTTestAnalyzer::h_towerMip
TH1F * h_towerMip
Definition: L1RCTTestAnalyzer.h:101
L1RCTTestAnalyzer::emIeta
std::vector< int > emIeta
Definition: L1RCTTestAnalyzer.h:77
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
L1RCTTestAnalyzer::compareEmCands
static bool compareEmCands(const L1CaloEmCand &cand1, const L1CaloEmCand &cand2)
Definition: L1RCTTestAnalyzer.cc:237
L1RCTTestAnalyzer::h_emNonIsoInIetaIphi
TH2F * h_emNonIsoInIetaIphi
Definition: L1RCTTestAnalyzer.h:89
ecal
Definition: ElectronicsMappingGPU.h:13
edm::Handle
Definition: AssociativeIterator.h:50
groupFilesInBlocks.reverse
reverse
Definition: groupFilesInBlocks.py:131
hltEgammaHLTExtra_cfi.hcal
hcal
Definition: hltEgammaHLTExtra_cfi.py:42
L1RCTTestAnalyzer::h_regionSumInIetaIphi
TH2F * h_regionSumInIetaIphi
Definition: L1RCTTestAnalyzer.h:96
L1RCTTestAnalyzer::h_emCandTimeSample
TH1F * h_emCandTimeSample
Definition: L1RCTTestAnalyzer.h:90
L1CaloEmCollection
std::vector< L1CaloEmCand > L1CaloEmCollection
Definition: L1CaloCollections.h:10
edm::EventSetup::get
T get() const
Definition: EventSetup.h:87
L1RCTTestAnalyzer::h_emIsoInIetaIphi
TH2F * h_emIsoInIetaIphi
Definition: L1RCTTestAnalyzer.h:88
L1RCTTestAnalyzer::h_regionMip
TH1F * h_regionMip
Definition: L1RCTTestAnalyzer.h:95
edm::SortedCollection::begin
const_iterator begin() const
Definition: SortedCollection.h:262
edm::ESHandle
Definition: DTSurvey.h:22
L1RCTTestAnalyzer::h_regionIphi
TH1F * h_regionIphi
Definition: L1RCTTestAnalyzer.h:94
L1RCTTestAnalyzer::emRank
std::vector< int > emRank
Definition: L1RCTTestAnalyzer.h:76
L1RCTTestAnalyzer::h_emRankInIetaIphi
TH2F * h_emRankInIetaIphi
Definition: L1RCTTestAnalyzer.h:86
L1RCTTestAnalyzer::h_emRank
TH1F * h_emRank
Definition: L1RCTTestAnalyzer.h:81
L1RCTTestAnalyzer::h_emRankOutOfTime
TH1F * h_emRankOutOfTime
Definition: L1RCTTestAnalyzer.h:82
edm::SortedCollection::end
const_iterator end() const
Definition: SortedCollection.h:267
jetUpdater_cfi.sort
sort
Definition: jetUpdater_cfi.py:29
L1RCTTestAnalyzer::rctDigisLabel
edm::InputTag rctDigisLabel
Definition: L1RCTTestAnalyzer.h:69
edm::Service< TFileService >
iEvent
int iEvent
Definition: GenABIO.cc:224
L1RCTTestAnalyzer::hcalDigisLabel
edm::InputTag hcalDigisLabel
Definition: L1RCTTestAnalyzer.h:68
get
#define get
L1RCTTestAnalyzer::h_emIeta
TH1F * h_emIeta
Definition: L1RCTTestAnalyzer.h:83
L1RCTTestAnalyzer::h_regionIeta
TH1F * h_regionIeta
Definition: L1RCTTestAnalyzer.h:93
L1RCTTestAnalyzer::showRegionSums
bool showRegionSums
Definition: L1RCTTestAnalyzer.h:66
L1RCTTestAnalyzer::h_regionFGInIetaIphi
TH2F * h_regionFGInIetaIphi
Definition: L1RCTTestAnalyzer.h:99
L1RCTTestAnalyzer::ecalDigisLabel
edm::InputTag ecalDigisLabel
Definition: L1RCTTestAnalyzer.h:67
L1RCTTestAnalyzer::emIso
std::vector< int > emIso
Definition: L1RCTTestAnalyzer.h:79
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
L1RCTTestAnalyzer::emIphi
std::vector< int > emIphi
Definition: L1RCTTestAnalyzer.h:78
L1CaloEmCand::rank
unsigned rank() const
get rank bits
Definition: L1CaloEmCand.h:42
bsc_activity_cfg.ecal
ecal
Definition: bsc_activity_cfg.py:25
L1RCTTestAnalyzer::emTree
TTree * emTree
Definition: L1RCTTestAnalyzer.h:71
L1RCTTestAnalyzer::showEmCands
bool showEmCands
Definition: L1RCTTestAnalyzer.h:65
L1CaloEmCand
Level-1 Region Calorimeter Trigger EM candidate.
Definition: L1CaloEmCand.h:17
edm::InputTag
Definition: InputTag.h:15
TFileService::make
T * make(const Args &... args) const
make new ROOT object
Definition: TFileService.h:64
L1RCTTestAnalyzer::h_regionSum
TH1F * h_regionSum
Definition: L1RCTTestAnalyzer.h:92