ATLAS Offline Software
Loading...
Searching...
No Matches
TIDARoiDescriptorBuilder.h
Go to the documentation of this file.
1/* emacs: this is -*- c++ -*- */
10
11
12#ifndef TIDAUTILS_ROIDESCRIPTORBUILDER_H
13#define TIDAUTILS_ROIDESCRIPTORBUILDER_H
14
15#include <iostream>
16
19
20
21class TIDARoiDescriptorBuilder : public /*TrigInDetAnalysis::*/TIDARoiDescriptor {
22
23public:
24
27 r.eta(), r.etaMinus(), r.etaPlus(),
28 r.phi(), r.phiMinus(), r.phiPlus(),
29 r.zed(), r.zedMinus(), r.zedPlus() )
30 {
31
32 this->m_fullscan = r.isFullscan();
33
34 if ( r.size()>0 ) {
35 for ( unsigned i=0 ; i<r.size() ; i++ ) {
36 const IRoiDescriptor* _r = r.at(i);
37 this->push_back( TIDARoiDescriptor( _r->eta(), _r->etaMinus(), _r->etaPlus(),
38 _r->phi(), _r->phiMinus(), _r->phiPlus(),
39 _r->zed(), _r->zedMinus(), _r->zedPlus() ) );
40 }
41 }
42 }
43
45
46};
47
48// inline std::ostream& operator<<( std::ostream& s, const TIDARoiDescriptorBuilder& _r ) {
49// return s;
50// }
51
52
53#endif // TIDAUTILS_ROIDESCRIPTORBUILDER_H
54
55
56
57
58
59
60
61
62
63
Describes the API of the Region of Ineterest geometry.
TIDARoiDescriptorBuilder(const IRoiDescriptor &r)
unsigned roiWord() const
unsigned l1Id() const
double etaMinus() const
double zedPlus() const
TIDARoiDescriptor(bool fullscan=false)
default constructor
double etaPlus() const
double zedMinus() const
double phiPlus() const
unsigned roiId() const
identifier methods
double phiMinus() const
int r
Definition globals.cxx:22