CMS 3D CMS Logo

List of all members | Public Member Functions | Private Types | Private Attributes
TkAlCaSkimTreeMerger Class Reference
Inheritance diagram for TkAlCaSkimTreeMerger:
edm::EDAnalyzer edm::EDConsumerBase

Public Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
void beginJob () override
 
void endJob () override
 
 TkAlCaSkimTreeMerger (const edm::ParameterSet &iConfig)
 
 ~TkAlCaSkimTreeMerger () 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)
 

Private Types

typedef std::map< uint32_t, uint32_t > DetHitMap
 

Private Attributes

TChain * ch_
 
std::string filelist_
 
std::string firstfilename_
 
TTree * firsttree_
 
DetHitMap hitmap_
 
int maxhits_
 
edm::ParameterSet maxhitsSet_
 
int maxPXBhits_
 
int maxPXFhits_
 
int maxTEChits_
 
int maxTIBhits_
 
int maxTIDhits_
 
int maxTOBhits_
 
TStopwatch myclock
 
TTree * out_
 
std::string outfilename_
 
DetHitMap overlapmap_
 
std::string treename_
 

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

Definition at line 24 of file TkAlCaSkimTreeMerger.cc.

Member Typedef Documentation

◆ DetHitMap

typedef std::map<uint32_t, uint32_t> TkAlCaSkimTreeMerger::DetHitMap
private

Definition at line 42 of file TkAlCaSkimTreeMerger.cc.

Constructor & Destructor Documentation

◆ TkAlCaSkimTreeMerger()

TkAlCaSkimTreeMerger::TkAlCaSkimTreeMerger ( const edm::ParameterSet iConfig)

Definition at line 54 of file TkAlCaSkimTreeMerger.cc.

55  : filelist_(iConfig.getParameter<std::string>("FileList")),
56  treename_(iConfig.getParameter<std::string>("TreeName")),
57  outfilename_(iConfig.getParameter<std::string>("OutputFile")),
58  // maxhits_(iConfig.getParameter<vint>("NhitsMaxLimit"))
59  maxhits_(iConfig.getParameter<int32_t>("NhitsMaxLimit")),
60  maxhitsSet_(iConfig.getParameter<edm::ParameterSet>("NhitsMaxSet")) {
61  maxPXBhits_ = maxhitsSet_.getParameter<int32_t>("PXBmaxhits");
62  maxPXFhits_ = maxhitsSet_.getParameter<int32_t>("PXFmaxhits");
63  maxTIBhits_ = maxhitsSet_.getParameter<int32_t>("TIBmaxhits");
64  maxTIDhits_ = maxhitsSet_.getParameter<int32_t>("TIDmaxhits");
65  maxTOBhits_ = maxhitsSet_.getParameter<int32_t>("TOBmaxhits");
66  maxTEChits_ = maxhitsSet_.getParameter<int32_t>("TECmaxhits");
67  //anything you want to do for initializing
68  std::cout << "\n\n*** MAX N HITS = " << maxhits_ << std::endl << std::endl;
69  out_ = nullptr;
70  firsttree_ = nullptr;
71  ch_ = nullptr;
72 }

References ch_, gather_cfg::cout, firsttree_, edm::ParameterSet::getParameter(), maxhits_, maxhitsSet_, maxPXBhits_, maxPXFhits_, maxTEChits_, maxTIBhits_, maxTIDhits_, maxTOBhits_, and out_.

◆ ~TkAlCaSkimTreeMerger()

TkAlCaSkimTreeMerger::~TkAlCaSkimTreeMerger ( )
override

Definition at line 74 of file TkAlCaSkimTreeMerger.cc.

74  {
75  //default destructor
76  // delete out_;
77  // delete firsttree_;
78 
79  delete ch_;
80  std::cout << "finished." << std::endl;
81 }

References ch_, and gather_cfg::cout.

Member Function Documentation

◆ analyze()

void TkAlCaSkimTreeMerger::analyze ( const edm::Event ,
const edm::EventSetup  
)
overridevirtual

Implements edm::EDAnalyzer.

Definition at line 166 of file TkAlCaSkimTreeMerger.cc.

166  {
167  // std::cout<<firsttree_->GetEntries()<<std::endl;
168 } //end analyze

◆ beginJob()

void TkAlCaSkimTreeMerger::beginJob ( void  )
overridevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 84 of file TkAlCaSkimTreeMerger.cc.

