Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MyFavoriteMartin.C File Reference
#include <iostream>
#include <cmath>
#include <pmonitor.h>
#include "MyFavoriteMartin.h"
#include "groot.h"
#include "ATrace.h"
#include "AZigzag.h"
#include "FindBlobs.h"
#include "FillBlobHist.h"
#include "FillHoughHist.h"
#include "TH1.h"
#include "TH2.h"
#include "TH3.h"
#include "TNtuple.h"
#include "TFile.h"
#include "prdfoStream.h"
#include "Quiver.h"
#include "params.h"
#include <cstdlib>
#include <ctime>
#include <map>
+ Include dependency graph for MyFavoriteMartin.C:

Go to the source code of this file.

Functions

int pinit ()
 
int process_event (Event *e)
 
int prdfopen (const char *filename)
 
int prdfclose ()
 
int getFirstEventNr ()
 
void setFirstEventNr (const int nr)
 
int b2G (int num)
 

Variables

prdfoStreamos = 0
 
int init_done = 0
 
int first_event_nr = 0
 
TH1F * h1a
 
TH1F * h1b
 
TH1F * h1c
 
TH1F * h1d
 
TH1F * h2a
 
TH1F * h2b
 
TH1F * h2c
 
TH1F * h2d
 
TH1F * h3a
 
TH1F * h3b
 
TH1F * h3c
 
TH1F * h3d
 
TH1F * h4a
 
TH1F * h4b
 
TH1F * h4c
 
TH1F * h4d
 
TH1F * scope0
 
TH1F * scope1
 
TH1F * scope2
 
TH1F * scope3
 
TH1F * h1a_D
 
TH1F * h1b_D
 
TH1F * h1c_D
 
TH1F * h1d_D
 
TH1F * h2a_D
 
TH1F * h2b_D
 
TH1F * h2c_D
 
TH1F * h2d_D
 
TH1F * h3a_D
 
TH1F * h3b_D
 
TH1F * h3c_D
 
TH1F * h3d_D
 
TH1F * h4a_D
 
TH1F * h4b_D
 
TH1F * h4c_D
 
TH1F * h4d_D
 

Function Documentation

int b2G ( int  num)

Definition at line 464 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 464 of file MyFavoriteMartin.C

int getFirstEventNr ( )

Definition at line 459 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 459 of file MyFavoriteMartin.C

References first_event_nr.

int pinit ( )

Definition at line 81 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 81 of file MyFavoriteMartin.C

Referenced by pmonstate::pmonstate().

+ Here is the caller graph for this function:

int prdfclose ( )

Definition at line 444 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 444 of file MyFavoriteMartin.C

References os.

int prdfopen ( const char *  filename)

Definition at line 425 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 425 of file MyFavoriteMartin.C

References prdfoStream::is_defunct(), and os.

+ Here is the call graph for this function:

int process_event ( Event e)

Definition at line 141 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 141 of file MyFavoriteMartin.C

Referenced by pprocess(), and prun().

+ Here is the caller graph for this function:

void setFirstEventNr ( const int  nr)

Definition at line 461 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 461 of file MyFavoriteMartin.C

References first_event_nr.

Referenced by groot100().

+ Here is the caller graph for this function:

Variable Documentation

int first_event_nr = 0

Definition at line 33 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 33 of file MyFavoriteMartin.C

Referenced by getFirstEventNr(), process_event(), and setFirstEventNr().

TH1F* h1a

Definition at line 40 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 40 of file MyFavoriteMartin.C

Referenced by pinit(), and process_event().

TH1F* h1a_D

Definition at line 64 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 64 of file MyFavoriteMartin.C

Referenced by pinit(), and process_event().

TH1F* h1b

Definition at line 41 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 41 of file MyFavoriteMartin.C

Referenced by pinit(), process_event(), and pygfxx().

TH1F* h1b_D

Definition at line 65 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 65 of file MyFavoriteMartin.C

Referenced by pinit(), and process_event().

TH1F* h1c

Definition at line 42 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 42 of file MyFavoriteMartin.C

Referenced by pinit(), and process_event().

TH1F* h1c_D

Definition at line 66 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 66 of file MyFavoriteMartin.C

Referenced by pinit(), and process_event().

TH1F* h1d

Definition at line 43 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 43 of file MyFavoriteMartin.C

Referenced by pinit(), process_event(), OnlMonServer::registerCommonHisto(), Fun4AllHistoManager::registerHisto(), and OnlMonServer::registerHisto().

TH1F* h1d_D

Definition at line 67 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 67 of file MyFavoriteMartin.C

Referenced by pinit(), and process_event().

TH1F* h2a

Definition at line 45 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 45 of file MyFavoriteMartin.C