84  {
85  myclock.Start();
86 
87  //prepare the chain
88  ch_ = new TChain(treename_.c_str());
89  std::cout << "The chain contains " << ch_->GetNtrees() << " trees" << std::endl;
90 
91  //load the trees into the chain
92  std::ifstream flist(filelist_.c_str(), std::ios::in);
94  std::string firstfilename;
95  bool first = true;
96  while (!flist.eof()) {
97  filename = "";
98  flist >> filename;
99  if (filename.empty())
100  continue;
101  //std::cout<<"Adding "<<filename<<std::endl;
102  ch_->Add(filename.c_str());
103  if (first) {
105  first = false;
106  }
107  }
108  std::cout << "Now the chain contains " << ch_->GetNtrees() << " trees (" << ch_->GetEntries() << " entries)"
109  << std::endl;
110 
111  unsigned int id_ch = 0;
112  uint32_t nhits_ch = 0, noverlaps_ch = 0;
113  ch_->SetBranchAddress("DetId", &id_ch);
114  ch_->SetBranchAddress("Nhits", &nhits_ch);
115  ch_->SetBranchAddress("Noverlaps", &noverlaps_ch);
116 
117  ch_->SetBranchStatus("SubDet", false);
118  ch_->SetBranchStatus("Layer", false);
119  ch_->SetBranchStatus("is2D", false);
120  ch_->SetBranchStatus("isStereo", false);
121  ch_->SetBranchStatus("posX", false);
122  ch_->SetBranchStatus("posY", false);
123  ch_->SetBranchStatus("posZ", false);
124  ch_->SetBranchStatus("posR", false);
125  ch_->SetBranchStatus("posEta", false);
126  ch_->SetBranchStatus("posPhi", false); //now only id, nhits and noverlaps are on...
127 
128  int totnhits(0), totnoverlaps(0);
129 
130  //look if you find this detid in the map
131  DetHitMap::iterator mapiter;
132  DetHitMap::iterator overlapiter;
133 
134  for (int ent = 0; ent < ch_->GetEntries(); ++ent) {
135  // for(int ent=0;ent<100;++ent){
136  ch_->GetEntry(ent);
137  totnhits += nhits_ch;
138  totnoverlaps += noverlaps_ch;
139 
140  mapiter = hitmap_.find(id_ch);
141  if (mapiter != hitmap_.end()) { //present, increase its value
142  hitmap_[id_ch] = hitmap_[id_ch] + nhits_ch;
143  } else { //not present, let's add this key to the map with value=1
144  hitmap_.insert(std::pair<uint32_t, uint32_t>(id_ch, nhits_ch));
145  }
146  //do the same for overlaps
147  overlapiter = overlapmap_.find(id_ch);
148  if (overlapiter != overlapmap_.end()) {
149  overlapmap_[id_ch] = overlapmap_[id_ch] + noverlaps_ch;
150  } else {
151  overlapmap_.insert(std::pair<uint32_t, uint32_t>(id_ch, noverlaps_ch));
152  }
153 
154  } //end loop on ent - entries in the chain
155 
156  std::cout << "Nhits in the chain: " << totnhits << std::endl;
157  std::cout << "NOverlaps in the chain: " << totnoverlaps << std::endl;
158 
159  myclock.Stop();
160  std::cout << "Finished beginJob after " << myclock.RealTime() << " s (real time) / " << myclock.CpuTime()
161  << " s (cpu time)" << std::endl;
162  myclock.Continue();
163 } //end beginJob

References ch_, gather_cfg::cout, filelist_, corrVsCorr::filename, first, firstfilename_, hitmap_, recoMuon::in, myclock, overlapmap_, AlCaHLTBitMon_QueryRunRegistry::string, and treename_.

◆ endJob()

void TkAlCaSkimTreeMerger::endJob ( void  )
overridevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 171 of file TkAlCaSkimTreeMerger.cc.

171  {
172  //address variables in the first tree and in the chain
173  TFile *firstfile = new TFile(firstfilename_.c_str(), "READ");
174  firsttree_ = (TTree *)firstfile->Get(treename_.c_str());
175  std::cout << "the first tree has " << firsttree_->GetEntries() << " entries" << std::endl;
176  unsigned int id = 0;
177  uint32_t nhits = 0, noverlaps = 0;
178  float posX(-99999.0), posY(-77777.0), posZ(-88888.0);
179  float posEta(-6666.0), posPhi(-5555.0), posR(-4444.0);
180  int subdet = 0;
181  unsigned int layer = 0;
182  // bool is2D=false,isStereo=false;
183  firsttree_->SetBranchAddress("DetId", &id);
184  firsttree_->SetBranchAddress("Nhits", &nhits);
185  firsttree_->SetBranchAddress("Noverlaps", &noverlaps);
186  firsttree_->SetBranchAddress("SubDet", &subdet);
187  firsttree_->SetBranchAddress("Layer", &layer);
188  // firsttree_->SetBranchAddress("is2D" , &is2D);
189  // firsttree_->SetBranchAddress("isStereo", &isStereo);
190  firsttree_->SetBranchAddress("posX", &posX);
191  firsttree_->SetBranchAddress("posY", &posY);
192  firsttree_->SetBranchAddress("posZ", &posZ);
193  firsttree_->SetBranchAddress("posR", &posR);
194  firsttree_->SetBranchAddress("posEta", &posEta);
195  firsttree_->SetBranchAddress("posPhi", &posPhi);
196 
197  //create and book the output
198 
199  TFile *outfile = new TFile(outfilename_.c_str(), "RECREATE");
200  out_ = new TTree(treename_.c_str(), "AlignmentHitMapsTOTAL");
201  unsigned int id_out = 0;
202  uint32_t nhits_out = 0, noverlaps_out = 0;
203  float posX_out(-99999.0), posY_out(-77777.0), posZ_out(-88888.0);
204  float posEta_out(-6666.0), posPhi_out(-5555.0), posR_out(-4444.0);
205  int subdet_out = 0;
206  unsigned int layer_out = 0;
207  bool is2D_out = false, isStereo_out = false;
208  float prescfact_out = 1.0;
209  float prescfact_overlap_out = 1.0;
210 
211  out_->Branch("DetId", &id_out, "DetId/i");
212  out_->Branch("Nhits", &nhits_out, "Nhits/i");
213  out_->Branch("Noverlaps", &noverlaps_out, "Noverlaps/i");
214  out_->Branch("SubDet", &subdet_out, "SubDet/I");
215  out_->Branch("Layer", &layer_out, "Layer/i");
216  out_->Branch("is2D", &is2D_out, "is2D/B");
217  out_->Branch("isStereo", &isStereo_out, "isStereo/B");
218  out_->Branch("posX", &posX_out, "posX/F");
219  out_->Branch("posY", &posY_out, "posY/F");
220  out_->Branch("posZ", &posZ_out, "posZ/F");
221  out_->Branch("posR", &posR_out, "posR/F");
222  out_->Branch("posEta", &posEta_out, "posEta/F");
223  out_->Branch("posPhi", &posPhi_out, "posPhi/F");
224  out_->Branch("PrescaleFactor", &prescfact_out, "PrescaleFact/F");
225  out_->Branch("PrescaleFactorOverlap", &prescfact_overlap_out, "PrescaleFactOverlap/F");
226 
227  //look if you find this detid in the map
228  DetHitMap::iterator mapiter;
229 
230  for (int mod = 0; mod < firsttree_->GetEntries(); mod++) {
231  //for(int mod=0;mod<100;++mod){
232  // nhits_out=0;
233  // noverlaps_out=0;
234 
235  firsttree_->GetEntry(mod);
236  nhits_out = hitmap_[id];
237  noverlaps_out = overlapmap_[id];
238  // if(mod<25)std::cout<<"Nhits 1st tree: "<<nhits<<"\tTotal nhits chain: "<<nhits_out<<std::endl;
239  id_out = id;
240  subdet_out = subdet;
241  layer_out = layer;
242  posX_out = posX;
243  posY_out = posY;
244  posZ_out = posZ;
245  posR_out = posR;
246  posEta_out = posEta;
247  posPhi_out = posPhi;
248 
249  //calculate prescaling factor
250  int subdetmax = -1;
251  if (subdet_out == 1)
252  subdetmax = maxPXBhits_;
253  else if (subdet_out == 2)
254  subdetmax = maxPXFhits_;
255  else if (subdet_out == 3)
256  subdetmax = maxTIBhits_;
257  else if (subdet_out == 4)
258  subdetmax = maxTIDhits_;
259  else if (subdet_out == 5)
260  subdetmax = maxTOBhits_;
261  else if (subdet_out == 6)
262  subdetmax = maxTEChits_;
263  else
264  subdetmax = -9999;
265 
266  if (maxhits_ > -1) {
267  if (int(nhits_out) > maxhits_) {
268  prescfact_out = float(maxhits_) / float(nhits_out);
269  }
270  if (int(noverlaps_out) > maxhits_) {
271  prescfact_overlap_out = float(maxhits_) / float(noverlaps_out);
272  }
273  } else if (subdetmax > 0) { //calculate different prescaling factors for each subdet
274  if (int(nhits_out) > subdetmax) {
275  prescfact_out = float(subdetmax / nhits_out);
276  }
277  if (int(noverlaps_out) > subdetmax) {
278  prescfact_overlap_out = float(subdetmax) / float(noverlaps_out);
279  }
280  } else {
281  prescfact_out = 1.0;
282  prescfact_overlap_out = 1.0;
283  }
284  out_->Fill();
285 
286  } //end loop on mod - first tree modules
287 
288  myclock.Stop();
289  std::cout << "Finished endJob after " << myclock.RealTime() << " s (real time) / " << myclock.CpuTime()
290  << " s (cpu time)" << std::endl;
291  std::cout << "Ending the tree merging." << std::endl;
292  out_->Write();
293  std::cout << "Deleting..." << std::flush;
294  delete firstfile;
295  delete outfile;
296 
297 } //end endJob