Referenced by ParticleShowerSizeHistoMaker(), pinit(), process_event(), and Surf3DHistoMaker().

TH1F* h2a_D

Definition at line 68 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 68 of file MyFavoriteMartin.C

Referenced by pinit(), and process_event().

TH1F* h2b

Definition at line 46 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 46 of file MyFavoriteMartin.C

Referenced by pinit(), process_event(), and pygfxx().

TH1F* h2b_D

Definition at line 69 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 69 of file MyFavoriteMartin.C

Referenced by pinit(), and process_event().

TH1F* h2c

Definition at line 47 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 47 of file MyFavoriteMartin.C

Referenced by pinit(), and process_event().

TH1F* h2c_D

Definition at line 70 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 70 of file MyFavoriteMartin.C

Referenced by pinit(), and process_event().

TH1F* h2d

Definition at line 48 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 48 of file MyFavoriteMartin.C

Referenced by pinit(), and process_event().

TH1F* h2d_D

Definition at line 71 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 71 of file MyFavoriteMartin.C

Referenced by pinit(), and process_event().

TH1F* h3a

Definition at line 50 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 50 of file MyFavoriteMartin.C

Referenced by pinit(), and process_event().

TH1F* h3a_D

Definition at line 72 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 72 of file MyFavoriteMartin.C

Referenced by pinit(), and process_event().

TH1F* h3b

Definition at line 51 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 51 of file MyFavoriteMartin.C

Referenced by pinit(), and process_event().

TH1F* h3b_D

Definition at line 73 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 73 of file MyFavoriteMartin.C

Referenced by pinit(), and process_event().

TH1F* h3c

Definition at line 52 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 52 of file MyFavoriteMartin.C

Referenced by pinit(), and process_event().

TH1F* h3c_D

Definition at line 74 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 74 of file MyFavoriteMartin.C

Referenced by pinit(), and process_event().

TH1F* h3d

Definition at line 53 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 53 of file MyFavoriteMartin.C

Referenced by pinit(), and process_event().

TH1F* h3d_D

Definition at line 75 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 75 of file MyFavoriteMartin.C

Referenced by pinit(), and process_event().

TH1F* h4a

Definition at line 55 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 55 of file MyFavoriteMartin.C

Referenced by pinit(), and process_event().

TH1F* h4a_D

Definition at line 76 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 76 of file MyFavoriteMartin.C

Referenced by pinit(), and process_event().

TH1F* h4b

Definition at line 56 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 56 of file MyFavoriteMartin.C

Referenced by pinit(), and process_event().

TH1F* h4b_D

Definition at line 77 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 77 of file MyFavoriteMartin.C

Referenced by pinit(), and process_event().

TH1F* h4c

Definition at line 57 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 57 of file MyFavoriteMartin.C

Referenced by pinit(), and process_event().

TH1F* h4c_D

Definition at line 78 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 78 of file MyFavoriteMartin.C

Referenced by pinit(), and process_event().

TH1F* h4d

Definition at line 58 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 58 of file MyFavoriteMartin.C

Referenced by pinit(), and process_event().

TH1F* h4d_D

Definition at line 79 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 79 of file MyFavoriteMartin.C

Referenced by pinit(), and process_event().

int init_done = 0

Definition at line 30 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 30 of file MyFavoriteMartin.C

Referenced by mg_mgr_init(), and pinit().

prdfoStream* os = 0

Definition at line 29 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 29 of file MyFavoriteMartin.C