References gather_cfg::cout, firstfilename_, firsttree_, dqmMemoryStats::float, hitmap_, triggerObjects_cff::id, phase1PixelTopology::layer, maxhits_, maxPXBhits_, maxPXFhits_, maxTEChits_, maxTIBhits_, maxTIDhits_, maxTOBhits_, mod(), myclock, nhits, out_, timingPdfMaker::outfile, outfilename_, overlapmap_, RecoTauValidation_cfi::posX, RecoTauValidation_cfi::posY, and treename_.

Referenced by o2olib.O2ORunMgr::executeJob().

Member Data Documentation

◆ ch_

TChain* TkAlCaSkimTreeMerger::ch_
private

Definition at line 35 of file TkAlCaSkimTreeMerger.cc.

Referenced by beginJob(), TkAlCaSkimTreeMerger(), and ~TkAlCaSkimTreeMerger().

◆ filelist_

std::string TkAlCaSkimTreeMerger::filelist_
private

Definition at line 36 of file TkAlCaSkimTreeMerger.cc.

Referenced by beginJob().

◆ firstfilename_

std::string TkAlCaSkimTreeMerger::firstfilename_
private

Definition at line 37 of file TkAlCaSkimTreeMerger.cc.

Referenced by beginJob(), and endJob().

◆ firsttree_

TTree* TkAlCaSkimTreeMerger::firsttree_
private

Definition at line 34 of file TkAlCaSkimTreeMerger.cc.

Referenced by endJob(), and TkAlCaSkimTreeMerger().

◆ hitmap_

DetHitMap TkAlCaSkimTreeMerger::hitmap_
private

Definition at line 43 of file TkAlCaSkimTreeMerger.cc.

Referenced by beginJob(), and endJob().

◆ maxhits_

int TkAlCaSkimTreeMerger::maxhits_
private

Definition at line 45 of file TkAlCaSkimTreeMerger.cc.

Referenced by endJob(), and TkAlCaSkimTreeMerger().

◆ maxhitsSet_

edm::ParameterSet TkAlCaSkimTreeMerger::maxhitsSet_
private

Definition at line 46 of file TkAlCaSkimTreeMerger.cc.

Referenced by TkAlCaSkimTreeMerger().

◆ maxPXBhits_

int TkAlCaSkimTreeMerger::maxPXBhits_
private

Definition at line 47 of file TkAlCaSkimTreeMerger.cc.

Referenced by endJob(), and TkAlCaSkimTreeMerger().

◆ maxPXFhits_

int TkAlCaSkimTreeMerger::maxPXFhits_
private

Definition at line 47 of file TkAlCaSkimTreeMerger.cc.

Referenced by endJob(), and TkAlCaSkimTreeMerger().

◆ maxTEChits_

int TkAlCaSkimTreeMerger::maxTEChits_
private

Definition at line 47 of file TkAlCaSkimTreeMerger.cc.

Referenced by endJob(), and TkAlCaSkimTreeMerger().

◆ maxTIBhits_

int TkAlCaSkimTreeMerger::maxTIBhits_
private

Definition at line 47 of file TkAlCaSkimTreeMerger.cc.

Referenced by endJob(), and TkAlCaSkimTreeMerger().

◆ maxTIDhits_

int TkAlCaSkimTreeMerger::maxTIDhits_
private

Definition at line 47 of file TkAlCaSkimTreeMerger.cc.

Referenced by endJob(), and TkAlCaSkimTreeMerger().

◆ maxTOBhits_

int TkAlCaSkimTreeMerger::maxTOBhits_
private

Definition at line 47 of file TkAlCaSkimTreeMerger.cc.

Referenced by endJob(), and TkAlCaSkimTreeMerger().

◆ myclock

TStopwatch TkAlCaSkimTreeMerger::myclock
private

Definition at line 49 of file TkAlCaSkimTreeMerger.cc.

Referenced by beginJob(), and endJob().

◆ out_

TTree* TkAlCaSkimTreeMerger::out_
private

Definition at line 33 of file TkAlCaSkimTreeMerger.cc.

Referenced by endJob(), and TkAlCaSkimTreeMerger().

◆ outfilename_

std::string TkAlCaSkimTreeMerger::outfilename_
private

Definition at line 39 of file TkAlCaSkimTreeMerger.cc.

Referenced by endJob().

◆ overlapmap_

DetHitMap TkAlCaSkimTreeMerger::overlapmap_
private

Definition at line 44 of file TkAlCaSkimTreeMerger.cc.

Referenced by beginJob(), and endJob().

◆ treename_

std::string TkAlCaSkimTreeMerger::treename_
private

Definition at line 38 of file TkAlCaSkimTreeMerger.cc.

Referenced by beginJob(), and endJob().

dqmMemoryStats.float
float
Definition: dqmMemoryStats.py:127
TkAlCaSkimTreeMerger::hitmap_
DetHitMap hitmap_
Definition: TkAlCaSkimTreeMerger.cc:43
TkAlCaSkimTreeMerger::maxhitsSet_
edm::ParameterSet maxhitsSet_
Definition: TkAlCaSkimTreeMerger.cc:46
TkAlCaSkimTreeMerger::firstfilename_
std::string firstfilename_
Definition: TkAlCaSkimTreeMerger.cc:37
mod
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
gather_cfg.cout
cout
Definition: gather_cfg.py:144
TkAlCaSkimTreeMerger::ch_
TChain * ch_
Definition: TkAlCaSkimTreeMerger.cc:35
TkAlCaSkimTreeMerger::maxTOBhits_
int maxTOBhits_
Definition: TkAlCaSkimTreeMerger.cc:47
TkAlCaSkimTreeMerger::firsttree_
TTree * firsttree_
Definition: TkAlCaSkimTreeMerger.cc:34
TkAlCaSkimTreeMerger::filelist_
std::string filelist_
Definition: TkAlCaSkimTreeMerger.cc:36
TkAlCaSkimTreeMerger::overlapmap_
DetHitMap overlapmap_
Definition: TkAlCaSkimTreeMerger.cc:44
TkAlCaSkimTreeMerger::maxTIDhits_
int maxTIDhits_
Definition: TkAlCaSkimTreeMerger.cc:47
corrVsCorr.filename
filename
Definition: corrVsCorr.py:123
RecoTauValidation_cfi.posX
posX
Definition: RecoTauValidation_cfi.py:288
nhits
Definition: HIMultiTrackSelector.h:42
first
auto first
Definition: CAHitNtupletGeneratorKernelsImpl.h:112
phase1PixelTopology::layer
constexpr std::array< uint8_t, layerIndexSize > layer
Definition: phase1PixelTopology.h:99
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:47
TkAlCaSkimTreeMerger::maxPXFhits_
int maxPXFhits_
Definition: TkAlCaSkimTreeMerger.cc:47
TkAlCaSkimTreeMerger::maxTIBhits_
int maxTIBhits_
Definition: TkAlCaSkimTreeMerger.cc:47
recoMuon::in
Definition: RecoMuonEnumerators.h:6
TkAlCaSkimTreeMerger::out_
TTree * out_
Definition: TkAlCaSkimTreeMerger.cc:33
TkAlCaSkimTreeMerger::outfilename_
std::string outfilename_
Definition: TkAlCaSkimTreeMerger.cc:39
TkAlCaSkimTreeMerger::treename_
std::string treename_
Definition: TkAlCaSkimTreeMerger.cc:38
TkAlCaSkimTreeMerger::maxTEChits_
int maxTEChits_
Definition: TkAlCaSkimTreeMerger.cc:47
TkAlCaSkimTreeMerger::maxPXBhits_
int maxPXBhits_
Definition: TkAlCaSkimTreeMerger.cc:47
TkAlCaSkimTreeMerger::myclock
TStopwatch myclock
Definition: TkAlCaSkimTreeMerger.cc:49
triggerObjects_cff.id
id
Definition: triggerObjects_cff.py:29
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
timingPdfMaker.outfile
outfile
Definition: timingPdfMaker.py:351
RecoTauValidation_cfi.posY
posY
Definition: RecoTauValidation_cfi.py:289
TkAlCaSkimTreeMerger::maxhits_
int maxhits_
Definition: TkAlCaSkimTreeMerger.cc:45