Referenced by Acts::Python::addEventData(), Acts::Python::addFramework(), Acts::AssertionFailureException::AssertionFailureException(), Acts::Test::BOOST_AUTO_TEST_CASE(), ClassImp(), PHG4GDMLWriteStructure::ConvertToString(), daq_end_immediate(), daq_end_interactive(), daq_end_thread(), testing::internal::ExpectationBase::DescribeCallCountTo(), testing::internal::MatchesRegexMatcher::DescribeNegationTo(), testing::internal::MatchesRegexMatcher::DescribeTo(), Acts::Test::draw_surfaces(), Acts::Test::SurfaceArrayFixture::draw_surfaces(), testing::internal::TuplePrefix< N >::ExplainMatchFailuresTo(), testing::internal::TypedExpectation< F >::ExplainMatchResultTo(), Acts::Logging::NamedOutputDecorator::flush(), Acts::Logging::TimedOutputDecorator::flush(), Acts::Logging::ThreadOutputDecorator::flush(), Acts::Logging::LevelOutputDecorator::flush(), testing::internal::FunctionMockerBase< R(A1, A2)>::FormatUnexpectedCallMessageLocked(), Packet::fullIdentify(), G4Pythia6DecayerMessenger::G4Pythia6DecayerMessenger(), MinimumBiasInfo::identify(), CaloTriggerInfo::identify(), TowerBackground::identify(), SvtxTrackState::identify(), JetAlgo::identify(), MbdVertex::identify(), InttVertex::identify(), BbcVertex::identify(), sPHElectron::identify(), CentralityInfo::identify(), Eventplaneinfo::identify(), JetInput::identify(), PidInfo_RICH_v1::identify(), TrackInfoContainer::identify(), sPHElectronPair::identify(), sPHElectronPairv1::identify(), sPHElectronPairContainer::identify(), MbdVertexMap::identify(), SvtxVertexMap::identify(), InttVertexMap::identify(), BbcVertexMap::identify(), SvtxTrackMap::identify(), GlobalVertexMap::identify(), PHG4ScintillatorSlat::identify(), SvtxVertex::identify(), PHG4ParticleSvtxMap::identify(), SvtxAlignmentStateMap::identify(), SvtxPHG4ParticleMap::identify(), SvtxTrackCaloClusterMap::identify(), SvtxTrackInfo::identify(), TrackSeedContainer::identify(), Vertex::identify(), PHG4CylinderCell::identify(), TrackStateInfo::identify(), TrackSeed::identify(), SvtxAlignmentState::identify(), TrkrHitv1::identify(), FlagSave::identify(), EventplaneinfoMap::identify(), CMFlashDifference::identify(), CMFlashCluster::identify(), DecayFinderContainerBase::identify(), PHG4EventHeader::identify(), RawHit::identify(), TrkrHit::identify(), TPC_RawHit::identify(), RawHitTpc::identify(), RawHitv1::identify(), TrkrCluster::identify(), TrkrHitv2::identify(), PHG4Shower::identify(), TpcTpotEventInfo::identify(), TrackStateInfo_v1::identify(), PHG4GDMLConfig::identify(), TrkrTruthTrackContainer::identify(), GlobalVertex::identify(), ClusHitsVerbosev1::identify(), ClusHitsVerbose::identify(), SvtxTrack::identify(), EmbRecoMatchContainer::identify(), SvtxTrackInfo_v1::identify(), TrkrTruthTrack::identify(), EmbRecoMatchv1::identify(), PHG4CylinderGeom_Spacalv3::scint_id_coder::identify(), testing::internal::LogElementMatcherPairVec(), main(), testing::internal::ContainerEqMatcher< Container >::MatchAndExplain(), operator<<(), Acts::operator<<(), Acts::Test::operator<<(), ActsExamples::Options::operator<<(), Acts::Measurement< BoundIndices, 3 >::operator<<(), ActsExamples::operator<<(), testing::internal2::operator<<(), Acts::detail::operator<<(), Jetscape::operator<<(), ActsFatras::operator<<(), boost::operator<<(), PHG4GDMLWriteParamvol::ParametersWrite(), prdfclose(), prdfopen(), PHG4EtaParameterization::Print(), PHG4EtaPhiParameterization::Print(), PHTimer::print(), PHBBox::Print(), PHGenericFactoryT< AbstractProduct, FactoryErrorPolicy >::print(), JetContainer::print_jets(), PHTimer::print_stat(), testing::internal::ActionResultHolder< T >::PrintAsActionResult(), testing::internal::PrintAsStringLiteralTo(), testing::internal::PrintCharAndCodeTo(), Jetscape::PartonShower::PrintEdges(), Jetscape::PartonShower::PrintNodes(), testing::internal::PrintStringTo(), testing::internal::PrintTo(), planarity::run_on_biconnected(), Acts::Frustum< value_t, DIM, SIDES >::svg(), Acts::AxisAlignedBoundingBox< entity_t, value_t, DIM >::svg(), PHTimer::test(), Acts::InfiniteBounds::toStream(), Acts::Ray< value_t, DIM >::toStream(), Acts::ConstrainedStep::toStream(), Acts::AxisAlignedBoundingBox< entity_t, value_t, DIM >::toStream(), testing::internal::FunctionMockerBase< R(A1, A2)>::UntypedDescribeUninterestingCall(), ActsExamples::ObjSpacePointWriter< T >::writeT(), ActsExamples::JsonSpacePointWriter< T >::writeT(), and ActsExamples::ObjPropagationStepsWriter< step_t >::writeT().

TH1F* scope0

Definition at line 61 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 61 of file MyFavoriteMartin.C

Referenced by pinit(), and process_event().

TH1F * scope1

Definition at line 61 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 61 of file MyFavoriteMartin.C

Referenced by pinit(), and process_event().

TH1F * scope2

Definition at line 61 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 61 of file MyFavoriteMartin.C

Referenced by pinit(), and process_event().

TH1F * scope3

Definition at line 61 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 61 of file MyFavoriteMartin.C

Referenced by pinit(), and process_event().